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