mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Fabian Pflug <f.pflug@pengutronix.de>, barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: tqma93xx add dummy supply to regulator
Date: Thu, 17 Apr 2025 11:26:34 +0200	[thread overview]
Message-ID: <4cefb165-77c4-4488-86ef-4052598df9f4@pengutronix.de> (raw)
In-Reply-To: <20250417084723.3368038-1-f.pflug@pengutronix.de>

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 |




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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17  8:47 Fabian Pflug
2025-04-17  9:26 ` Ahmad Fatoum [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=4cefb165-77c4-4488-86ef-4052598df9f4@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=f.pflug@pengutronix.de \
    /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