arm64: dts: verdin-imx8mm: Disable usb over-current
authorPhilippe Schenker <philippe.schenker@toradex.com>
Tue, 22 Nov 2022 15:54:38 +0000 (16:54 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 31 Dec 2022 07:34:02 +0000 (15:34 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi

index c2a5c2f7b204b9f41f193375201b996b38e5c1c1..0360f6a08d30046237bb0a9e64f51cfd0c9304a7 100644 (file)
 
 /* Verdin USB_1 */
 &usbotg1 {
+       disable-over-current;
        status = "okay";
 };
 
 /* Verdin USB_2 */
 &usbotg2 {
+       disable-over-current;
        status = "okay";
 };
 
index 0d454e0e2f7c8b2f24f5d789e328eeb98b5b5321..0680cee9aeb08ff7f50f376e131f6e2c51e06267 100644 (file)
        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;
 /* 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>;