[PATCH 0/5] iio: inv_mpu6050: Cleanup chip types and add mpu9150

From: Crestez Dan Leonard
Date: Wed Apr 20 2016 - 09:15:34 EST


This adds support for mpu9150 explictly. This device includes a MPU60X0 and
AK8975 inside the same package. It also cleans the chip_type <=> hw_info
mappings which were just a mess.

Crestez Dan Leonard (5):
iio: inv_mpu6050: Cleanup hw_info mapping
iio: inv_mpu6050: Remove inv_mpu6050_hw.num_reg
iio: inv_mpu6050: Check WHO_AM_I register on probe
iio: inv_mpu6050: Add spi_device_id for INV_MPU6500
iio: inv_mpu6050: Add explicit support for MPU9150

drivers/iio/imu/inv_mpu6050/Kconfig | 10 ++++----
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 37 +++++++++++++++++++++++++++---
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 3 ++-
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 12 ++++++++--
drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 20 ++++++++++++----
5 files changed, 66 insertions(+), 16 deletions(-)

--
2.5.5