diff options
author | Tiberiu Breana <tiberiu.a.breana@intel.com> | 2015-05-18 14:49:50 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-23 12:57:11 +0100 |
commit | 884ca45613c47efe4b0b1238f6ee677d74fe3419 (patch) | |
tree | 32928517d840fc9a51859849dfaaebf68bbade6e /drivers/iio/accel/Kconfig | |
parent | 1250186a936a169a32f5101392deec18788877b9 (diff) |
iio: accel: Add support for Sensortek STK8BA50
Minimal implementation of an IIO driver for the Sensortek
STK8BA50 3-axis accelerometer. Datasheet:
http://szgsensor.com/uploads/soft/141229/STK8BA50%D2%E5%BC%CE.pdf
Includes:
- ACPI support;
- read_raw for x,y,z axes;
- reading and setting the scale (range) parameter.
- power management
Signed-off-by: Tiberiu Breana <tiberiu.a.breana@intel.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 8bd8ccbe8187..00e7bcbdbe24 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -147,4 +147,14 @@ config STK8312 Choosing M will build the driver as a module. If so, the module will be called stk8312. +config STK8BA50 + tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" + depends on I2C + help + Say yes here to get support for the Sensortek STK8BA50 3-axis + accelerometer. + + Choosing M will build the driver as a module. If so, the module + will be called stk8ba50. + endmenu |