| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # inv-mpu6050 drivers for Invensense MPU devices and combos |
| 4 | # |
| 5 | |
| 6 | config INV_MPU6050_IIO |
| 7 | tristate |
| 8 | select IIO_BUFFER |
| 9 | select IIO_TRIGGERED_BUFFER |
| 10 | select IIO_INV_SENSORS_TIMESTAMP |
| 11 | |
| 12 | config INV_MPU6050_I2C |
| 13 | tristate "Invensense MPU6050 devices (I2C)" |
| 14 | depends on I2C |
| 15 | select I2C_MUX |
| 16 | select INV_MPU6050_IIO |
| 17 | select REGMAP_I2C |
| 18 | help |
| 19 | This driver supports the Invensense MPU6050/9150, |
| 20 | MPU6500/6515/6880/9250/9255, ICM20608(D)/20609/20689, ICM20600/20602/20690 |
| 21 | and IAM20680 motion tracking devices over I2C. |
| 22 | This driver can be built as a module. The module will be called |
| 23 | inv-mpu6050-i2c. |
| 24 | |
| 25 | config INV_MPU6050_SPI |
| 26 | tristate "Invensense MPU6050 devices (SPI)" |
| 27 | depends on SPI_MASTER |
| 28 | select INV_MPU6050_IIO |
| 29 | select REGMAP_SPI |
| 30 | help |
| 31 | This driver supports the Invensense MPU6000, |
| 32 | MPU6500/6515/6880/9250/9255, ICM20608(D)/20609/20689, ICM20600/20602/20690 |
| 33 | and IAM20680 motion tracking devices over SPI. |
| 34 | This driver can be built as a module. The module will be called |
| 35 | inv-mpu6050-spi. |