arm64: dts: verdin-imx8mm: add otg2 pd to usbphy
authorPhilippe Schenker <philippe.schenker@toradex.com>
Thu, 11 Aug 2022 14:07:38 +0000 (16:07 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 22 Aug 2022 01:22:08 +0000 (09:22 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi

index 702bd55808c84461496fb57c83ba91626608c641..18ee5a2e6007f89b1a4861b840a39ac2be616d23 100644 (file)
 };
 
 &usbphynop2 {
+       power-domains = <&pgc_otg2>;
        vcc-supply = <&reg_vdd_3v3>;
 };