All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Marek Vasut" <marex@nabladev.com>
Cc: neil.armstrong@linaro.org, robh@kernel.org, olteanv@gmail.com,
	devicetree@vger.kernel.org, conor+dt@kernel.org,
	vkoul@kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH v3 8/9] arm64: dts: st: Add USB nodes on stm32mp231
Date: Sat, 22 Aug 2026 08:07:30 +0000	[thread overview]
Message-ID: <20260822080731.638D31F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260822074816.548662-9-marex@nabladev.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing `ranges` property in the `simple-mfd` `syscfg` node causes a kernel WARN_ON during boot.
--

--- Patch [8]: [PATCH v3 8/9] arm64: dts: st: Add USB nodes on stm32mp231 ---
commit b21748ed09e5c154d11bfc7972df50b9735bfab9
Author: Marek Vasut <marex@nabladev.com>

arm64: dts: st: Add USB nodes on stm32mp231

This commit adds USB controller and PHY nodes to the stm32mp231 device tree.
It also converts the syscfg node into a simple-mfd to contain the new PHY
subnodes.

> diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> index 9e1d240888ff2..db66777a8c9a0 100644
> --- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi

[ ... ]

>  		syscfg: syscon@44230000 {
> -			compatible = "st,stm32mp23-syscfg", "syscon";
> +			compatible = "st,stm32mp23-syscfg", "syscon", "simple-mfd";
>  			reg = <0x44230000 0x10000>;
>  			#clock-cells = <0>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;

[Severity: Medium]
Is there a missing ranges property here?

Since the syscfg node is now a simple-mfd bus with children that have reg
properties (usb2_phy1 and usb2_phy2), omitting the ranges property causes
address translation to fail.

During boot, when of_platform_populate() tries to instantiate the children,
of_address_to_resource() will fail to translate the child addresses. This
triggers a WARN_ON() in drivers/of/platform.c:of_device_alloc() for each
child device, which pollutes the boot log and could cause boot failures if
panic_on_warn is enabled.

> +
> +			usb2_phy1: phy@2400 {
> +				compatible = "st,stm32mp25-usb2phy1";
> +				reg = <0x2400 0x24>;

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260822074816.548662-1-marex@nabladev.com?part=8

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Marek Vasut" <marex@nabladev.com>
Cc: neil.armstrong@linaro.org, robh@kernel.org, olteanv@gmail.com,
	devicetree@vger.kernel.org, conor+dt@kernel.org,
	vkoul@kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH v3 8/9] arm64: dts: st: Add USB nodes on stm32mp231
Date: Sat, 22 Aug 2026 08:07:30 +0000	[thread overview]
Message-ID: <20260822080731.638D31F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260822074816.548662-9-marex@nabladev.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing `ranges` property in the `simple-mfd` `syscfg` node causes a kernel WARN_ON during boot.
--

--- Patch [8]: [PATCH v3 8/9] arm64: dts: st: Add USB nodes on stm32mp231 ---
commit b21748ed09e5c154d11bfc7972df50b9735bfab9
Author: Marek Vasut <marex@nabladev.com>

arm64: dts: st: Add USB nodes on stm32mp231

This commit adds USB controller and PHY nodes to the stm32mp231 device tree.
It also converts the syscfg node into a simple-mfd to contain the new PHY
subnodes.

> diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> index 9e1d240888ff2..db66777a8c9a0 100644
> --- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi

[ ... ]

>  		syscfg: syscon@44230000 {
> -			compatible = "st,stm32mp23-syscfg", "syscon";
> +			compatible = "st,stm32mp23-syscfg", "syscon", "simple-mfd";
>  			reg = <0x44230000 0x10000>;
>  			#clock-cells = <0>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;

[Severity: Medium]
Is there a missing ranges property here?

Since the syscfg node is now a simple-mfd bus with children that have reg
properties (usb2_phy1 and usb2_phy2), omitting the ranges property causes
address translation to fail.

During boot, when of_platform_populate() tries to instantiate the children,
of_address_to_resource() will fail to translate the child addresses. This
triggers a WARN_ON() in drivers/of/platform.c:of_device_alloc() for each
child device, which pollutes the boot log and could cause boot failures if
panic_on_warn is enabled.

> +
> +			usb2_phy1: phy@2400 {
> +				compatible = "st,stm32mp25-usb2phy1";
> +				reg = <0x2400 0x24>;

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260822074816.548662-1-marex@nabladev.com?part=8

  reply	other threads:[~2026-08-22  8:07 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-22  7:46 [PATCH v3 0/9] arm64: dts: phy: st: usb: Add STM32MP2 USB support Marek Vasut
2026-08-22  7:46 ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 1/9] dt-bindings: phy: Document ST STM32MP25 USB2-FEMTO PHY Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  7:55   ` sashiko-bot
2026-08-22  7:55     ` sashiko-bot
2026-08-27 12:54   ` Krzysztof Kozlowski
2026-08-27 12:54     ` Krzysztof Kozlowski
2026-08-27 14:53     ` Marek Vasut
2026-08-27 14:53       ` Marek Vasut
2026-08-27 21:33       ` Krzysztof Kozlowski
2026-08-27 21:33         ` Krzysztof Kozlowski
2026-08-27 23:14         ` Marek Vasut
2026-08-27 23:14           ` Marek Vasut
2026-08-28  6:37           ` Krzysztof Kozlowski
2026-08-28  6:37             ` Krzysztof Kozlowski
2026-08-28  9:11   ` Krzysztof Kozlowski
2026-08-28  9:11     ` Krzysztof Kozlowski
2026-08-28 13:11     ` Marek Vasut
2026-08-28 13:11       ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 2/9] phy: stm32: Add support for " Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  7:58   ` sashiko-bot
2026-08-22  7:58     ` sashiko-bot
2026-08-24 13:17   ` Fabrice Gasnier
2026-08-24 13:17     ` Fabrice Gasnier
2026-08-24 14:53     ` Marek Vasut
2026-08-24 14:53       ` Marek Vasut
2026-08-27 16:00   ` Vinod Koul
2026-08-27 16:00     ` Vinod Koul
2026-08-27 16:52     ` Marek Vasut
2026-08-27 16:52       ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 3/9] dt-bindings: usb: generic-ehci: Document access-controllers property Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-28  9:13   ` Krzysztof Kozlowski
2026-08-28  9:13     ` Krzysztof Kozlowski
2026-08-28 13:44     ` Marek Vasut
2026-08-28 13:44       ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 4/9] dt-bindings: usb: generic-ohci: " Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 5/9] dt-bindings: usb: dwc3: Document ST STM32MP2 DWC3 xHCI USB controller Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-27 12:59   ` Krzysztof Kozlowski
2026-08-27 12:59     ` Krzysztof Kozlowski
2026-08-27 14:56     ` Marek Vasut
2026-08-27 14:56       ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 6/9] usb: dwc3: dwc3-generic-plat: Add ST STM32MP2 DWC3 xHCI USB controller glue Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  7:56   ` sashiko-bot
2026-08-22  7:56     ` sashiko-bot
2026-08-22  7:46 ` [PATCH v3 7/9] dt-bindings: arm: stm32: Switch st,stm32mp23/25-syscfg into simple-mfd Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  8:01   ` sashiko-bot
2026-08-22  8:01     ` sashiko-bot
2026-08-27 13:07   ` Krzysztof Kozlowski
2026-08-27 13:07     ` Krzysztof Kozlowski
2026-08-27 15:04     ` Marek Vasut
2026-08-27 15:04       ` Marek Vasut
2026-08-27 21:35       ` Krzysztof Kozlowski
2026-08-27 21:35         ` Krzysztof Kozlowski
2026-08-28  1:03         ` Marek Vasut
2026-08-28  1:03           ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 8/9] arm64: dts: st: Add USB nodes on stm32mp231 Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-22  8:07   ` sashiko-bot [this message]
2026-08-22  8:07     ` sashiko-bot
2026-08-24 13:18   ` Fabrice Gasnier
2026-08-24 13:18     ` Fabrice Gasnier
2026-08-24 14:39     ` Marek Vasut
2026-08-24 14:39       ` Marek Vasut
2026-08-22  7:46 ` [PATCH v3 9/9] arm64: dts: st: Add USB nodes on stm32mp251 Marek Vasut
2026-08-22  7:46   ` Marek Vasut
2026-08-24 13:19   ` Fabrice Gasnier
2026-08-24 13:19     ` Fabrice Gasnier
2026-08-24 14:39     ` Marek Vasut
2026-08-24 14:39       ` Marek Vasut
2026-08-28  9:15   ` Krzysztof Kozlowski
2026-08-28  9:15     ` Krzysztof Kozlowski

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=20260822080731.638D31F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=marex@nabladev.com \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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.