From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] ARM: i.MX8M: evk: mark PMIC barebox,allow-dummy-supply
Date: Thu, 16 Apr 2026 08:45:23 +0200 [thread overview]
Message-ID: <20260416064524.3788520-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2026-04-16 6:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-16 6:45 Ahmad Fatoum [this message]
2026-04-17 8:02 ` Sascha Hauer
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=20260416064524.3788520-1-a.fatoum@pengutronix.de \
--to=a.fatoum@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