Input: add driver for Sharp gp2ap002a00f proximity sensor
authorCourtney Cavin <courtney.cavin@sonyericsson.com>
Mon, 12 Dec 2011 07:38:27 +0000 (23:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:03:36 +0000 (00:03 -0800)
commitff803ed4ddbbf9f4bbd439b5e23dc25a4e0cce7a
treeb5be9e01068ec08e491cb3f5579a46397e2dd389
parentaeec05171d45700d9e97fec485afea0f19bc2635
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>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/gp2ap002a00f.c [new file with mode: 0644]
include/linux/input/gp2ap002a00f.h [new file with mode: 0644]