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)
commit685cc61b07c599a5d352cc63b21d6a4cbcebaed6
tree310d54b0907fe6c99c1247010495d5e3df4c4d37
parent02112260acca09b11f96450c58420ec9312ae6fc
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