mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply
@ 2026-04-16  6:45 Ahmad Fatoum
  2026-04-17  8:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-04-16  6:45 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

On i.MX8MM-EVK with PCA953x I2C GPIO expander driver enabled, one is
greeted with this warning:

  WARNING: pca953x pca64160: Failed to get 'vcc' regulator (ignored).

We don't have a PMIC driver in barebox proper and assume that all
relevant regulators are already enabled by the prebootloader, so note
that in the device tree.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/dts/imx8mm-evk.dts  | 4 ++++
 arch/arm/dts/imx8mm-evkb.dts | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/dts/imx8mm-evk.dts b/arch/arm/dts/imx8mm-evk.dts
index 18ad177a8bf7..de7525851f89 100644
--- a/arch/arm/dts/imx8mm-evk.dts
+++ b/arch/arm/dts/imx8mm-evk.dts
@@ -13,3 +13,7 @@
 / {
 	barebox,deep-probe;
 };
+
+&{i2c1/pmic@4b/regulators} {
+	barebox,allow-dummy-supply;
+};
diff --git a/arch/arm/dts/imx8mm-evkb.dts b/arch/arm/dts/imx8mm-evkb.dts
index a5fcce76036c..7e4a2d90bf1d 100644
--- a/arch/arm/dts/imx8mm-evkb.dts
+++ b/arch/arm/dts/imx8mm-evkb.dts
@@ -121,3 +121,7 @@ ldo5_reg: LDO5 {
 		};
 	};
 };
+
+&{i2c1/pmic@25/regulators} {
+	barebox,allow-dummy-supply;
+};
-- 
2.47.3




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

* Re: [PATCH] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply
  2026-04-16  6:45 [PATCH] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply Ahmad Fatoum
@ 2026-04-17  8:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-04-17  8:02 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Thu, 16 Apr 2026 08:45:23 +0200, Ahmad Fatoum wrote:
> On i.MX8MM-EVK with PCA953x I2C GPIO expander driver enabled, one is
> greeted with this warning:
> 
>   WARNING: pca953x pca64160: Failed to get 'vcc' regulator (ignored).
> 
> We don't have a PMIC driver in barebox proper and assume that all
> relevant regulators are already enabled by the prebootloader, so note
> that in the device tree.
> 
> [...]

Applied, thanks!

[1/1] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply
      https://git.pengutronix.de/cgit/barebox/commit/?id=390e4217a5e0 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-04-17  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-16  6:45 [PATCH] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply Ahmad Fatoum
2026-04-17  8:02 ` Sascha Hauer

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