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/6500/6515,
19	  MPU9150/9250/9255 and ICM20608/20602 motion tracking devices
20	  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/6500/6515,
31	  MPU9250/9255 and ICM20608/20602 motion tracking devices
32	  over SPI.
33	  This driver can be built as a module. The module will be called
34	  inv-mpu6050-spi.
35