All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v10 0/4] Add support for the Cypress cyttsp5
@ 2022-10-26 11:49 ` Alistair Francis
  0 siblings, 0 replies; 24+ messages in thread
From: Alistair Francis @ 2022-10-26 11:49 UTC (permalink / raw)
  To: devicetree, linux-kernel, linux-arm-kernel, linux-input
  Cc: krzysztof.kozlowski+dt, linus.walleij, robh+dt, dmitry.torokhov,
	shawnguo, rydberg, alistair23, s.hauer, andreas,
	Alistair Francis

This patch series builds on top of [1] and adds support for the cyttsp5
touchscreen controller for the reMarkable 2.

I first tried to add an I2C HID device. Although the cyttsp5 has some HID
looking aspects it is not HID compatible. Just in trying to probe the device
I found:
 - The HID descriptor has extra padding
 - The HID descriptor sets the high bytes of the descriptor length
 - The HID descriptor has extra unrecognised tags
 - The HID reset command doesn't appear to work

I don't think there is a way to use the I2C HID framework with the cyttsp5.
For anyone interested you can see the work here [2]. In that branch though I
can only obtain a HID descriptor, nothing else works without more core
changes.

So instead I rebased the series from [1]. Converted to the new yaml DTS
documentation, added regulator support and fixed a x/y miscalculation bug.

1: https://lwn.net/ml/linux-kernel/20180703094309.18514-1-mylene.josserand@bootlin.com/
2: https://github.com/alistair23/linux/commits/rM2-mainline-cyttsp5-hid

v10:
 - Fix device tree binding errors
 - Add commit message about defcofig cahnges
v9:
 - Fixup kernel robot failures
v8:
 - Rebase and resend
v7:
 - Fix device tree warnings
v6:
 - Use reg for the button properties
v5:
 - Address review comments from v4

Alistair Francis (4):
  Input: Add driver for Cypress Generation 5 touchscreen
  dt-bindings: input: Add Cypress TT21000 touchscreen controller
  ARM: imx_v6_v7_defconfig: Enable the cyttsp5 touchscreen
  ARM: dts: imx7d-remarkable2: Enable the cyttsp5

 .../input/touchscreen/cypress,tt21000.yaml    | 106 ++
 arch/arm/boot/dts/imx7d-remarkable2.dts       | 100 ++
 arch/arm/configs/imx_v6_v7_defconfig          |   1 +
 drivers/input/touchscreen/Kconfig             |  16 +
 drivers/input/touchscreen/Makefile            |   1 +
 drivers/input/touchscreen/cyttsp5.c           | 902 ++++++++++++++++++
 6 files changed, 1126 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml
 create mode 100644 drivers/input/touchscreen/cyttsp5.c

-- 
2.37.3


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-09-25 11:06 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 11:49 [PATCH v10 0/4] Add support for the Cypress cyttsp5 Alistair Francis
2022-10-26 11:49 ` Alistair Francis
2022-10-26 11:49 ` [PATCH v10 1/4] Input: Add driver for Cypress Generation 5 touchscreen Alistair Francis
2022-10-26 11:49   ` Alistair Francis
2022-10-31 23:52   ` Dmitry Torokhov
2022-10-31 23:52     ` Dmitry Torokhov
2023-09-25 11:05   ` James Hilliard
2023-09-25 11:05     ` James Hilliard
2022-10-26 11:49 ` [PATCH v10 2/4] dt-bindings: input: Add Cypress TT21000 touchscreen controller Alistair Francis
2022-10-26 11:49   ` Alistair Francis
2022-10-31 23:49   ` Dmitry Torokhov
2022-10-31 23:49     ` Dmitry Torokhov
2022-11-01 11:50     ` Rob Herring
2022-11-01 11:50       ` Rob Herring
2022-11-01 15:00       ` Dmitry Torokhov
2022-11-01 15:00         ` Dmitry Torokhov
2022-10-26 11:49 ` [PATCH v10 3/4] ARM: imx_v6_v7_defconfig: Enable the cyttsp5 touchscreen Alistair Francis
2022-10-26 11:49   ` Alistair Francis
2022-11-10  7:18   ` Shawn Guo
2022-11-10  7:18     ` Shawn Guo
2022-10-26 11:49 ` [PATCH v10 4/4] ARM: dts: imx7d-remarkable2: Enable the cyttsp5 Alistair Francis
2022-10-26 11:49   ` Alistair Francis
2022-11-11  2:29   ` Shawn Guo
2022-11-11  2:29     ` Shawn Guo

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.