All of lore.kernel.org
 help / color / mirror / Atom feed
From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Huacai Chen <chenhuacai@kernel.org>,
	loongson-kernel@lists.loongnix.cn, linux-input@vger.kernel.org,
	Xiaotian Wu <wuxiaotian@loongson.cn>,
	Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v1 0/2] Input: psmouse: Introduce PixArt driver
Date: Wed, 15 May 2024 16:58:55 +0800	[thread overview]
Message-ID: <cover.1715224143.git.zhoubinbin@loongson.cn> (raw)

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

-- 
2.43.0


             reply	other threads:[~2024-05-15  8:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15  8:58 Binbin Zhou [this message]
2024-05-15  8:58 ` [PATCH v1 1/2] Input: psmouse - Expanding the psmouse packet array Binbin Zhou
2024-05-22 19:30   ` Dmitry Torokhov
2024-06-18  2:27     ` Binbin Zhou
2024-05-15  8:58 ` [PATCH v1 2/2] Input: Add driver for PixArt PS/2 touchpad Binbin Zhou
2024-05-22 19:58   ` Dmitry Torokhov
2024-06-18  2:28     ` Binbin Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1715224143.git.zhoubinbin@loongson.cn \
    --to=zhoubinbin@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=loongson-kernel@lists.loongnix.cn \
    --cc=wuxiaotian@loongson.cn \
    --cc=zhoubb.aaron@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.