From: Kevin Tsai Date: Fri, 16 Jan 2015 01:41:04 +0000 (-0800) Subject: iio: Added Capella cm3232 ambient light sensor driver. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~82^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84894c7f088ed83d05292e35d3235ebf38a4465;p=pandora-kernel.git iio: Added Capella cm3232 ambient light sensor driver. CM3232 is an advanced ambient light sensor with I2C protocol interface. The I2C slave address is internally hardwired as 0x10 (7-bit). Writing to configure register is byte mode, but reading ALS register requests to use word mode for 16-bit resolution. Signed-off-by: Kevin Tsai Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed