From: sashiko-bot@kernel.org
To: "Marek Vasut" <marex@nabladev.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v5 1/2] dt-bindings: arm: stm32: Document st,stm32mp23/25-syscfg subnodes and cells
Date: Mon, 31 Aug 2026 23:22:59 +0000 [thread overview]
Message-ID: <20260831232300.607B51F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260831231359.136475-1-marex@nabladev.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Backward Incompatible Schema Breakage for Existing Device Trees
- [Low] Broken Schema Reference to Non-Existent File
--
commit 03ebc2d5d17d202d6c215a130814ee9c1eb855c2
Author: Marek Vasut <marex@nabladev.com>
dt-bindings: arm: stm32: Document st,stm32mp23/25-syscfg subnodes and cells
The st,stm32mp23-syscfg and st,stm32mp25-syscfg can have subnodes, which
represent the USB 2.0 FEMTO-PHY. Document subnodes pattern properties and
address/size cells.
> diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
> index 95d2319afe235..2cce174004fe0 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
> @@ -39,6 +39,17 @@ properties:
> "#clock-cells":
> const: 0
>
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 1
> +
> +patternProperties:
> + "^phy@[0-9a-f]+$":
> + type: object
> + $ref: /schemas/phy/st,stm32-usb2phy.yaml
[Severity: Low]
Does this reference a non-existent schema file?
Running dt_binding_check fails because the target file
/schemas/phy/st,stm32-usb2phy.yaml cannot be resolved, which breaks the
schema validation tooling.
> +
> required:
> - compatible
> - reg
> @@ -57,10 +68,17 @@ allOf:
> - if:
> properties:
> compatible:
> - const: st,stm32mp25-syscfg
> + contains:
> + enum:
> + - st,stm32mp23-syscfg
> + - st,stm32mp25-syscfg
> then:
> required:
> - "#clock-cells"
> + - "#address-cells"
> + - "#size-cells"
> + - phy@2400
> + - phy@2800
[Severity: High]
The commit message mentions these nodes "can have subnodes", suggesting they
should be optional.
Making them mandatory in this conditional block will cause existing valid
device trees to fail schema validation.
For example, this existing node in arch/arm64/boot/dts/st/stm32mp251.dtsi
currently lacks these new properties:
syscfg: syscon@44230000 {
compatible = "st,stm32mp25-syscfg", "syscon";
reg = <0x44230000 0x10000>;
#clock-cells = <0>;
};
Similar nodes exist in stm32mp231.dtsi.
Could these new required properties be made optional to avoid breaking
existing upstream device trees?
>
> additionalProperties: false
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260831231359.136475-1-marex@nabladev.com?part=1
next prev parent reply other threads:[~2026-08-31 23:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 23:13 [PATCH v5 1/2] dt-bindings: arm: stm32: Document st,stm32mp23/25-syscfg subnodes and cells Marek Vasut
2026-08-31 23:13 ` [PATCH v5 2/2] soc: st: Add STM32MP2 SYSCFG driver Marek Vasut
2026-09-02 8:40 ` [Linux-stm32] " Fabrice Gasnier
2026-08-31 23:22 ` sashiko-bot [this message]
2026-09-01 18:11 ` [PATCH v5 1/2] dt-bindings: arm: stm32: Document st,stm32mp23/25-syscfg subnodes and cells Conor Dooley
2026-09-02 12:24 ` Marek Vasut
2026-09-02 8:55 ` [Linux-stm32] [PATCH v5 1/2] dt-bindings: arm: stm32: Document st, stm32mp23/25-syscfg " Fabrice Gasnier
2026-09-02 12:02 ` Marek Vasut
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=20260831232300.607B51F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=marex@nabladev.com \
--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