summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/Makefile
diff options
context:
space:
mode:
authorKevin Tsai <ktsai@capellamicro.com>2015-01-15 17:41:04 -0800
committerJonathan Cameron <jic23@kernel.org>2015-01-27 18:49:48 +0000
commitb84894c7f088ed83d05292e35d3235ebf38a4465 (patch)
treed68c4741685ad0b3701a000653581f9b8703e62c /drivers/iio/light/Makefile
parenta77945fd4f9af5298196345d89905d604d1fa884 (diff)
downloadblackbird-op-linux-b84894c7f088ed83d05292e35d3235ebf38a4465.tar.gz
blackbird-op-linux-b84894c7f088ed83d05292e35d3235ebf38a4465.zip
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/Makefile')
-rw-r--r--drivers/iio/light/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/Makefile b/drivers/iio/light/Makefile
index 74656c19a899..b12a5160d9e0 100644
--- a/drivers/iio/light/Makefile
+++ b/drivers/iio/light/Makefile
@@ -7,6 +7,7 @@ obj-$(CONFIG_ADJD_S311) += adjd_s311.o
obj-$(CONFIG_AL3320A) += al3320a.o
obj-$(CONFIG_APDS9300) += apds9300.o
obj-$(CONFIG_CM32181) += cm32181.o
+obj-$(CONFIG_CM3232) += cm3232.o
obj-$(CONFIG_CM36651) += cm36651.o
obj-$(CONFIG_GP2AP020A00F) += gp2ap020a00f.o
obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
OpenPOWER on IntegriCloud