mbox series

[v1,0/2] Input: psmouse: Introduce PixArt driver

Message ID cover.1715224143.git.zhoubinbin@loongson.cn (mailing list archive)
Headers show
Series Input: psmouse: Introduce PixArt driver | expand

Message

Binbin Zhou May 15, 2024, 8:58 a.m. UTC
Hi all:

This patchset try to introduce the PixArt touchpad driver.

Unfortunately, due to the current design of the PixArt touchpad hardware
and FW, our single packet data width needs 11 bytes/15 bytes to receive
three-finger/four-finger data in absolute coordinate mode.

Obviously, it exceeds the design of the native driver, and we try to
extend the length of a single data packet to 16 bytes in patch(1/2).

I apologize that this radical change may not be the best way to go, and
I will try to rewrite this section if there are better suggestions.

Thanks.

Binbin Zhou (2):
  Input: psmouse - Expanding the psmouse packet array
  Input: Add driver for PixArt PS/2 touchpad

 drivers/input/mouse/Kconfig        |  12 ++
 drivers/input/mouse/Makefile       |   1 +
 drivers/input/mouse/pixart_ps2.c   | 294 +++++++++++++++++++++++++++++
 drivers/input/mouse/pixart_ps2.h   |  31 +++
 drivers/input/mouse/psmouse-base.c |  17 ++
 drivers/input/mouse/psmouse.h      |   3 +-
 6 files changed, 357 insertions(+), 1 deletion(-)
 create mode 100644 drivers/input/mouse/pixart_ps2.c
 create mode 100644 drivers/input/mouse/pixart_ps2.h