summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2022-08-11 16:07:38 +0200
committerAndrejs Cainikovs <andrejs.cainikovs@toradex.com>2022-10-06 14:58:20 +0200
commit6e440a8fa4391a3b00234a3061241fcc495eb906 (patch)
tree1923eeea4eef77fe6b8811607ae04e73e9ae7726
parent9aa05c24e4ac963a4c7d667b53a4ef51db0b6a1e (diff)
arm64: dts: verdin-imx8mm: add otg2 pd to usbphy
The Verdin iMX8M Mini System on Module does not have USB-ID signal connected on Verdin USB_2 (usbotg2). On Verdin Development board this is no problem, as we have connected a USB-Hub that is always connected. However, if Verdin USB_2 is desired to be used as a single USB-Host port the chipidea driver does not detect if a USB device is plugged into this port, due to runtime pm shutting down the PHY. Add the power-domain &pgc_otg2 to &usbphynop2 in order to detect plugging events and enumerate the usb device. Fixes: 6a57f224f734 ("arm64: dts: freescale: add initial support for verdin imx8m mini") Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Upstream-Status: Backport [2fa24aa721ebb3a83dd2093814ba9a5dcdaa3183]
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
index eb9cf2576bf7..82f9a4e56348 100755
--- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
@@ -768,6 +768,7 @@
};
&usbphynop2 {
+ power-domains = <&usb_otg2_pd>;
vcc-supply = <&reg_aux_usb>;
};