forked from Minki/linux
22904bdff9
The Invensense ICM-20602 is a 6-axis MotionTracking device that combines a 3-axis gyroscope and an 3-axis accelerometer. It is very similar to the ICM-20608 imu which is already supported by the mpu6050 driver. The main difference is that the ICM-20602 has the i2c bus disable bit in a separate register. Signed-off-by: Randolph Maaßen <gaireg@gaireg.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
31 lines
825 B
Plaintext
31 lines
825 B
Plaintext
#
|
|
# inv-mpu6050 drivers for Invensense MPU devices and combos
|
|
#
|
|
|
|
config INV_MPU6050_IIO
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
config INV_MPU6050_I2C
|
|
tristate "Invensense MPU6050 devices (I2C)"
|
|
depends on I2C_MUX
|
|
select INV_MPU6050_IIO
|
|
select REGMAP_I2C
|
|
help
|
|
This driver supports the Invensense MPU6050/6500/9150 and
|
|
ICM20608/20602 motion tracking devices over I2C.
|
|
This driver can be built as a module. The module will be called
|
|
inv-mpu6050-i2c.
|
|
|
|
config INV_MPU6050_SPI
|
|
tristate "Invensense MPU6050 devices (SPI)"
|
|
depends on SPI_MASTER
|
|
select INV_MPU6050_IIO
|
|
select REGMAP_SPI
|
|
help
|
|
This driver supports the Invensense MPU6050/6500/9150 and
|
|
ICM20608/20602 motion tracking devices over SPI.
|
|
This driver can be built as a module. The module will be called
|
|
inv-mpu6050-spi.
|