mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: tqma93xx add dummy supply to regulator
@ 2025-04-17  8:47 Fabian Pflug
  2025-04-17  9:26 ` Ahmad Fatoum
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Pflug @ 2025-04-17  8:47 UTC (permalink / raw)
  To: barebox; +Cc: Fabian Pflug

The regulator for the usdhc2 references the BUCK4 as its input.
The BUCK4 is part of the pca9451, which in turn is not a regulator
in barebox, so there is a problem during initialisation:

WARNING: imx-esdhc 42860000.mmc@42860000.of: Failed to get 'vmmc' regulator (ignored)

Since the dependency could not be resolved, the reg_usdhc2_vmmc
regulator is not correctly initialized, leaving the gpio in a floating
state, which results in the GPIO being low, which in turn disables
the SD-Card.

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 arch/arm/dts/imx93-tqma93xx.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/imx93-tqma93xx.dtsi b/arch/arm/dts/imx93-tqma93xx.dtsi
index 40425e39a7..aafeadc275 100644
--- a/arch/arm/dts/imx93-tqma93xx.dtsi
+++ b/arch/arm/dts/imx93-tqma93xx.dtsi
@@ -15,6 +15,9 @@ pca9451a: pmic@25 {
 		reg = <0x25>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_pca9451>;
+		regulators {
+			barebox,allow-dummy-supply;
+		};
 	};
 };
 
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: tqma93xx add dummy supply to regulator
  2025-04-17  8:47 [PATCH] ARM: dts: tqma93xx add dummy supply to regulator Fabian Pflug
@ 2025-04-17  9:26 ` Ahmad Fatoum
  0 siblings, 0 replies; 2+ messages in thread
From: Ahmad Fatoum @ 2025-04-17  9:26 UTC (permalink / raw)
  To: Fabian Pflug, barebox

On 4/17/25 10:47, Fabian Pflug wrote:
> The regulator for the usdhc2 references the BUCK4 as its input.
> The BUCK4 is part of the pca9451, which in turn is not a regulator
> in barebox, so there is a problem during initialisation:
> 
> WARNING: imx-esdhc 42860000.mmc@42860000.of: Failed to get 'vmmc' regulator (ignored)
> 
> Since the dependency could not be resolved, the reg_usdhc2_vmmc
> regulator is not correctly initialized, leaving the gpio in a floating
> state, which results in the GPIO being low, which in turn disables
> the SD-Card.
> 
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

Thanks,
Ahmad

> ---
>  arch/arm/dts/imx93-tqma93xx.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/dts/imx93-tqma93xx.dtsi b/arch/arm/dts/imx93-tqma93xx.dtsi
> index 40425e39a7..aafeadc275 100644
> --- a/arch/arm/dts/imx93-tqma93xx.dtsi
> +++ b/arch/arm/dts/imx93-tqma93xx.dtsi
> @@ -15,6 +15,9 @@ pca9451a: pmic@25 {
>  		reg = <0x25>;
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&pinctrl_pca9451>;
> +		regulators {
> +			barebox,allow-dummy-supply;
> +		};
>  	};
>  };
>  

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-17  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17  8:47 [PATCH] ARM: dts: tqma93xx add dummy supply to regulator Fabian Pflug
2025-04-17  9:26 ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox