diff options
author | Kevin Tsai <ktsai@capellamicro.com> | 2015-01-15 17:41:04 -0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-01-27 18:49:48 +0000 |
commit | b84894c7f088ed83d05292e35d3235ebf38a4465 (patch) | |
tree | d68c4741685ad0b3701a000653581f9b8703e62c /drivers/iio/light/Kconfig | |
parent | a77945fd4f9af5298196345d89905d604d1fa884 (diff) | |
download | op-kernel-dev-b84894c7f088ed83d05292e35d3235ebf38a4465.zip op-kernel-dev-b84894c7f088ed83d05292e35d3235ebf38a4465.tar.gz |
iio: Added Capella cm3232 ambient light sensor driver.
CM3232 is an advanced ambient light sensor with I2C protocol interface.
The I2C slave address is internally hardwired as 0x10 (7-bit). Writing
to configure register is byte mode, but reading ALS register requests to
use word mode for 16-bit resolution.
Signed-off-by: Kevin Tsai <ktsai@capellamicro.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 5a3237b..ae68c64 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -48,6 +48,17 @@ config CM32181 To compile this driver as a module, choose M here: the module will be called cm32181. +config CM3232 + depends on I2C + tristate "CM3232 ambient light sensor" + help + Say Y here if you use cm3232. + This option enables ambient light sensor using + Capella Microsystems cm3232 device driver. + + To compile this driver as a module, choose M here: + the module will be called cm3232. + config CM36651 depends on I2C tristate "CM36651 driver" |