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

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