summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-08-17 10:30:16 -0700
committerJonathan Cameron <jic23@kernel.org>2015-08-31 16:23:09 +0100
commitaff268cd532e99ced3c8f48d01118912eb002bbf (patch)
treedcba00b981b6f7bf7ee875f486620a5b1ffc2c82 /drivers/iio/light/Kconfig
parent078d02cfdafdd06562286b2f222e6532f369eb27 (diff)
downloadlinux-aff268cd532e99ced3c8f48d01118912eb002bbf.tar.gz
linux-aff268cd532e99ced3c8f48d01118912eb002bbf.tar.bz2
linux-aff268cd532e99ced3c8f48d01118912eb002bbf.zip
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 7ed859a700c4..19b9a173fe61 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