From: sashiko-bot@kernel.org
To: "Romain TISSERAND" <romain.tisserand@gmail.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI
Date: Fri, 27 Nov 2026 02:12:39 +0000 [thread overview]
Message-ID: <sashiko-outbox-236434@kernel.org> (raw)
In-Reply-To: <20261127020815.1621790-2-romain.tisserand@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: display: sitronix,st7701: duplicate if/then for
rg28xx-panel
--
commit 8125a9df8a4287a7ea90e2141e5a278695835f1d
Author: Romain TISSERAND <romain.tisserand@gmail.com>
dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI
This commit removes port from the top-level required list in the
sitronix,st7701 binding and makes it required only for the SPI-controlled
anbernic,rg28xx-panel.
> diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> index 044b84d8638d6..3ca9aa215b7f8 100644
> --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> @@ -54,7 +54,6 @@ required:
> - reg
> - VCC-supply
> - IOVCC-supply
> - - port
> - reset-gpios
>
> allOf:
> @@ -69,6 +68,16 @@ allOf:
> then:
> $ref: /schemas/spi/spi-peripheral-props.yaml#
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + # RGB input, controlled over SPI
> + const: anbernic,rg28xx-panel
> + then:
> + required:
> + - port
[Severity: Low]
This isn't a bug, but the block right above under allOf already matches
anbernic,rg28xx-panel:
Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml:
- if:
properties:
compatible:
contains:
# SPI connected panels
enum:
- anbernic,rg28xx-panel
then:
$ref: /schemas/spi/spi-peripheral-props.yaml#
Can required: [port] be added to that existing then: clause instead of
adding a second if/then block for the same compatible string, matching how
2f50e0a0f9d3 ("dt-bindings: display: panel: Make DSI panels port optional")
handled ilitek,ili9806e.yaml?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127020815.1621790-1-romain.tisserand@gmail.com?part=1
next prev parent reply other threads:[~2026-11-27 2:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 2:08 [PATCH 0/4] drm/panel: st7701: add the Miyoo A30 panel Romain TISSERAND
2026-11-27 2:08 ` [PATCH 1/4] dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI Romain TISSERAND
2026-11-27 2:12 ` sashiko-bot [this message]
2026-11-27 2:08 ` [PATCH 2/4] dt-bindings: display: panel: sitronix,st7701: add the Miyoo A30 panel Romain TISSERAND
2026-11-27 2:08 ` [PATCH 3/4] drm/panel: st7701: let a panel provide its own init sequence and DSI flags Romain TISSERAND
2026-11-27 2:08 ` [PATCH 4/4] drm/panel: st7701: add the Miyoo A30 panel Romain TISSERAND
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-236434@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=robh@kernel.org \
--cc=romain.tisserand@gmail.com \
--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