[PATCH v2 0/7] Input: s6sy761 - add SPI support for the S6SY791

Lukas Timmermann foss at timmermann.space
Sat Nov 28 05:51:27 PST 2026


This series adds SPI support to S6SY761 touch controllers, specifically
S6SY791 devices. Also included are the necessary adjustments in the DTS
for the Google Pixel 6 Pro (raven) which uses the aforementioned SPI
version. As the mentioned board has a reset line wired, I also added that
functionality to the bindings and driver. To implement SPI versions
cleanly, the driver was split into core and bus transfer modules like
seen in other drivers.

This series was successfully tested with a Google Pixel 6 Pro. The I2C
transfer part was untested because I don't have a device with an
S6SY761 controller.

Known issue: on gs101 the touchscreen probe at boot fails with -EIO
because the very first SPI transfer is not understood by the controller
(the reply is all zeros); rebinding the driver works. This looks like
spi-s3c64xx applying CPOL/CPHA only in transfer_one(), after chip
select has been asserted, but I have not verified this further. It is
not addressed by this series.

Patches 1-4 and 7 are meant for the input tree, patches 5-6 for the
Samsung SoC tree. The DTS patches depend on the binding in patch 1.

---
Changes in v2:
- Reworked dt-bindings to require properties for SPI variants
- Fixed I²C variants having SPI properties allowed
- Don't wait for devices without reset gpio to come out of reset
  anymore
- Remove includes of linux/mod_devicetable.h
- Cleaned up array initialization around of_ids
- Link to v1: https://patch.msgid.link/20261011-lat3st-google-raven-touch-upstream-v1-0-2a9f55159b9e@timmermann.space

To: Lukas Timmermann <foss at timmermann.space>
To: Dmitry Torokhov <dmitry.torokhov at gmail.com>
To: Rob Herring <robh at kernel.org>
To: Krzysztof Kozlowski <krzk+dt at kernel.org>
To: Conor Dooley <conor+dt at kernel.org>
To: Andi Shyti <andi.shyti at kernel.org>
To: Peter Griffin <peter.griffin at linaro.org>
To: André Draszik <andre.draszik at linaro.org>
To: Tudor Ambarus <tudor.ambarus at linaro.org>
To: Alim Akhtar <alim.akhtar at samsung.com>
Cc: linux-input at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-samsung-soc at vger.kernel.org

---
Lukas Timmermann (7):
      dt-bindings: input: touchscreen: samsung,s6sy761: Add S6SY791 and reset GPIO
      Input: s6sy761 - split into core and I2C modules
      Input: s6sy761 - add reset GPIO support
      Input: s6sy761 - add SPI support for S6SY791
      arm64: dts: exynos: gs101-pixel-common: add labels for touchscreen supplies
      arm64: dts: exynos: gs101-raven: add S6SY791 touchscreen
      MAINTAINERS: add entry for Samsung S6SY761 touchscreen driver

 .../input/touchscreen/samsung,s6sy761.yaml         |  51 ++++-
 MAINTAINERS                                        |   7 +
 .../boot/dts/exynos/google/gs101-pixel-common.dtsi |   4 +-
 arch/arm64/boot/dts/exynos/google/gs101-raven.dts  |  50 +++++
 drivers/input/touchscreen/Kconfig                  |  20 +-
 drivers/input/touchscreen/Makefile                 |   4 +-
 .../touchscreen/{s6sy761.c => s6sy761_core.c}      | 228 ++++++++++-----------
 drivers/input/touchscreen/s6sy761_core.h           |  34 +++
 drivers/input/touchscreen/s6sy761_i2c.c            | 111 ++++++++++
 drivers/input/touchscreen/s6sy761_spi.c            | 171 ++++++++++++++++
 10 files changed, 548 insertions(+), 132 deletions(-)
---
base-commit: 56beabeaf17aaf9acc6afc6d6d21ea28d8f67797
change-id: 20261011-lat3st-google-raven-touch-upstream-f19acd121f2c

Best regards,
--  
Lukas Timmermann <foss at timmermann.space>




More information about the linux-arm-kernel mailing list