This series splits this driver into general and I2C/SPI specific functionality. The first patch is a fix for a bug in the interrupt pin configuration. The second patch changes all the I2C specific calls into regmap calls. The third patch separated the remaining I2C specific part into a different component. Finally the fourth patch adds SPI support for the MPU6000 chip. Only changes for this one are the driver name changes. Tested-by: Michael Welling <mwelling@xxxxxxxx> Adriana Reus (4): iio: imu: inv-mpu6050: Fix interrupt pin configuration iio: imu: inv_mpu6050: Use regmap instead of i2c specific functions iio: imu: inv_mpu6050: Separate driver into core and i2c functionality. iio: imu: inv_mpu6050: Add SPI support for MPU6000 drivers/iio/imu/inv_mpu6050/Kconfig | 22 ++- drivers/iio/imu/inv_mpu6050/Makefile | 8 +- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 18 +- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 258 ++++++-------------------- drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 206 ++++++++++++++++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 19 +- drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c | 35 ++-- drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 97 ++++++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c | 10 +- 9 files changed, 430 insertions(+), 243 deletions(-) create mode 100644 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c create mode 100644 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html