diff options
author | Tiberiu Breana <tiberiu.a.breana@intel.com> | 2015-04-27 17:34:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-10 21:31:42 +0200 |
commit | be9e6229d67696f94c2f2331a2e207beff9bfc7f (patch) | |
tree | 0e81a41e2e1457548eacb75d55c8afb115d319c9 /drivers/iio/light/Kconfig | |
parent | Merge tag 'iio-for-v4.2a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji... (diff) | |
download | linux-be9e6229d67696f94c2f2331a2e207beff9bfc7f.tar.xz linux-be9e6229d67696f94c2f2331a2e207beff9bfc7f.zip |
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 a437bad46686..3d7bafa6a0e3 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 |