iio: imu: mpu6050: Add support for the ICM 20602 IMU
authorRandolph Maaßen <gaireg@gaireg.de>
Mon, 28 Jan 2019 18:50:03 +0000 (19:50 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Feb 2019 09:52:21 +0000 (09:52 +0000)
commit22904bdff97839960bd98b3452a583b1daee628b
treedc2658bae7e79f6278211cfec85424d638065c05
parentd9f5c4e2374deefb2d3c07727a47c37727b8cbc1
iio: imu: mpu6050: Add support for the ICM 20602 IMU

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>
drivers/iio/imu/inv_mpu6050/Kconfig
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c