Re: [PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-12 Thread Daniel Baluta
On Wed, Jan 7, 2015 at 12:09 AM, Kevin Tsai wrote: > 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

Re: [PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-12 Thread Daniel Baluta
On Wed, Jan 7, 2015 at 12:09 AM, Kevin Tsai kt...@capellamicro.com wrote: 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

[PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-06 Thread Kevin Tsai
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. v2: Removed unused CM3232_CMD_ALS_HS.

[PATCH V2 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-06 Thread Kevin Tsai
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. v2: Removed unused CM3232_CMD_ALS_HS.