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
  2025-04-22  8:23 ` Sascha Hauer
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ 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
2025-04-22  8:23 ` Sascha Hauer

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