summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Kconfig
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-03-14 21:11:41 +0200
committerJonathan Cameron <jic23@kernel.org>2015-03-15 11:43:02 +0000
commit8b0544263761adbc7308f6910cdcc0d601782cb1 (patch)
treedde3cd9caffcf8b2671c356ddfda172ecde9c9da /drivers/iio/light/Kconfig
parent40dbbfb5e49c9317a24111bb71151090e8ea95e8 (diff)
downloadlinux-8b0544263761adbc7308f6910cdcc0d601782cb1.tar.bz2
iio: light: Add support for Capella CM3323 color sensor
Minimal implementation providing raw light intensity and integration time attribute. Userspace applications can use GREEN channel for raw illuminance readings following this table: Integration Time | G Sensitivity ================================ 40 ms | 0.18 80 ms | 0.09 160 ms | 0.045 320 ms | 0.0225 640 ms | 0.01125 1280 ms | 0.005625 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/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index ae68c64bdad3..cd937d9293ff 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -59,6 +59,16 @@ config CM3232
To compile this driver as a module, choose M here:
the module will be called cm3232.
+config CM3323
+ depends on I2C
+ tristate "Capella CM3323 color light sensor"
+ help
+ Say Y here if you want to build a driver for Capela CM3323
+ color sensor.
+
+ To compile this driver as a module, choose M here: the module will
+ be called cm3323.
+
config CM36651
depends on I2C
tristate "CM36651 driver"