]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: Add mpu9255 support to mpu6050 driver
authorDouglas Fischer <fischerdouglasc@gmail.com>
Mon, 2 Apr 2018 22:42:00 +0000 (18:42 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 18:07:38 +0000 (19:07 +0100)
commit4805323425f853e98cb1576f0c1b6b6c11810860
tree310d54b0907fe6c99c1247010495d5e3df4c4d37
parent235775f4c0e87eebf964028f7d9b23d0c09076b0
iio: imu: Add mpu9255 support to mpu6050 driver

Added support for the mpu9255 IMU to the mpu6050 driver. The
register map is the same as the other chips; the only driver
difference is the compatible string and the WHOAMI register
value.

Signed-off-by: Douglas Fischer <fischerdouglasc@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
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