diff options
author | Tiberiu Breana <tiberiu.a.breana@intel.com> | 2015-04-27 18:34:00 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-10 20:31:42 +0100 |
commit | be9e6229d67696f94c2f2331a2e207beff9bfc7f (patch) | |
tree | 0e81a41e2e1457548eacb75d55c8afb115d319c9 /drivers/iio/light/Kconfig | |
parent | 5ccca155675a5a2d491257a441306dd8547695c2 (diff) | |
download | op-kernel-dev-be9e6229d67696f94c2f2331a2e207beff9bfc7f.zip op-kernel-dev-be9e6229d67696f94c2f2331a2e207beff9bfc7f.tar.gz |
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>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index a437bad..3d7bafa 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -175,6 +175,17 @@ config LTR501 This driver can also be built as a module. If so, the module will be called ltr501. +config STK3310 + tristate "STK3310 ALS and proximity sensor" + depends on I2C + help + Say yes here to get support for the Sensortek STK3310 ambient light + and proximity sensor. The STK3311 model is also supported by this + driver. + + Choosing M will build the driver as a module. If so, the module + will be called stk3310. + config TCS3414 tristate "TAOS TCS3414 digital color sensor" depends on I2C |