ARM: dts: imx6dl: vicut1: Address USB related warnings
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 30 May 2023 12:03:38 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 13:07:12 +0000 (21:07 +0800)
This patch addresses several USB-related warnings in the device tree for
the imx6dl vicut1 system. Specifically, it disables the unused
usbphynop1 and usbphynop2 USB PHYs, and disables unsupported
over-current detection. This action mitigates the following kernel
warnings:
usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
imx_usb 2184200.usb: No over-current polarity defined

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-vicut1.dtsi

index ca9c20e90bcf3c0d327e754877ad0dafdd4be045..96e4f4b0b248f47ba45bd40986f45f33e0ce6a8b 100644 (file)
        pinctrl-names = "default";
        phy_type = "utmi";
        dr_mode = "host";
+       disable-over-current;
        status = "okay";
 };
 
        status = "okay";
 };
 
+&usbphynop1 {
+       status = "disabled";
+};
+
+&usbphynop2 {
+       status = "disabled";
+};
+
 &usdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc1>;