summaryrefslogtreecommitdiff
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2013-09-09 16:23:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-09-15 11:07:49 +0100
commitbf29fbeaa13d3350ca71df70c705d8b883c45692 (patch)
tree27eb56321c6cd7f94d04650e6d863dd2742671bb /drivers/iio/light/Kconfig
parent02fa18958ce065ccc23ad59cff736031d62e9950 (diff)
iio: gp2ap020a00f: Add a driver for the device
Add a new driver for the ambient light/proximity sensor device. The driver exposes three channels: light_clear light_ir and proximity. It also supports triggered buffer, high and low ambient light threshold event and proximity detection events. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r--drivers/iio/light/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index e73a1aba990d..0a25ae6b132e 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -27,6 +27,18 @@ config APDS9300
To compile this driver as a module, choose M here: the
module will be called apds9300.
+config GP2AP020A00F
+ tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
+ depends on I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ help
+ Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip
+ hooked to an I2C bus.
+
+ To compile this driver as a module, choose M here: the
+ module will be called gp2ap020a00f.
+
config HID_SENSOR_ALS
depends on HID_SENSOR_HUB
select IIO_BUFFER