commit | b84894c7f088ed83d05292e35d3235ebf38a4465 | [log] [tgz] |
---|---|---|
author | Kevin Tsai <ktsai@capellamicro.com> | Thu Jan 15 17:41:04 2015 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Jan 27 18:49:48 2015 +0000 |
tree | d68c4741685ad0b3701a000653581f9b8703e62c | |
parent | a77945fd4f9af5298196345d89905d604d1fa884 [diff] |
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>