summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/Kconfig
diff options
context:
space:
mode:
authorTeodora Baluta <teodora.baluta@intel.com>2015-08-20 16:37:31 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-31 18:32:05 +0200
commit077377fc4f74899c58e946e47352216412d0bb3a (patch)
treea00dcc7a9ff50941275c55017da1a2fae7eae47a /drivers/iio/accel/Kconfig
parentiio: bmg160: Add SPI driver (diff)
downloadlinux-077377fc4f74899c58e946e47352216412d0bb3a.tar.xz
linux-077377fc4f74899c58e946e47352216412d0bb3a.zip
iio: accel: add support for mxc4005 accelerometer
This patch adds support for Memsic MXC4005XC 3-axis accelerometer. The current implementation is a minimal one as it adds raw readings for the three axes and setting scale from userspace. Signed-off-by: Teodora Baluta <teodora.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r--drivers/iio/accel/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index a59047d7657e..69302bed2860 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -137,6 +137,17 @@ config MMA9553
To compile this driver as a module, choose M here: the module
will be called mma9553.
+config MXC4005
+ tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
+ depends on I2C
+ select REGMAP_I2C
+ help
+ Say yes here to build support for the Memsic MXC4005XC 3-axis
+ accelerometer.
+
+ To compile this driver as a module, choose M. The module will be
+ called mxc4005.
+
config STK8312
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
depends on I2C