diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2015-07-02 17:27:58 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-20 18:41:21 +0100 |
commit | 94a9b7b1809f56cfaa080e70ec49b6979563a237 (patch) | |
tree | d64591e2c1ebca2e5c4e49a46a1d036dad9bb3f4 /drivers/iio/light/Kconfig | |
parent | 081d974031bafb204d64de3e82f398daf1d0b899 (diff) | |
download | linux-94a9b7b1809f56cfaa080e70ec49b6979563a237.tar.bz2 |
iio: light: add support for TI's opt3001 light sensor
TI's opt3001 light sensor is a simple and yet powerful
little device. The device provides 99% IR rejection,
automatic full-scale, very low power consumption and
measurements from 0.01 to 83k lux.
This patch adds support for that device using the IIO
framework.
See http://www.ti.com/product/opt3001 for more information.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index 730fa80c83ea..5c0854a7e3e0 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -209,6 +209,16 @@ config LTR501 This driver can also be built as a module. If so, the module will be called ltr501. +config OPT3001 + tristate "Texas Instruments OPT3001 Light Sensor" + depends on I2C + help + If you say Y or M here, you get support for Texas Instruments + OPT3001 Ambient Light Sensor. + + If built as a dynamically linked module, it will be called + opt3001. + config STK3310 tristate "STK3310 ALS and proximity sensor" depends on I2C |