From: Peter Meerwald Date: Sat, 14 Sep 2013 19:38:00 +0000 (+0100) Subject: iio: Add tcs3472 color light sensor driver X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~694^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb869ade30a645dd2fadd89453615585f235794e;p=pandora-kernel.git 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 Cc: Jon Brenner Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed