iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors
authorGwendal Grignou <gwendal@chromium.org>
Mon, 30 Jan 2017 17:07:53 +0000 (18:07 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 4 Feb 2017 12:29:52 +0000 (12:29 +0000)
commit48458b0c196c6d6224aac5e1178a561e89011724
tree11132a68f51b605414c5a9d094495e9c774b2d12
parent1bf707675fb84ad02dae751a14110c17a2736a81
iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

Handle Light and Proximity sensors presented by the ChromeOS EC Sensor hub.
Creates an IIO device for each functions.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/cros_ec_light_prox.c [new file with mode: 0644]