From: sashiko-bot@kernel.org
To: "Marco Mattiolo" <marco.mattiolo@runbox.com>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH 1/5] dt-bindings: input: touchscreen: samsung,s6sy761: Introduce reset and mode-switch GPIOs
Date: Fri, 04 Dec 2026 22:20:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-250746@kernel.org> (raw)
In-Reply-To: <20261204-crosshatch_touchscreen-v1-1-9f76ff10eab1@runbox.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: samsung,s6sy761: board I2C bus switch modeled in
slave binding
--
commit e01649d8dd942787fd1b897cbaadc40016274910
Author: Marco Mattiolo <marco.mattiolo@runbox.com>
dt-bindings: input: touchscreen: samsung,s6sy761: Introduce reset and mode-switch GPIOs
This commit adds optional reset-gpios and mode-switch-gpios properties to
the Samsung S6SY761 touchscreen Devicetree binding.
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml b/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml
> index 1ffd17af3c53f..6f9af51d8461b 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml
> @@ -25,6 +25,16 @@ properties:
> avdd-supply: true
> vdd-supply: true
>
> + reset-gpios:
> + description: Reset GPIO (active-low)
> + maxItems: 1
> +
> + mode-switch-gpios:
> + description:
> + Selects the I2C bus master on boards that share the touch bus between
> + the AP and the SLPI sensor DSP. Asserted gives the bus to the AP.
> + maxItems: 1
[Severity: Medium]
Should mode-switch-gpios be part of the Samsung S6SY761 client binding? An
I2C slave touchscreen controller does not have a pin that selects its own
external bus master; physically this GPIO drives a board-level switch
between the AP and SLPI I2C controllers.
Adding it here creates permanent DT ABI for external board hardware and
forces every touchscreen binding behind this switch to duplicate a non-chip
pin (as in st,stmfts.yaml for Pixel 3), while hiding bus topology, settle
timing, and SLPI arbitration from the I2C core.
Could this bus switch be modeled at the I2C bus or board level instead, for
example via i2c-mux-gpio.yaml, i2c-arb-gpio-challenge.yaml, or a gpio-hog
if Linux statically owns the bus?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-crosshatch_touchscreen-v1-0-9f76ff10eab1@runbox.com?part=1
next prev parent reply other threads:[~2026-12-04 22:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 22:13 [PATCH 0/5] Introduce Samsung S6SY761 (Google Pixel 3 XL) touchscreen Marco Mattiolo via B4 Relay
2026-12-04 22:13 ` [PATCH 1/5] dt-bindings: input: touchscreen: samsung,s6sy761: Introduce reset and mode-switch GPIOs Marco Mattiolo via B4 Relay
2026-12-04 22:20 ` sashiko-bot [this message]
2026-12-04 22:13 ` [PATCH 2/5] Input: s6sy761 - Add optional reset GPIO support Marco Mattiolo via B4 Relay
2026-12-04 22:26 ` sashiko-bot
2026-12-04 22:13 ` [PATCH 3/5] Input: s6sy761 - Add mode-switch support Marco Mattiolo via B4 Relay
2026-12-04 22:25 ` sashiko-bot
2026-12-04 22:13 ` [PATCH 4/5] arm64: dts: qcom: sdm845-google: Group touchscreen pins, add mode-switch pin Marco Mattiolo via B4 Relay
2026-12-04 22:21 ` sashiko-bot
2026-12-04 22:32 ` David Heidelberg
2026-12-04 22:13 ` [PATCH 5/5] arm64: dts: qcom: sdm845-google-crosshatch: Add touchscreen support Marco Mattiolo via B4 Relay
2026-12-04 22:22 ` sashiko-bot
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=sashiko-outbox-250746@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=marco.mattiolo@runbox.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox