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_MUX
14	select INV_MPU6050_IIO
15	select REGMAP_I2C
16	help
17	  This driver supports the Invensense MPU6050/6500/9150 and
18	  ICM20608/20602 motion tracking devices over I2C.
19	  This driver can be built as a module. The module will be called
20	  inv-mpu6050-i2c.
21
22config INV_MPU6050_SPI
23	tristate "Invensense MPU6050 devices (SPI)"
24	depends on SPI_MASTER
25	select INV_MPU6050_IIO
26	select REGMAP_SPI
27	help
28	  This driver supports the Invensense MPU6050/6500/9150 and
29	  ICM20608/20602 motion tracking devices over SPI.
30	  This driver can be built as a module. The module will be called
31	  inv-mpu6050-spi.
32