summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>2017-11-06 00:24:59 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-12-02 10:39:48 +0000
commit8556f5149819239a9dbcbc8d61b496a51f0c66a3 (patch)
tree8187a8b3077d79001ecd746bb54a3a2fdf715469 /drivers/iio/light/Kconfig
parent9d793c1a7f25d75d5947022368dfcfa9f75d4412 (diff)
downloadlinux-8556f5149819239a9dbcbc8d61b496a51f0c66a3.tar.gz
linux-8556f5149819239a9dbcbc8d61b496a51f0c66a3.tar.bz2
linux-8556f5149819239a9dbcbc8d61b496a51f0c66a3.zip
iio: light: Add driver for IDT ZOPT2201 ambient light and UVB sensor
Driver for 20-bit ALS and UV B sensor with I2C interface exposing the following API: in_uvindex_input in_illuminance_raw in_illuminance_scale in_illuminance_scale_available in_intensity_uv_raw in_intensity_uv_scale in_intensity_uv_scale_available integration_time integration_time_available Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r--drivers/iio/light/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 2356ed9285df..6a5835fab32e 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -425,4 +425,14 @@ config VL6180
To compile this driver as a module, choose M here: the
module will be called vl6180.
+config ZOPT2201
+ tristate "ZOPT2201 ALS and UV B sensor"
+ depends on I2C
+ help
+ Say Y here if you want to build a driver for the IDT
+ ZOPT2201 ambient light and UV B sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called zopt2201.
+
endmenu