Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Daniel Baluta | 77c4ad2 | 2016-04-15 18:06:56 +0300 | [diff] [blame] | 2 | # |
| 3 | # BMI160 IMU driver |
| 4 | # |
| 5 | |
| 6 | config BMI160 |
| 7 | tristate |
| 8 | select IIO_BUFFER |
| 9 | select IIO_TRIGGERED_BUFFER |
| 10 | |
| 11 | config 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 | |
| 23 | config 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. |