]> git.karo-electronics.de Git - linux-beck.git/commit
iio: accel: Add support for Sensortek STK8BA50
authorTiberiu Breana <tiberiu.a.breana@intel.com>
Mon, 18 May 2015 11:49:50 +0000 (14:49 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 23 May 2015 11:57:11 +0000 (12:57 +0100)
commit884ca45613c47efe4b0b1238f6ee677d74fe3419
tree32928517d840fc9a51859849dfaaebf68bbade6e
parent1250186a936a169a32f5101392deec18788877b9
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>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/stk8ba50.c [new file with mode: 0644]