devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre TORGUE <alexandre.torgue@foss.st.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: <devicetree@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <kernel@pengutronix.de>
Subject: Re: [PATCH] ARM: dts: stm32: lxa: drop unnecessary vusb_d/a-supply
Date: Mon, 10 Nov 2025 09:58:32 +0100	[thread overview]
Message-ID: <69be697d-71a1-4773-a6e9-7e506184609f@foss.st.com> (raw)
In-Reply-To: <20251007-lxa-usb-dt-v1-1-cacde8088bb9@pengutronix.de>

Hi Ahmad

On 10/7/25 07:36, Ahmad Fatoum wrote:
> The LXA device trees are the only STM32MP1 device tree that specify
> vusb_d/usb_a-supply and apparently not for good reason:
> 
> - vusb_d-supply (vdd_usb) is the same as the phy-supply for usbphyc_port1
> - vusb_a-supply (reg18) is the same as vdda1v8-supply for usbphyc_port1
> 
> and usbphyc_port1 is linked to the usbotg_hs node via the phys property.
> 
> Specifying the regulators in the &usbotg_hs node is thus superfluous and
> has been even found to be harmful in one instance:
> Linux v6.10 was found to lock up every 50-125 or so reboots on the LXA
> TAC when the DWC2 driver probe enables the regulators in bulk, unless
> both properties were removed.
> 
> This issue was so far not reproducible on v6.17 (> 500 reboots), but as
> these properties are unnecessary and different from other STM32MP1
> boards, remove them anyway.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>   arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi | 3 ---
>   arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi       | 3 ---
>   2 files changed, 6 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi b/arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi
> index 9eeb9d6b5eb0ed35d4a83b743e8007f19422e2ed..7d3a6a3b5d09ea06689ebca11eda48785207aa31 100644
> --- a/arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi
> @@ -374,9 +374,6 @@ &usbotg_hs {
>   	phys = <&usbphyc_port1 0>;
>   	phy-names = "usb2-phy";
>   
> -	vusb_d-supply = <&vdd_usb>;
> -	vusb_a-supply = <&reg18>;
> -
>   	status = "okay";
>   };
>   
> diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> index be0c355d3105b89d4374d4f6972c7927970f06b1..9179075f2ead14a4deb45fcd2cefd60ab426a8d8 100644
> --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
> @@ -493,9 +493,6 @@ &usbotg_hs {
>   	phys = <&usbphyc_port1 0>;
>   	phy-names = "usb2-phy";
>   
> -	vusb_d-supply = <&vdd_usb>;
> -	vusb_a-supply = <&reg18>;
> -
>   	g-rx-fifo-size = <512>;
>   	g-np-tx-fifo-size = <32>;
>   	g-tx-fifo-size = <128 128 64 16 16 16 16 16>;
> 
> ---
> base-commit: 33f3d92bd1bee0e37d68124dd6e7df793a6af745
> change-id: 20251007-lxa-usb-dt-ceb0189396e6
> 
> Best regards,

Applied on stm32-next.

Cheers.
Alex

      reply	other threads:[~2025-11-10  8:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-07  5:36 [PATCH] ARM: dts: stm32: lxa: drop unnecessary vusb_d/a-supply Ahmad Fatoum
2025-11-10  8:58 ` Alexandre TORGUE [this message]

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=69be697d-71a1-4773-a6e9-7e506184609f@foss.st.com \
    --to=alexandre.torgue@foss.st.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).