summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/Kconfig
diff options
context:
space:
mode:
authorTeodora Baluta <teodora.baluta@intel.com>2015-10-22 15:44:50 +0300
committerJonathan Cameron <jic23@kernel.org>2015-10-25 11:49:54 +0000
commit75b6548f1793c7a79a8b063cd575df9c04dcc122 (patch)
tree860a64d955cd4b83f2a1f5e46f57fa58e58b6099 /drivers/iio/accel/Kconfig
parentd2a3e0931a8f3b95b910096d022ffd98adbd075c (diff)
downloadblackbird-obmc-linux-75b6548f1793c7a79a8b063cd575df9c04dcc122.tar.gz
blackbird-obmc-linux-75b6548f1793c7a79a8b063cd575df9c04dcc122.zip
iio: accel: add support for Memsic MXC6255XC sensor
This patch adds a minimal implementation for the Memsic MXC6255XC orientation sensing accelerometer. The supported operations are reading raw acceleration values for X/Y axis that can be scaled using the exposed scale. 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 969428dd6329..75ac08790bc5 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -158,6 +158,17 @@ config MXC4005
To compile this driver as a module, choose M. The module will be
called mxc4005.
+config MXC6255
+ tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
+ depends on I2C
+ select REGMAP_I2C
+ help
+ Say yes here to build support for the Memsic MXC6255 Orientation
+ Sensing Accelerometer Driver.
+
+ To compile this driver as a module, choose M here: the module will be
+ called mxc6255.
+
config STK8312
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
depends on I2C
OpenPOWER on IntegriCloud