aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2013-09-14 15:38:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-09-14 16:44:29 -0400
commiteb869ade30a645dd2fadd89453615585f235794e (patch)
tree358bc4bc506b09cb505815e2cf53e51cb03b3e3a /drivers/iio/light/Kconfig
parentea01f2c18a22a2a8385909d64662afc92da6b13f (diff)
iio: Add tcs3472 color light sensor driver
chip has four 16-bit channels for red, green, blue, clear color intensity; driver supports the TCS3x7x family of devices and was tested with a TCS34725 chip; further information here: http://www.ams.com/eng/Products/Light-Sensors/Color-Sensor/TCS34725 v2 (thanks to Jonathan Cameron): * drop dynamic buffer allocation, buffer is in tcs3472_data * limit sysfs output to PAGE_SIZE * check val2 == 0 when writing CALIBSCALE Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Jon Brenner <jon.brenner@ams.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
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 488fff7cd80d..e73a1aba990d 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -55,6 +55,16 @@ config SENSORS_LM3533
55 changes. The ALS-control output values can be set per zone for the 55 changes. The ALS-control output values can be set per zone for the
56 three current output channels. 56 three current output channels.
57 57
58config TCS3472
59 tristate "TAOS TCS3472 color light-to-digital converter"
60 depends on I2C
61 help
62 If you say yes here you get support for the TAOS TCS3472
63 family of color light-to-digital converters with IR filter.
64
65 This driver can also be built as a module. If so, the module
66 will be called tcs3472.
67
58config SENSORS_TSL2563 68config SENSORS_TSL2563
59 tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" 69 tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
60 depends on I2C 70 depends on I2C