OpenCloudOS-Kernel/drivers/iio/light
Peter Meerwald eb869ade30 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>
2013-09-14 21:44:29 +01:00
..
Kconfig iio: Add tcs3472 color light sensor driver 2013-09-14 21:44:29 +01:00
Makefile iio: Add tcs3472 color light sensor driver 2013-09-14 21:44:29 +01:00
adjd_s311.c iio: adjd_s311: Use INT_TIME channel info 2013-09-14 21:17:01 +01:00
apds9300.c iio: add APDS9300 ambilent light sensor driver 2013-08-03 18:40:37 +01:00
hid-sensor-als.c iio: Remove unnecessary _write_raw_get_fmt() in several hid-sensor drivers 2013-08-19 20:01:25 +01:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
tcs3472.c iio: Add tcs3472 color light sensor driver 2013-09-14 21:44:29 +01:00
tsl2563.c iio: light: tsl2563: Use devm_* APIs 2013-08-03 18:55:51 +01:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio:vcnl4000: Use devm_iio_device_alloc 2013-08-03 22:18:03 +01:00