Skip to content

Commit

Permalink
arm64: dts: verdin-imx8mm: add otg2 pd to usbphy
Browse files Browse the repository at this point in the history
[ Upstream commit 2fa24aa ]

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: 6a57f22 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Philippe Schenker authored and gregkh committed Sep 15, 2022
1 parent 60a7ee2 commit 0c64a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
Expand Up @@ -737,6 +737,7 @@
};

&usbphynop2 {
power-domains = <&pgc_otg2>;
vcc-supply = <&reg_vdd_3v3>;
};

Expand Down

0 comments on commit 0c64a21

Please sign in to comment.