diff options
| author | Courtney Cavin <courtney.cavin@sonyericsson.com> | 2011-12-12 02:38:27 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-12 03:03:36 -0500 |
| commit | ff803ed4ddbbf9f4bbd439b5e23dc25a4e0cce7a (patch) | |
| tree | b5be9e01068ec08e491cb3f5579a46397e2dd389 /drivers/input/misc/Kconfig | |
| parent | aeec05171d45700d9e97fec485afea0f19bc2635 (diff) | |
Input: add driver for Sharp gp2ap002a00f proximity sensor
This driver adds support for Sharp's GP2AP002A00F proximity sensor. The
proximity is measured as a binary switch, i.e. an object is either
detected or not detected. Hence, this driver is implemented as a switch
that reports SW_FRONT_PROXIMITY.
Reviewed-by: Datta Shubhrajyoti <shubhrajyoti@ti.com>
Signed-off-by: Courtney Cavin <courtney.cavin@sonyericsson.com>
Signed-off-by: Oskar Andero <oskar.andero@sonyericsson.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/Kconfig')
| -rw-r--r-- | drivers/input/misc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index e53b443d1e33..7b46781c30c9 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig | |||
| @@ -179,6 +179,17 @@ config INPUT_APANEL | |||
| 179 | To compile this driver as a module, choose M here: the module will | 179 | To compile this driver as a module, choose M here: the module will |
| 180 | be called apanel. | 180 | be called apanel. |
| 181 | 181 | ||
| 182 | config INPUT_GP2A | ||
| 183 | tristate "Sharp GP2AP002A00F I2C Proximity/Opto sensor driver" | ||
| 184 | depends on I2C | ||
| 185 | depends on GENERIC_GPIO | ||
| 186 | help | ||
| 187 | Say Y here if you have a Sharp GP2AP002A00F proximity/als combo-chip | ||
| 188 | hooked to an I2C bus. | ||
| 189 | |||
| 190 | To compile this driver as a module, choose M here: the | ||
| 191 | module will be called gp2ap002a00f. | ||
| 192 | |||
| 182 | config INPUT_GPIO_TILT_POLLED | 193 | config INPUT_GPIO_TILT_POLLED |
| 183 | tristate "Polled GPIO tilt switch" | 194 | tristate "Polled GPIO tilt switch" |
| 184 | depends on GENERIC_GPIO | 195 | depends on GENERIC_GPIO |
