diff options
author | Adriana Reus <adriana.reus@intel.com> | 2016-02-12 14:44:45 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-13 23:54:07 +0300 |
commit | fd64df16f40e367c393bf372fb67017301d701c2 (patch) | |
tree | 489cc8466452a86da107f7832e5b79b3b62c050b /drivers/iio/imu/inv_mpu6050/Kconfig | |
parent | b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe (diff) | |
download | linux-fd64df16f40e367c393bf372fb67017301d701c2.tar.xz |
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>
Diffstat (limited to 'drivers/iio/imu/inv_mpu6050/Kconfig')
-rw-r--r-- | drivers/iio/imu/inv_mpu6050/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig index b14df9a7540b..a7f557af4389 100644 --- a/drivers/iio/imu/inv_mpu6050/Kconfig +++ b/drivers/iio/imu/inv_mpu6050/Kconfig @@ -20,3 +20,14 @@ config INV_MPU6050_I2C It is a gyroscope/accelerometer combo device. This driver can be built as a module. The module will be called inv-mpu6050-i2c. + +config INV_MPU6050_SPI + tristate "Invensense MPU6050 devices (SPI)" + depends on SPI_MASTER + select INV_MPU6050_IIO + select REGMAP_SPI + help + This driver supports the Invensense MPU6050 devices. + It is a gyroscope/accelerometer combo device. + This driver can be built as a module. The module will be called + inv-mpu6050-spi. |