]> git.karo-electronics.de Git - linux-beck.git/commit
iio: light: Add support for Sensortek STK3310
authorTiberiu Breana <tiberiu.a.breana@intel.com>
Mon, 27 Apr 2015 15:34:00 +0000 (18:34 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 May 2015 19:31:42 +0000 (20:31 +0100)
commitbe9e6229d67696f94c2f2331a2e207beff9bfc7f
tree0e81a41e2e1457548eacb75d55c8afb115d319c9
parent5ccca155675a5a2d491257a441306dd8547695c2
iio: light: Add support for Sensortek STK3310

Minimal implementation of an IIO driver for the Sensortek
STK3310 ambient light and proximity sensor. The STK3311
model is also supported.

Includes:
- ACPI support;
- read_raw and write_raw;
- reading and setting configuration parameters for gain/scale
  and integration time for both ALS and PS.
- power management

Signed-off-by: Tiberiu Breana <tiberiu.a.breana@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/stk3310.c [new file with mode: 0644]