[v1,5/5] arm64: dts: verdin-imx8mm: Disable usb over-current
Commit Message
From: Philippe Schenker <philippe.schenker@toradex.com>
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: Philippe Schenker <philippe.schenker@toradex.com>
---
arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi | 2 ++
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -136,11 +136,13 @@ &uart3 {
/* Verdin USB_1 */
&usbotg1 {
+ disable-over-current;
status = "okay";
};
/* Verdin USB_2 */
&usbotg2 {
+ disable-over-current;
status = "okay";
};
@@ -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 = <®_usb_otg2_vbus>;