Move the power domain to its actual user. This keeps the power domain enabled even when the USB host is runtime suspended. This is necessary to detect any downstream events, like device attach.
Unified · Split
| @@ -120,6 +120,7 @@ · 119 unmodified lines | ||
| 120 | 120 | compatible = "usb-nop-xceiv"; |
| 121 | 121 | clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>; |
| 122 | 122 | clock-names = "main_clk"; |
| 123 | + power-domains = <&pgc_hsic_phy>; | |
| 123 | 124 | #phy-cells = <0>; |
| 124 | 125 | }; |
| 125 | 126 | |
| @@ -1153,7 +1154,6 @@ · 1027 unmodified lines | ||
| 1153 | 1154 | compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; |
| 1154 | 1155 | reg = <0x30b30000 0x200>; |
| 1155 | 1156 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 1156 | − power-domains = <&pgc_hsic_phy>; | |
| 1157 | 1157 | clocks = <&clks IMX7D_USB_CTRL_CLK>; |
| 1158 | 1158 | fsl,usbphy = <&usbphynop3>; |
| 1159 | 1159 | fsl,usbmisc = <&usbmisc3 0>; |