summaryrefslogtreecommitdiff
path: root/drivers/iio/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-05-21 16:18:06 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 08:12:29 +0400
commit9c8ea1b29bc9c9bbd922a652d1b91ddceeb180c6 (patch)
tree3f975a88fd580bd3adb563e12344008de5544f1a /drivers/iio/Kconfig
parent2979460d7aba1dac3452edcacd7b8c4cfcf06067 (diff)
downloadlinux-9c8ea1b29bc9c9bbd922a652d1b91ddceeb180c6.tar.xz
iio: add LM3533 ambient-light-sensor driver
Add sub-driver for the ambient-light-sensor interface on National Semiconductor / TI LM3533 lighting power chips. The sensor interface can be used to control the LEDs and backlights of the chip through defining five light zones and three sets of corresponding output-current values. The driver provides raw and mean adc readings along with the current light zone through sysfs. A threshold event can be generated on zone changes. The ALS-control output values can be set per zone for the three current output channels. Signed-off-by: Johan Hovold <jhovold@gmail.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/Kconfig')
-rw-r--r--drivers/iio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index 56eecefcec75..cacc74d70241 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -50,5 +50,6 @@ config IIO_CONSUMERS_PER_TRIGGER
source "drivers/iio/adc/Kconfig"
source "drivers/iio/amplifiers/Kconfig"
+source "drivers/iio/light/Kconfig"
endif # IIO