xref: /openbmc/linux/drivers/iio/imu/bmi160/Kconfig (revision 023e4163)
1#
2# BMI160 IMU driver
3#
4
5config BMI160
6	tristate
7	select IIO_BUFFER
8	select IIO_TRIGGERED_BUFFER
9
10config BMI160_I2C
11	tristate "Bosch BMI160 I2C driver"
12	depends on I2C
13	select BMI160
14	select REGMAP_I2C
15	help
16	  If you say yes here you get support for BMI160 IMU on I2C with
17	  accelerometer, gyroscope and external BMG160 magnetometer.
18
19	  This driver can also be built as a module. If so, the module will be
20	  called bmi160_i2c.
21
22config BMI160_SPI
23	tristate "Bosch BMI160 SPI driver"
24	depends on SPI
25	select BMI160
26	select REGMAP_SPI
27	help
28	  If you say yes here you get support for BMI160 IMU on SPI with
29	  accelerometer, gyroscope and external BMG160 magnetometer.
30
31	  This driver can also be built as a module. If so, the module will be
32	  called bmi160_spi.
33