iio: add Capella CM32181 ambient light sensor driver.
authorKevin Tsai <ktsai@capellamicro.com>
Tue, 24 Dec 2013 01:53:00 +0000 (01:53 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 1 Jan 2014 12:03:32 +0000 (12:03 +0000)
commit971672c0b3ccd16ce53299f1ccac0253fc6d7bf6
tree7d902d60e69c24ca2b84ce566e7e0b88a7c08c90
parenta6e8e3a470bf96575eebfa9dbfda6e1ec8929fb8
iio: add Capella CM32181 ambient light sensor driver.

Add Capella Microsystem CM32181 Ambient Light Sensor IIO driver.
This driver will convert raw data to lux value under open-air
condition. Change the calibscale based on the cover material.

Signed-off-by: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/i2c/trivial-devices.txt
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/cm32181.c [new file with mode: 0644]