Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: "Rob Herring (Arm)" <robh@kernel.org>,
	conor+dt@kernel.org, linux-input@vger.kernel.org,
	devicetree@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH] dt-bindings: input: syna,rmi4: Allow incell supply
Date: Tue, 22 Sep 2026 18:59:35 +0100	[thread overview]
Message-ID: <20260922-ebook-clumsy-2134d11c98f4@spud> (raw)
In-Reply-To: <20260921233407.17EF71F00893@smtp.kernel.org>

[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]

On Mon, Sep 21, 2026 at 11:34:06PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] dt-bindings: legitimize OS-specific fw_devlink hack in hardware schema
> --
> 
> commit 18108c1337c210aa2101238d8a2bf5d5648f3f22
> Author: Rob Herring (Arm) <robh@kernel.org>
> 
> dt-bindings: input: syna,rmi4: Allow incell supply
> 
> This commit adds the incell-supply property to the Synaptics RMI4 touch
> controller device tree binding. It is intended to allow existing Sony Xperia
> Tama board device tree nodes to pass schema validation.
> 
> > diff --git a/Documentation/devicetree/bindings/input/syna,rmi4.yaml b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> > index fb4804ac3544d..464c83ece4186 100644
> > --- a/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> > +++ b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> > @@ -56,6 +56,7 @@ properties:
> >  
> >    vdd-supply: true
> >    vio-supply: true
> > +  incell-supply: true
> 
> [Severity: Medium]
> Does adding this property to the generic hardware schema violate device tree
> design principles by formalizing an OS-specific software workaround?
> 
> Device tree bindings are typically expected to strictly describe actual
> hardware. The user of this property is the Sony Xperia Tama board
> configuration, which acknowledges it as a workaround:
> 
> arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi:
>         /*
>          * This is a blatant abuse of OF, but the panel driver *needs*
>          * to probe first, as the power/gpio switching needs to be precisely
>          * timed in order for both the display and touch panel to function properly.
>          */
>         incell-supply = <&panel>;
> 
> Since the device tree source explicitly documents this as a mechanism to force
> fw_devlink probe ordering between the panel and the touch controller, should
> we avoid spoofing a fake hardware property in the official schema?
> 
> Would it be better to address the probe sequence dependency properly instead
> of institutionalizing this workaround into the formal hardware schema?

Oh dear, do we actually want to merge this?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2026-09-22 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 23:27 [PATCH] dt-bindings: input: syna,rmi4: Allow incell supply Rob Herring (Arm)
2026-09-21 23:34 ` sashiko-bot
2026-09-22 17:59   ` Conor Dooley [this message]

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=20260922-ebook-clumsy-2134d11c98f4@spud \
    --to=conor@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --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