summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/inv_mpu6050/Kconfig
diff options
context:
space:
mode:
authorAdriana Reus <adriana.reus@intel.com>2016-02-12 13:44:44 +0200
committerJonathan Cameron <jic23@kernel.org>2016-02-13 20:54:00 +0000
commitb3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe (patch)
tree32ab2ddc5f95be730faf3a050211baee78849059 /drivers/iio/imu/inv_mpu6050/Kconfig
parentd430f3c36ca6e71f30c00757f5d43ca83b890ff4 (diff)
downloadlinux-b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe.tar.gz
linux-b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe.tar.bz2
linux-b3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe.zip
iio: imu: inv_mpu6050: Separate driver into core and i2c functionality.
Separate this driver into core and i2c functionality. This is in preparation for adding spi support. 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/Kconfig10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/Kconfig b/drivers/iio/imu/inv_mpu6050/Kconfig
index f301f3a73ffa..b14df9a7540b 100644
--- a/drivers/iio/imu/inv_mpu6050/Kconfig
+++ b/drivers/iio/imu/inv_mpu6050/Kconfig
@@ -3,10 +3,14 @@
#
config INV_MPU6050_IIO
- tristate "Invensense MPU6050 devices"
- depends on I2C && SYSFS
+ tristate
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
+
+config INV_MPU6050_I2C
+ tristate "Invensense MPU6050 devices (I2C)"
+ depends on I2C
+ select INV_MPU6050_IIO
select I2C_MUX
select REGMAP_I2C
help
@@ -15,4 +19,4 @@ config INV_MPU6050_IIO
and also in MPU6500 mode with some limitations.
It is a gyroscope/accelerometer combo device.
This driver can be built as a module. The module will be called
- inv-mpu6050.
+ inv-mpu6050-i2c.