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