iio: imu: inv_mpu6050: Add SPI support for MPU6000
authorAdriana Reus <adriana.reus@intel.com>
Fri, 12 Feb 2016 11:44:45 +0000 (13:44 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 13 Feb 2016 20:54:07 +0000 (20:54 +0000)
commitfd64df16f40e367c393bf372fb67017301d701c2
tree489cc8466452a86da107f7832e5b79b3b62c050b
parentb3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe
iio: imu: inv_mpu6050: Add SPI support for MPU6000

The only difference between the MPU6000 and the
MPU6050 is that the first also supports SPI.
Add SPI driver for this chip.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/Kconfig
drivers/iio/imu/inv_mpu6050/Makefile
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 [new file with mode: 0644]