diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-09-12 09:43:50 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-18 13:25:38 +0100 |
commit | 063e3303a93fcd64554730145361f102236724cb (patch) | |
tree | 21f0baff78adcc3a30f56f9e6ca510cf45bef245 /drivers/iio/accel/Kconfig | |
parent | 5620318828dce80748c0a8e5fa2775957cf28347 (diff) | |
download | blackbird-obmc-linux-063e3303a93fcd64554730145361f102236724cb.tar.gz blackbird-obmc-linux-063e3303a93fcd64554730145361f102236724cb.zip |
iio: accel: Add driver for the mCube MC3230 3-axis accelerometer
Add an IIO driver for the mCube MC3230 3-axis accelerometer.
A datasheet for the mCube MC3230 can be found here:
http://www.mcubemems.com/wp-content/uploads/2014/10/MC3230_2-Datasheet-APS-048-0007v1.6.pdf
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r-- | drivers/iio/accel/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index a8e9ed47bbb4..2b791fe1e2bc 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -161,6 +161,16 @@ config KXCJK1013 To compile this driver as a module, choose M here: the module will be called kxcjk-1013. +config MC3230 + tristate "mCube MC3230 Digital Accelerometer Driver" + depends on I2C + help + Say yes here to build support for the mCube MC3230 low-g tri-axial + digital accelerometer. + + To compile this driver as a module, choose M here: the + module will be called mc3230. + config MMA7455 tristate select IIO_BUFFER |