Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
21 lines
699 B
Plaintext
21 lines
699 B
Plaintext
|
|
config MTK_AUTO_DETECT_ACCELGYRO
|
|
bool "MTK AUTO DETECT ACCELEGYRO Sensor"
|
|
depends on MTK_SENSOR_SUPPORT
|
|
help
|
|
one load to support different accelerometer and gyro sensor.
|
|
If this option is set, multiple accelerometer and gyro driver
|
|
can be configured at the same time, but only one
|
|
can be probed.
|
|
|
|
config CUSTOM_KERNEL_ACCELGYRO
|
|
bool "MTK_BMI160_ACCELGYRO_SPI for MediaTek package"
|
|
default n
|
|
help
|
|
The BMI160 is a highly integrated,
|
|
low power internal measurement unit
|
|
that provides precise acceleration
|
|
and angular rate (gyroscopic) measurement.
|
|
this config will turn on accelerometer feature.
|
|
|
|
source "drivers/misc/mediatek/sensors-1.0/accelgyro/bmi160-spi/Kconfig" |