]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00139383-2 Add ISL29023 light sensor support
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 22 Feb 2011 09:11:30 +0000 (17:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:32:44 +0000 (08:32 +0200)
commit66b05284c0b1c6d1fc11070a938938c33b8de33b
tree407f57468d29cdc238c1feccd5789c9b059e5ae3
parenta69659932673ea3e8caed628c0aa6573b6ce462d
ENGR00139383-2 Add ISL29023 light sensor support

This patch adds ISL29023 light sensor support.
Users may control the light sensor work at
different modes/ranges/resolutions or read
the lux value via sysfs.
A power state node is also created in sysfs.
If the light sensor works at ALS once mode,
users need to power down/power up the sensor
before read the lux value again.
Currently, IR(Infra Red) mode is not supported.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/isl29023.c [new file with mode: 0755]