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>
Showing
- drivers/input/misc/Kconfig 11 additions, 0 deletionsdrivers/input/misc/Kconfig
- drivers/input/misc/Makefile 2 additions, 1 deletiondrivers/input/misc/Makefile
- drivers/input/misc/gp2ap002a00f.c 299 additions, 0 deletionsdrivers/input/misc/gp2ap002a00f.c
- include/linux/input/gp2ap002a00f.h 22 additions, 0 deletionsinclude/linux/input/gp2ap002a00f.h
Loading
Please register or sign in to comment