From: Josua Mayer <josua@solid-run.com>
To: "sashiko-reviews@lists.linux.dev" <sashiko-reviews@lists.linux.dev>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"wsa+renesas@sang-engineering.com"
<wsa+renesas@sang-engineering.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>
Subject: Re: [PATCH v4 1/5] dt-bindings: soc: renesas: Add various SolidRun RZ/G2 based boards
Date: Thu, 6 Aug 2026 16:27:22 +0000 [thread overview]
Message-ID: <caf73060-ce7f-45c2-b5c4-d82a1d654c26@solid-run.com> (raw)
In-Reply-To: <20260730104856.A190E1F000E9@smtp.kernel.org>
On 7/30/26 13:48, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] The bindings for SolidRun SoMs fail schema validation when used standalone, as they omit the 3-item compatible string configurations.
> --
>
> --- Patch [1]: [PATCH v4 1/5] dt-bindings: soc: renesas: Add various SolidRun RZ/G2 based boards ---
> commit 5a8377d33a57f9f7e33e7aca8fc9422f672bf72b
> Author: Josua Mayer <josua@solid-run.com>
>
> dt-bindings: soc: renesas: Add various SolidRun RZ/G2 based boards
>
> Add bindings for various SolidRun boards and System on Module built
> around Renesas RZ/G2 family of SoCs.
>
>> diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
>> index eeef34e3d7d07..1673005a3d930 100644
>> --- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
>> +++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
>> @@ -508,6 +508,14 @@ properties:
> [ ... ]
>
>> + - description: SolidRun RZ/G2UL based boards
>> + items:
>> + - enum:
>> + - solidrun,rzg2ul-hummingboard-ripple # SolidRun RZ/G2UL HummingBoard Ripple
>> + - const: solidrun,rzg2ul-sr-som
>> + - const: renesas,r9a07g043u12 # RZ/G2UL Type-2
>> + - const: renesas,r9a07g043
>> +
> [Severity: Medium]
> Will this schema definition break validation for standalone SolidRun SoMs?
>
> The current schema items block mandates exactly 4 compatible strings, with the
> first string being one of the carrier board enum values.
>
> If a standalone SoM device tree is defined with 3 compatible strings (e.g.,
> "solidrun,rzg2ul-sr-som", "renesas,r9a07g043u12", "renesas,r9a07g043"), it
> appears it will fail validation because there is no matching 3-item array
> block for the standalone SoM.
DeviceTree shall only describe complete devices, a SoM alone would be
either incomplete, or a debugging artifact.
>
> [ ... ]
>
>> + - description: SolidRun RZ/G2L based boards
>> + items:
>> + - enum:
>> + - solidrun,rzg2l-hummingboard-iiot # SolidRun RZ/G2L HummingBoard IIoT
>> + - solidrun,rzg2l-hummingboard-pro # SolidRun RZ/G2L HummingBoard Pro
>> + - solidrun,rzg2l-hummingboard-ripple # SolidRun RZ/G2L HummingBoard Ripple
>> + - const: solidrun,rzg2l-sr-som
>> + - const: renesas,r9a07g044l2 # Dual Cortex-A55 RZ/G2L
>> + - const: renesas,r9a07g044
>> +
> [Severity: Medium]
> Does the standalone RZ/G2L SoM also require its own 3-item validation block
> for the same reason?
>
> Without it, standalone SoM configurations will likely fail dt_binding_check
> and dtbs_check validation.
>
next prev parent reply other threads:[~2026-08-06 16:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 10:38 [PATCH v4 0/5] arm64: dts: renesas: Add various SolidRun RZ/G2 based boards Josua Mayer
2026-07-30 10:38 ` [PATCH v4 1/5] dt-bindings: soc: " Josua Mayer
2026-07-30 10:48 ` sashiko-bot
2026-08-06 16:27 ` Josua Mayer [this message]
2026-07-30 10:38 ` [PATCH v4 2/5] dt-bindings: usb: cypress,hx3: make peer-hub property optional Josua Mayer
2026-08-03 6:49 ` Krzysztof Kozlowski
2026-07-30 10:38 ` [PATCH v4 3/5] arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb Josua Mayer
2026-07-30 10:57 ` sashiko-bot
2026-07-30 10:38 ` [PATCH v4 4/5] arm64: dts: renesas: add support for solidrun rzv2l " Josua Mayer
2026-07-30 10:47 ` sashiko-bot
2026-07-30 10:38 ` [PATCH v4 5/5] arm64: dts: renesas: add support for solidrun rzg2lc " Josua Mayer
2026-07-30 10:49 ` sashiko-bot
2026-08-06 16:36 ` Josua Mayer
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=caf73060-ce7f-45c2-b5c4-d82a1d654c26@solid-run.com \
--to=josua@solid-run.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox