Input: penmount: Add serial device bus support and dependency.
Subsystems (2)
PATCH v2 1/1 Input: penmount: Add serial device bus support and dependency.
Currently the penmount touchscreen driver registers as a serio driver, which seems not supporting device tree binding. This patch tries to support both serio and serdev in a single module. For this purpose, the module implements module_init and module_exit instead of using module_serio_driver. The module is also modified to share input codes for both serio and serdev.
Signed-off-by John Sung <[email protected]>
Reported-by kernel test robot <[email protected]>
--- drivers/input/touchscreen/Kconfig | 3 + drivers/input/touchscreen/penmount.c | 311 +++++++++++++++++++++------ 2 files changed, 254 insertions(+), 60 deletions(-)
drivers/input/touchscreen/Kconfig +3 -0
@@ -720,6 +720,9 @@ config TOUCHSCREEN_HTCPEN config TOUCHSCREEN_PENMOUNT tristate "Penmount serial touchscreen" select SERIO + select SERIO_SERPORT + depends on TTY + depends on SERIAL_DEV_BUS help Say Y here if you have a Penmount serial touchscreen connected to your system.
drivers/input/touchscreen/penmount.c +251 -60
444 lines not on this page · raw message
Signature · 1 line
2.25.1