From: sashiko-bot@kernel.org
To: "Biju Das" <biju.das.au@gmail.com>
Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org,
wsa+renesas@sang-engineering.com
Subject: Re: [PATCH 1/2] dt-bindings: serial: renesas,rsci: Document RZ/T2N support
Date: Sat, 05 Dec 2026 17:10:51 +0000 [thread overview]
Message-ID: <sashiko-outbox-251754@kernel.org> (raw)
In-Reply-To: <20261205-t2n_serial_bindings-v1-1-7d98125dce02@bp.renesas.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: serial: RZ/T2N compatible rationale contradicts
RZ/T2H schema
--
commit 6726688cff01b759b63a07dc6671eeb693fb433f
Author: Biju Das <biju.das.jz@bp.renesas.com>
dt-bindings: serial: renesas,rsci: Document RZ/T2N support
This commit adds the renesas,r9a07g076-rsci compatible string for the
Renesas RZ/T2N SoC to the RSCI serial binding and applies the existing
RZ/T2H property constraints to it.
> diff --git a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml b/Documentation/devicetree/bindings/serial/renesas,rsci.yaml
> index 85ebb3056066f..4fc9a7b0a9e89 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,rsci.yaml
> @@ -14,6 +14,7 @@ properties:
> compatible:
> oneOf:
> - enum:
> + - renesas,r9a07g076-rsci # RZ/T2N
> - renesas,r9a08g046-rsci # RZ/G3L
> - renesas,r9a09g047-rsci # RZ/G3E
> - renesas,r9a09g077-rsci # RZ/T2H
> @@ -102,7 +103,9 @@ allOf:
> properties:
> compatible:
> contains:
> - const: renesas,r9a09g077-rsci
> + enum:
> + - renesas,r9a07g076-rsci
> + - renesas,r9a09g077-rsci
> then:
> properties:
> interrupts:
[Severity: Medium]
Should renesas,r9a07g076-rsci declare renesas,r9a09g077-rsci as a fallback
compatible like renesas,r9a09g087-rsci (RZ/N2H), or are RZ/T2N's clock
differences missing from the schema?
The commit message justifies a standalone compatible by claiming SCK on
RZ/T2N is fed by a CPG mux rather than a fixed bus clock as on RZ/T2H.
In fact, RZ/T2H already defines operation, bus, and optional external sck,
with r9a09g077-cpg.c driving sci0fck from CLK_SCI0ASYNC and bus from PCLKM.
Meanwhile, this allOf block applies the exact same interrupts, clocks,
clock-names, and resets constraints to RZ/T2N as to RZ/T2H. The follow-up
commit "serial: sh-sci: Add support for RZ/T2N RSCI" also binds
renesas,r9a07g076-rsci directly to of_rsci_rzt2h_data with no clock changes.
Because Devicetree bindings define a permanent ABI, omitting a fallback
breaks compatibility with existing RZ/T2H drivers if only the upstream CPG
mux differs. If RZ/T2N instead has distinct RSCI clock inputs or IP
differences, the schema should constrain them and the changelog explain why.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-t2n_serial_bindings-v1-0-7d98125dce02@bp.renesas.com?part=1
next prev parent reply other threads:[~2026-12-05 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 16:56 [PATCH 0/2] Add RSCI support for RZ/T2N Biju Das
2026-12-05 16:56 ` [PATCH 1/2] dt-bindings: serial: renesas,rsci: Document RZ/T2N support Biju Das
2026-12-05 17:10 ` sashiko-bot [this message]
2026-12-05 18:34 ` Biju Das
2026-12-05 16:56 ` [PATCH 2/2] serial: sh-sci: Add support for RZ/T2N RSCI Biju Das
2026-12-05 17:12 ` sashiko-bot
2026-12-05 18:38 ` Biju Das
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-251754@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=biju.das.au@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.