diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-10-08 14:34:25 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-11 19:39:14 +0100 |
commit | 598893e9cb64d9c74152db6174c4d7a6036a84e8 (patch) | |
tree | c67875e9060324182d20718332f3838ccc7c6df5 /drivers/iio/accel/Kconfig | |
parent | 569906e2032ebbdd56e820ba60368cd803234cec (diff) | |
download | linux-598893e9cb64d9c74152db6174c4d7a6036a84e8.tar.gz linux-598893e9cb64d9c74152db6174c4d7a6036a84e8.tar.bz2 linux-598893e9cb64d9c74152db6174c4d7a6036a84e8.zip |
iio: accel: Add driver for the MiraMEMS DA311 3-axis 12-bit digital accelerometer
This driver is based on the DA311 Android driver which can be found here:
https://git.matricom.net/Firmware/kernel_amlogic_meson-common/tree/1e70113a5befd07debb68f537156def84c5be57a/drivers/amlogic/input/sensor
the mir3da_* files are the DA311 driver.
Unfortunately there is no datasheet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Rob Herring <robh@kernel.org>
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 d59cfe7d4e5b..8945e70a797c 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -52,6 +52,16 @@ config BMC150_ACCEL_SPI tristate select REGMAP_SPI +config DA311 + tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver" + depends on I2C + help + Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit + digital accelerometer. + + To compile this driver as a module, choose M here: the + module will be called da311. + config DMARD06 tristate "Domintech DMARD06 Digital Accelerometer Driver" depends on OF || COMPILE_TEST |