aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authoranantha <anantha.narayanan@intel.com>2010-10-26 17:22:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 19:52:15 -0400
commit22d96aa59cf120db3584e4c3365554cae77d2441 (patch)
treec43dd27c61139ee599bfe34ccaa7b14382d74b8a /drivers/misc/Kconfig
parent8a233f01b7d7dd587f85fa581274f168f1e88bb8 (diff)
drivers/misc/apds9802als.c: ALS drivers for the apds9802als
This adds support for the ADPS9802ALS sensor. Cleanup by Alan Cox - move mutexes to cover more things - report I/O errors back to user space - report range and values in LUX Signed-off-by: Anantha Narayanan <anantha.narayanan@intel.com> [The 4K and 64K in the hw spec actually means 4095 (12bit) and 65535 (16bit).] Signed-off-by: Hong Liu <hong.liu@intel.com> [Updated to match the ALS light API interface convention from Samu] Signed-off-by: Alan Cox <alan@linux.intel.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> 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/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 477a9434b9c0..6d7665ce6f4a 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -285,6 +285,16 @@ config SGI_GRU_DEBUG
285 This option enables addition debugging code for the SGI GRU driver. If 285 This option enables addition debugging code for the SGI GRU driver. If
286 you are unsure, say N. 286 you are unsure, say N.
287 287
288config APDS9802ALS
289 tristate "Medfield Avago APDS9802 ALS Sensor module"
290 depends on I2C
291 help
292 If you say yes here you get support for the ALS APDS9802 ambient
293 light sensor.
294
295 This driver can also be built as a module. If so, the module
296 will be called apds9802als.
297
288config ISL29003 298config ISL29003
289 tristate "Intersil ISL29003 ambient light sensor" 299 tristate "Intersil ISL29003 ambient light sensor"
290 depends on I2C && SYSFS 300 depends on I2C && SYSFS