Commit 4763009e authored by Philippe Schenker's avatar Philippe Schenker Committed by Shawn Guo
Browse files

arm64: dts: verdin-imx8mm: Disable usb over-current



Disable usb over-current of the chipidea driver on all Carrier-Boards
used by Toradex. Do this as we don't want to use this functionality on
our Carrier Boards and to leave it open to someone who includes our
module-level device-trees.

Remove the now obsolete disable-over-current flag from module-level
device-tree imx8mm-verdin.dtsi and leave it as already mentioned to
the people actually implementing the carrier-board to implement this.

This will prevent the warning "No over current polarity defined" from
being printed on boot.

Signed-off-by: default avatarPhilippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b579e901
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -136,11 +136,13 @@ &uart3 {

/* Verdin USB_1 */
&usbotg1 {
	disable-over-current;
	status = "okay";
};

/* Verdin USB_2 */
&usbotg2 {
	disable-over-current;
	status = "okay";
};

+0 −2
Original line number Diff line number Diff line
@@ -741,7 +741,6 @@ &usbotg1 {
	adp-disable;
	dr_mode = "otg";
	hnp-disable;
	over-current-active-low;
	samsung,picophy-dc-vol-level-adjust = <7>;
	samsung,picophy-pre-emp-curr-control = <3>;
	srp-disable;
@@ -751,7 +750,6 @@ &usbotg1 {
/* Verdin USB_2 */
&usbotg2 {
	dr_mode = "host";
	over-current-active-low;
	samsung,picophy-dc-vol-level-adjust = <7>;
	samsung,picophy-pre-emp-curr-control = <3>;
	vbus-supply = <&reg_usb_otg2_vbus>;