34 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# BMI160 IMU driver4#5 6config BMI1607 tristate8 select IIO_BUFFER9 select IIO_TRIGGERED_BUFFER10 11config BMI160_I2C12 tristate "Bosch BMI160 I2C driver"13 depends on I2C14 select BMI16015 select REGMAP_I2C16 help17 If you say yes here you get support for BMI160 IMU on I2C with18 accelerometer, gyroscope and external BMG160 magnetometer.19 20 This driver can also be built as a module. If so, the module will be21 called bmi160_i2c.22 23config BMI160_SPI24 tristate "Bosch BMI160 SPI driver"25 depends on SPI26 select BMI16027 select REGMAP_SPI28 help29 If you say yes here you get support for BMI160 IMU on SPI with30 accelerometer, gyroscope and external BMG160 magnetometer.31 32 This driver can also be built as a module. If so, the module will be33 called bmi160_spi.34