diff options
author | Kalhan Trisal <kalhan.trisal@intel.com> | 2010-10-26 17:22:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 19:52:15 -0400 |
commit | 2e85c4ddd3f32d3e1da51f4129473399e505ffa3 (patch) | |
tree | 309e11ed73bca83507388edcd1c903453f9d48e0 /drivers/misc/Kconfig | |
parent | 93e2f585c149b5056d5c5eaffcaf747bbe9c3015 (diff) |
drivers/misc/isl29020.c: ambient light sensor
The LS driver will read the latest Lux measurement based upon the light
brightness and will report the LUX output through sysfs interface.
This hardware isn't quite the same as the ISL29003 so has a different
driver.
[akpm@linux-foundation.org: put PM code under #ifdef CONFIG_PM]
Signed-off-by: Kalhan Trisal <kalhan.trisal@intel.com>
[Runtime power management support added]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
[Fixes to runtime PM]
Signed-off-by: Liu Hong <hong.liu@intel.com>
[Cleanups and added checks for I2C errors, reworked the API to match the
saner one agreed for other sensors]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 7362851a2ca8..477a9434b9c0 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -295,6 +295,16 @@ config ISL29003 | |||
295 | This driver can also be built as a module. If so, the module | 295 | This driver can also be built as a module. If so, the module |
296 | will be called isl29003. | 296 | will be called isl29003. |
297 | 297 | ||
298 | config ISL29020 | ||
299 | tristate "Intersil ISL29020 ambient light sensor" | ||
300 | depends on I2C | ||
301 | help | ||
302 | If you say yes here you get support for the Intersil ISL29020 | ||
303 | ambient light sensor. | ||
304 | |||
305 | This driver can also be built as a module. If so, the module | ||
306 | will be called isl29020. | ||
307 | |||
298 | config SENSORS_TSL2550 | 308 | config SENSORS_TSL2550 |
299 | tristate "Taos TSL2550 ambient light sensor" | 309 | tristate "Taos TSL2550 ambient light sensor" |
300 | depends on I2C && SYSFS | 310 | depends on I2C && SYSFS |