diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2014-10-09 07:57:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-09-10 20:25:56 +0100 |
commit | f007d7f1431ca9bc184782e704a7da460385d335 (patch) | |
tree | 6ce851c2317d5828bb80be7813bef11eceda53b9 /drivers/iio/light/Kconfig | |
parent | af14afd2abef9e01761ec6eb79dd7c0833a243f0 (diff) | |
download | blackbird-op-linux-f007d7f1431ca9bc184782e704a7da460385d335.tar.gz blackbird-op-linux-f007d7f1431ca9bc184782e704a7da460385d335.zip |
iio: Add Dyna-Image AL3320A ambient light sensor driver
Minimal implementation. This driver provides raw illuminance readings.
This is based on drivers/hwmon/al3320.c (*) driver from msm tree written
by Tsechih Lin <Tsechih_Lin@asus.com>
* https://android.googlesource.com/kernel/msm.git
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/Kconfig')
-rw-r--r-- | drivers/iio/light/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index bf05ca5b0a57..5bea821adcae 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -17,6 +17,16 @@ config ADJD_S311 This driver can also be built as a module. If so, the module will be called adjd_s311. +config AL3320A + tristate "AL3320A ambient light sensor" + depends on I2C + help + Say Y here if you want to build a driver for the Dyna Image AL3320A + ambient light sensor. + + To compile this driver as a module, choose M here: the + module will be called al3320a. + config APDS9300 tristate "APDS9300 ambient light sensor" depends on I2C |