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)
33 lines
765 B
Plaintext
33 lines
765 B
Plaintext
#
|
|
# BMI160 IMU driver
|
|
#
|
|
|
|
config BMI160
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config BMI160_I2C
|
|
tristate "Bosch BMI160 I2C driver"
|
|
depends on I2C
|
|
select BMI160
|
|
select REGMAP_I2C
|
|
help
|
|
If you say yes here you get support for BMI160 IMU on I2C with
|
|
accelerometer, gyroscope and external BMG160 magnetometer.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi160_i2c.
|
|
|
|
config BMI160_SPI
|
|
tristate "Bosch BMI160 SPI driver"
|
|
depends on SPI
|
|
select BMI160
|
|
select REGMAP_SPI
|
|
help
|
|
If you say yes here you get support for BMI160 IMU on SPI with
|
|
accelerometer, gyroscope and external BMG160 magnetometer.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called bmi160_spi.
|