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