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

From: Lukas Timmermann

Date: Sat Nov 28 2026 - 08:51:53 EST


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@timmermann.space>
To: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Andi Shyti <andi.shyti@xxxxxxxxxx>
To: Peter Griffin <peter.griffin@xxxxxxxxxx>
To: André Draszik <andre.draszik@xxxxxxxxxx>
To: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
To: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
Cc: linux-input@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-samsung-soc@xxxxxxxxxxxxxxx

---
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@timmermann.space>