Skip to contentSkip to conversation

input: cyapa: add gen3 trackpad device basic functions support

PATCH In review Dudley Du 1 participant 1 message Aug 29, 2014

Subsystems (2)
lore
Share & tools
lore

Dudley Du

author
#0 lore raw

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.

---
 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
index 8608eb7..63b42e0 100644
@@ -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
index b61a71b..0b8d023 100644
@@ -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