iio: Added Capella cm3232 ambient light sensor driver.
authorKevin Tsai <ktsai@capellamicro.com>
Fri, 16 Jan 2015 01:41:04 +0000 (17:41 -0800)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Jan 2015 18:49:48 +0000 (18:49 +0000)
commitb84894c7f088ed83d05292e35d3235ebf38a4465
treed68c4741685ad0b3701a000653581f9b8703e62c
parenta77945fd4f9af5298196345d89905d604d1fa884
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 <ktsai@capellamicro.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/i2c/trivial-devices.txt
MAINTAINERS
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/cm3232.c [new file with mode: 0644]