aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorMike J. Chen <mjchen@sta.samsung.com>2010-09-14 16:12:16 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:45:54 -0800
commitaad3acef3d876bec541f74a28363ddde1c8190dc (patch)
tree3b62331760af67e9b5617c092ea424f1b59ea3cd /drivers/input/misc/Kconfig
parent1ca9422b1fbfced1d1345a1f109a2eff88226033 (diff)
downloadkernel_samsung_aries-aad3acef3d876bec541f74a28363ddde1c8190dc.zip
kernel_samsung_aries-aad3acef3d876bec541f74a28363ddde1c8190dc.tar.gz
kernel_samsung_aries-aad3acef3d876bec541f74a28363ddde1c8190dc.tar.bz2
S5PC11X: SENSOR: Add Sharp GP2A optical sensor driver
The IC provides both promixity and ambient light readings. The driver provides output to userland via the input frameowork. Change-Id: I40e1733d26e3fc035f73b47cb52d8750b4be8193 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index 6f4ad1a..1f8e6d5 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -494,4 +494,11 @@ config INPUT_XEN_KBDDEV_FRONTEND
To compile this driver as a module, choose M here: the
module will be called xen-kbdfront.
+config OPTICAL_GP2A
+ depends on I2C && GENERIC_GPIO
+ tristate "GP2A ambient light and proximity input device"
+ default n
+ help
+ This option enables proximity & light sensors using gp2a driver.
+
endif