summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-08-08 16:00:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-09 06:34:53 +0200
commit7b62fbc63218e1093594da7cd5ae577392bf088e (patch)
tree49eb8a044fdc03f73f26ba8f6ec1cf8640a14eea
parent07fd5bca86d65531968a4d30341a89f878df9e31 (diff)
downloadbarebox-7b62fbc63218e1093594da7cd5ae577392bf088e.tar.gz
barebox-7b62fbc63218e1093594da7cd5ae577392bf088e.tar.xz
ARM: i.MX8MN: assume USBOTG power domains to be powered
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 <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220808140035.1672733-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/imx8mn-evk.dts1
-rw-r--r--arch/arm/dts/imx8mn.dtsi5
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.dts
index b8e7e1acf5..23f80f8686 100644
--- a/arch/arm/dts/imx8mn-evk.dts
+++ b/arch/arm/dts/imx8mn-evk.dts
@@ -7,6 +7,7 @@
/dts-v1/;
#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 0000000000..176125e73b
--- /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;
+};