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>
This commit is contained in:
Kevin Tsai 2013-12-24 01:53:00 +00:00 • committed by Jonathan Cameron
commit 971672c0b3
4 changed files with 392 additions and 0 deletions