mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <>
Cc: Ahmad Fatoum <>
Subject: [PATCH master v3 4/4] ARM: i.MX8MN: assume USBOTG power domains to be powered
Date: Mon,  8 Aug 2022 16:00:35 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

When i.MX8MN support was first added, upstream device tree did list no
power domains. Now it does and we defer probe of USB indefinitely
because we have no power domain driver. If we need to do PCI on the
i.MX8MM in barebox, there'll likely be no way around importing the power
domain driver, but for USB which used to work, only thing we need to do
is ignore the new power domain specification. Do so by adding the
new barebox,allow-dummy property to the new known-enabled power domain.

Fixes: b01786baa849 ("dts: update to v5.18-rc1")
Signed-off-by: Ahmad Fatoum <>
v2 -> v3:
  - rebased on master
v1 -> v2:
  - no change
 arch/arm/dts/imx8mn-evk.dts | 1 +
 arch/arm/dts/imx8mn.dtsi    | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 arch/arm/dts/imx8mn.dtsi

diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.dts
index b8e7e1acf539..23f80f868651 100644
--- a/arch/arm/dts/imx8mn-evk.dts
+++ b/arch/arm/dts/imx8mn-evk.dts
@@ -7,6 +7,7 @@
 #include <arm64/freescale/imx8mn-evk.dts>
+#include "imx8mn.dtsi"
 / {
 	chosen {
diff --git a/arch/arm/dts/imx8mn.dtsi b/arch/arm/dts/imx8mn.dtsi
new file mode 100644
index 000000000000..176125e73bce
--- /dev/null
+++ b/arch/arm/dts/imx8mn.dtsi
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+&pgc_otg1 {
+	barebox,allow-dummy;

  parent reply	other threads:[~2022-08-08 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 14:00 [PATCH master v3 1/4] soc: imx: gpcv2: associate PGC device tree node with platform device Ahmad Fatoum
2022-08-08 14:00 ` [PATCH master v3 2/4] drivers: power: ignore power domains with barebox,allow-dummy Ahmad Fatoum
2022-08-08 14:00 ` [PATCH master v3 3/4] ARM: i.MX8MM: assume USBOTG power domains to be powered Ahmad Fatoum
2022-08-08 14:00 ` Ahmad Fatoum [this message]
2022-08-09  4:35 ` [PATCH master v3 1/4] soc: imx: gpcv2: associate PGC device tree node with platform device 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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