]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: dts: imx8mn: Correct the usb power domain
authorLi Jun <jun.li@nxp.com>
Mon, 26 Sep 2022 11:45:35 +0000 (19:45 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Oct 2022 08:26:31 +0000 (16:26 +0800)
pgc_otg1 is actual the power domain of usb PHY, usb controller
is in hsio power domain, and pgc_otg1 is required to be powered
up to detect usb remote wakeup, so move the pgc_otg1 power domain
to the usb phy node.

Fixes: ea2b5af58ab2 ("arm64: dts: imx8mn: put USB controller into power-domains")
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index 950f432627fe875d057bbdfc4c2592af792e1f93..ad0b99adf691167994194b71fe82795606004177 100644 (file)
                                assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
                                phys = <&usbphynop1>;
                                fsl,usbmisc = <&usbmisc1 0>;
-                               power-domains = <&pgc_otg1>;
+                               power-domains = <&pgc_hsiomix>;
                                status = "disabled";
                        };
 
                assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
                assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
                clock-names = "main_clk";
+               power-domains = <&pgc_otg1>;
        };
 };