diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2015-07-03 00:27:58 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-20 19:41:21 +0200 |
commit | 94a9b7b1809f56cfaa080e70ec49b6979563a237 (patch) | |
tree | d64591e2c1ebca2e5c4e49a46a1d036dad9bb3f4 /drivers/iio/light/Kconfig | |
parent | iio: dht11: Use new function ktime_get_resolution_ns() (diff) | |
download | linux-94a9b7b1809f56cfaa080e70ec49b6979563a237.tar.xz linux-94a9b7b1809f56cfaa080e70ec49b6979563a237.zip |
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 |