diff options
author | Crestez Dan Leonard | 2016-04-18 16:31:53 +0200 |
---|---|---|
committer | Jonathan Cameron | 2016-04-24 11:06:55 +0200 |
commit | b9567e6664643eb99367fb88d14fdba863b1688a (patch) | |
tree | f478f8c9e57bb6f60857a3595a841e3110285eba /drivers/iio/light/Kconfig | |
parent | iio: humidity: Add triggered buffer support for AM2315 (diff) | |
download | kernel-qcow2-linux-b9567e6664643eb99367fb88d14fdba863b1688a.tar.gz kernel-qcow2-linux-b9567e6664643eb99367fb88d14fdba863b1688a.tar.xz kernel-qcow2-linux-b9567e6664643eb99367fb88d14fdba863b1688a.zip |
max44000: Initial support
This just adds support for reporting illuminance with default settings.
Important default registers are written on probe because the device
otherwise lacks a reset function.
Signed-off-by: Crestez Dan Leonard <leonard.crestez@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 cbd723236e38..7c566f516572 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -234,6 +234,17 @@ config LTR501 This driver can also be built as a module. If so, the module will be called ltr501. +config MAX44000 + tristate "MAX44000 Ambient and Infrared Proximity Sensor" + depends on I2C + select REGMAP_I2C + help + Say Y here if you want to build support for Maxim Integrated's + MAX44000 ambient and infrared proximity sensor device. + + To compile this driver as a module, choose M here: + the module will be called max44000. + config OPT3001 tristate "Texas Instruments OPT3001 Light Sensor" depends on I2C |