The USB OTG controller cannot be used until the power-domain is enabled
unless it was started in the bootloader.
Adding the power-domain reference to the OTG node allows the OTG
controller to operate.
Signed-off-by: Adam Ford <[email protected]>
---
V2: No change
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index c37dee13057a..5e4b6934de40 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -968,6 +968,7 @@ usbotg1: usb@32e40000 {
assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
fsl,usbphy = <&usbphynop1>;
fsl,usbmisc = <&usbmisc1 0>;
+ power-domains = <&pgc_otg1>;
status = "disabled";
};
--
2.25.1
On Sat, Nov 07, 2020 at 08:00:24AM -0600, Adam Ford wrote:
> The USB OTG controller cannot be used until the power-domain is enabled
> unless it was started in the bootloader.
>
> Adding the power-domain reference to the OTG node allows the OTG
> controller to operate.
>
> Signed-off-by: Adam Ford <[email protected]>
> ---
> V2: No change
>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof