Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "sthho law" <17236081@qq.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: input: touchscreen: st,stmfts: add st,fts
Date: Fri, 04 Dec 2026 07:59:49 +0000	[thread overview]
Message-ID: <sashiko-outbox-249356@kernel.org> (raw)
In-Reply-To: <tencent_3ED5BA051BBD45CEA724F0EF5BAEAE089C09@qq.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: input: st,stmfts: overly generic device-family
  compatible st,fts
--

commit 1d92223f6a309f91c58b758b3207a4d7c155be5d
Author: sthho law <17236081@qq.com>

dt-bindings: input: touchscreen: st,stmfts: add st,fts

This commit adds the "st,fts" compatible string alongside "st,stmfts" in
the STMicroelectronics FingerTip touchscreen binding.

> diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
> index 64c4f24ea3dd0..c0fd879dda3ab 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
> @@ -19,7 +19,13 @@ allOf:
>  
>  properties:
>    compatible:
> -    const: st,stmfts
> +    enum:
> +      - st,stmfts
> +      - st,fts
> +    description: |
> +      Panels running the FTM4 firmware use "st,stmfts", panels running the
> +      FTM5 firmware use "st,fts".  Both are FingerTip controllers with the
> +      same wiring.

[Severity: Medium]
Is "st,fts" too generic to add as a Devicetree compatible string?

FTS refers to the entire STMicroelectronics FingerTipS controller family
rather than a specific controller model, and
Documentation/devicetree/bindings/writing-bindings.rst prohibits
device-family names in compatible strings.

No in-tree DTS currently uses "st,fts", so adopting it as permanent ABI
would prevent distinguishing specific FingerTipS silicon models or future
generations later without adding quirks or breaking ABI.

Also, the commit message and description tie compatibles to firmware
generations reported by panels, whereas Devicetree compatibles should name
concrete controller hardware models.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/tencent_3ED5BA051BBD45CEA724F0EF5BAEAE089C09@qq.com?part=1

  reply	other threads:[~2026-12-04  7:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1796370440.32551.0@17236081.qq.com>
2026-12-04  7:47 ` [PATCH 1/2] dt-bindings: input: touchscreen: st,stmfts: add st,fts sthho law
2026-12-04  7:59   ` sashiko-bot [this message]
2026-12-04  7:47 ` [PATCH 2/2] Input: add STMicroelectronics FTM5 touchscreen driver sthho law
2026-12-04  8:09   ` sashiko-bot
     [not found] <1796369755.32249.0@17236081.qq.com>
2026-12-04  7:35 ` [PATCH 1/2] dt-bindings: input: touchscreen: st,stmfts: add st,fts sthho law
2026-12-04  7:49   ` 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-249356@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=17236081@qq.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@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