input: cyapa: add gen3 trackpad device basic functions support
Subsystems (2)
PATCH v5 6/14 input: cyapa: add gen3 trackpad device basic functions support
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device.
TEST=test on Chromebooks.
Signed-off-by Dudley Du <[email protected]>
--- drivers/input/mouse/Makefile | 2 +- drivers/input/mouse/cyapa.c | 96 ++++- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen3.c | 783 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 880 insertions(+), 2 deletions(-) create mode 100644 drivers/input/mouse/cyapa_gen3.c
drivers/input/mouse/Makefile +1 -1
@@ -35,4 +35,4 @@ psmouse-$(CONFIG_MOUSE_PS2_TRACKPOINT) += trackpoint.o psmouse-$(CONFIG_MOUSE_PS2_TOUCHKIT) += touchkit_ps2.o psmouse-$(CONFIG_MOUSE_PS2_CYPRESS) += cypress_ps2.o -cyapatp-y := cyapa.o +cyapatp-y := cyapa.o cyapa_gen3.o
drivers/input/mouse/cyapa.c +95 -1
127 lines not on this page · raw message
drivers/input/mouse/cyapa.h +1 -0
@@ -298,5 +298,6 @@ u16 cyapa_pwr_cmd_to_sleep_time(u8 pwr_mode);extern const char unique_str[]; +extern const struct cyapa_dev_ops cyapa_gen3_ops;#endif
drivers/input/mouse/cyapa_gen3.c new file +783 -0
783 lines not on this page · raw message
Signature · 1 line
1.9.1