iio: add APDS9300 ambilent light sensor driver
authorOleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Mon, 22 Jul 2013 13:11:00 +0000 (14:11 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:37 +0000 (18:40 +0100)
commit03eff7b60dc3e5d2539a5f9685a9fb9a530e01e8
tree314faee3cfbc7d3ea74a038de224ee7216b82eb5
parente6faed19c20571a413e8ddeab4d4ea1825b8e633
iio: add APDS9300 ambilent light sensor driver

This patch adds IIO driver for APDS9300 ambient light sensor (ALS).
http://www.avagotech.com/docs/AV02-1077EN

The driver allows to read raw data from ADC registers or calculate
lux value. It also can handle threshold interrupt.

Signed-off-by: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/light/apds9300.txt [new file with mode: 0644]
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/apds9300.c [new file with mode: 0644]