Skip to content

Commit 1d14bd9

Browse files
oleremShawn Guo
authored andcommitted
ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
Fix USB-related warnings in prtrvt, prtvt7, prti6q and prtwd2 device trees by disabling unused usbphynop1 and usbphynop2 USB PHYs and providing proper configuration for the over-current detection. 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 By the way, fix over-current detection on usbotg port for prtvt7, prti6q and prtwd2 boards. Only prtrvt do not have OC on USB OTG port. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 31d682f commit 1d14bd9

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

arch/arm/boot/dts/imx6dl-prtrvt.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@
124124
status = "disabled";
125125
};
126126

127+
&usbotg {
128+
disable-over-current;
129+
};
130+
127131
&vpu {
128132
status = "disabled";
129133
};

arch/arm/boot/dts/imx6qdl-prti6q.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
vbus-supply = <&reg_usb_h1_vbus>;
7070
phy_type = "utmi";
7171
dr_mode = "host";
72+
disable-over-current;
7273
status = "okay";
7374
};
7475

@@ -78,10 +79,18 @@
7879
pinctrl-0 = <&pinctrl_usbotg>;
7980
phy_type = "utmi";
8081
dr_mode = "host";
81-
disable-over-current;
82+
over-current-active-low;
8283
status = "okay";
8384
};
8485

86+
&usbphynop1 {
87+
status = "disabled";
88+
};
89+
90+
&usbphynop2 {
91+
status = "disabled";
92+
};
93+
8594
&usdhc1 {
8695
pinctrl-names = "default";
8796
pinctrl-0 = <&pinctrl_usdhc1>;

0 commit comments

Comments
 (0)