^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # BMI160 IMU driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config BMI160
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select IIO_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select IIO_TRIGGERED_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) config BMI160_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) tristate "Bosch BMI160 I2C driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) select BMI160
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select REGMAP_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) If you say yes here you get support for BMI160 IMU on I2C with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) accelerometer, gyroscope and external BMG160 magnetometer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) This driver can also be built as a module. If so, the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) called bmi160_i2c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) config BMI160_SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) tristate "Bosch BMI160 SPI driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) depends on SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) select BMI160
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select REGMAP_SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) If you say yes here you get support for BMI160 IMU on SPI with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) accelerometer, gyroscope and external BMG160 magnetometer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) This driver can also be built as a module. If so, the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) called bmi160_spi.