diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2015-06-17 12:42:51 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-21 15:14:54 +0100 |
commit | efa86e9fa82eaeee76903f131bc326af48a7cbcf (patch) | |
tree | b6529d6ff28b5ac7a2bb2e24980a4c2f2953e850 /drivers/iio/light/Kconfig | |
parent | da8ef4e77d9dfe91d69033cfa05d9f3036fb8dfd (diff) | |
download | linux-efa86e9fa82eaeee76903f131bc326af48a7cbcf.tar.bz2 |
iio: light: Add support for ROHM RPR0521 sensor
This patch adds support for ROHM RPR0521 ambient light and proximity
sensor. It offers raw readings for intensity and proximity.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index 554f8ee6d64a..730fa80c83ea 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -168,6 +168,17 @@ config JSA1212 To compile this driver as a module, choose M here: the module will be called jsa1212. +config RPR0521 + tristate "ROHM RPR0521 ALS and proximity sensor driver" + depends on I2C + select REGMAP_I2C + help + Say Y here if you want to build support for ROHM's RPR0521 + ambient light and proximity sensor device. + + To compile this driver as a module, choose M here: + the module will be called rpr0521. + config SENSORS_LM3533 tristate "LM3533 ambient light sensor" depends on MFD_LM3533 |