Touch screen driver for the SuperH MigoR board
Subsystems (2)
PATCH 7/7 Touch screen driver for the SuperH MigoR board
From: Magnus Damm <[email protected]>
This is a MigoR touch screen driver. The chip we interface to is unfortunately a custom designed microcontroller speaking some undocumented protocol over i2c.
The board specific code is expected to register this device as an i2c chip using struct i2c_board_info [] and i2c_register_board_info().
[[email protected]: coding-style fixes]
Signed-off-by Magnus Damm <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Paul Mundt <[email protected]>
Cc Mark Brown <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile | 1 drivers/input/touchscreen/migor_ts.c | 213 +++++++++++++++++++++++++ 3 files changed, 226 insertions(+)
drivers/input/touchscreen/Kconfig renamed from drivers/input/touchscreen/Kconfig~touch-screen-driver-for-the-superh-migor-board +12 -0
@@ -147,6 +147,18 @@ config TOUCHSCREEN_HP7XX To compile this driver as a module, choose M here: the module will be called jornada720_ts. +config TOUCHSCREEN_MIGOR + tristate "Renesas MIGO-R touchscreen" + depends on SH_MIGOR + default n + help + Say Y here to enable MIGO-R touchscreen support. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called migor_ts. + config TOUCHSCREEN_PENMOUNT tristate "Penmount serial touchscreen" select SERIO
drivers/input/touchscreen/Makefile renamed from drivers/input/touchscreen/Makefile~touch-screen-driver-for-the-superh-migor-board +1 -0
@@ -22,6 +22,7 @@ obj-$(CONFIG_TOUCHSCREEN_PENMOUNT) += pe obj-$(CONFIG_TOUCHSCREEN_TOUCHRIGHT) += touchright.o obj-$(CONFIG_TOUCHSCREEN_TOUCHWIN) += touchwin.o obj-$(CONFIG_TOUCHSCREEN_UCB1400) += ucb1400_ts.o +obj-$(CONFIG_TOUCHSCREEN_MIGOR) += migor_ts.o obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o
drivers/input/touchscreen/migor_ts.c new file +213 -0
213 lines not on this page · raw message
_