mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Fabian Pflug <f.pflug@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [PATCH] ARM: dts: tqma93xx add dummy supply to regulator
Date: Thu, 17 Apr 2025 10:47:23 +0200	[thread overview]
Message-ID: <20250417084723.3368038-1-f.pflug@pengutronix.de> (raw)

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




             reply	other threads:[~2025-04-17  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17  8:47 Fabian Pflug [this message]
2025-04-17  9:26 ` Ahmad Fatoum

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=20250417084723.3368038-1-f.pflug@pengutronix.de \
    --to=f.pflug@pengutronix.de \
    --cc=barebox@lists.infradead.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