summaryrefslogtreecommitdiff
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-08-17 17:30:16 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-08-31 15:23:09 (GMT)
commitaff268cd532e99ced3c8f48d01118912eb002bbf (patch)
treedcba00b981b6f7bf7ee875f486620a5b1ffc2c82 /drivers/iio/light/Kconfig
parent078d02cfdafdd06562286b2f222e6532f369eb27 (diff)
downloadlinux-aff268cd532e99ced3c8f48d01118912eb002bbf.tar.xz
iio: light: add APDS9960 ALS + promixity driver
APDS9960 is a combination of ALS, proximity, and gesture sensors. This patch adds support for these functions along with gain control, integration time, and event thresholds. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r--drivers/iio/light/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 7ed859a..19b9a17 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -50,6 +50,19 @@ config APDS9300
To compile this driver as a module, choose M here: the
module will be called apds9300.
+config APDS9960
+ tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
+ select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_KFIFO_BUF
+ depends on I2C
+ help
+ Say Y here to build I2C interface support for the Avago
+ APDS9960 gesture/RGB/ALS/proximity sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called apds9960
+
config BH1750
tristate "ROHM BH1750 ambient light sensor"
depends on I2C