mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>