aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/light/Kconfig
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@verdurent.com>2009-11-09 15:14:28 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:19 -0800
commitee1f1fa4071416b130fd0771d1f26ea3f41e1fc3 (patch)
treed99055300b4b7aa812256396262de67ab0e0bc8d /drivers/staging/iio/light/Kconfig
parent51bf00aef02d410bf74afb31ec2d5dbcedb1a52f (diff)
downloadkernel_samsung_smdk4412-ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3.zip
kernel_samsung_smdk4412-ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3.tar.gz
kernel_samsung_smdk4412-ee1f1fa4071416b130fd0771d1f26ea3f41e1fc3.tar.bz2
Staging: iio: tsl2563 ambient light sensor driver
Add driver support for the tsl2563 TAOS ambient light sensor. After looking at discussions on LKML, the driver was modified from a 'hwmon' driver to an 'iio' driver. The sysfs interfaces have been tested on an RX51 (N900) to see if it responds to changing light conditions. The only real reason for submitting this to staging is that it is dependent on the IIO subsystem. Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com> Cc: Jonathan Cameron <jic23@cam.ac.uk> Cc: linux-omap@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/light/Kconfig')
-rw-r--r--drivers/staging/iio/light/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/iio/light/Kconfig b/drivers/staging/iio/light/Kconfig
index 12af0c4..cf0d0d6 100644
--- a/drivers/staging/iio/light/Kconfig
+++ b/drivers/staging/iio/light/Kconfig
@@ -11,3 +11,14 @@ config TSL2561
convertor. This chip has two light sensors. One is broadband
including infrared whilst the other measures only infrared.
Provides direct access via sysfs.
+
+config SENSORS_TSL2563
+ tristate "TAOS TSL2563 ambient light sensor"
+ depends on I2C
+ help
+ If you say yes here you get support for the Taos TSL2563
+ ambient light sensor (found in N900).
+
+ This driver can also be built as a module. If so, the module
+ will be called tsl2563.
+