From 884ca45613c47efe4b0b1238f6ee677d74fe3419 Mon Sep 17 00:00:00 2001 From: Tiberiu Breana Date: Mon, 18 May 2015 14:49:50 +0300 Subject: 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 Signed-off-by: Jonathan Cameron --- drivers/iio/accel/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/iio/accel/Kconfig') 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 -- cgit v1.2.3