ARM: dts: imx6dl: alti6p: fix different USB related warnings
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 30 May 2023 12:03:39 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 13:07:15 +0000 (21:07 +0800)
Fix USB-related warnings in imx6dl alti6p device tree by disabling
unused usbphynop1 and usbphynop2 USB PHYs and properly configuring
over-current detection on related ports. This fixes the following
warnings with the current kernel:
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/imx6dl-alti6p.dts

index e6a4e27706400b2f8a6ec76e3414053d86873871..4989e8d069a1c593539ce431685ff76f5bdc962e 100644 (file)
        pinctrl-0 = <&pinctrl_usbh1>;
        phy_type = "utmi";
        dr_mode = "host";
+       over-current-active-low;
        status = "okay";
 };
 
        pinctrl-0 = <&pinctrl_usbotg>;
        phy_type = "utmi";
        dr_mode = "host";
+       over-current-active-low;
        status = "okay";
 };
 
+&usbphynop1 {
+       status = "disabled";
+};
+
+&usbphynop2 {
+       status = "disabled";
+};
+
 &usdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc1>;