ARM: dts: colibri-imx6: Disable usb over-current
authorPhilippe Schenker <philippe.schenker@toradex.com>
Tue, 22 Nov 2022 15:54:35 +0000 (16:54 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 31 Dec 2022 07:33:33 +0000 (15:33 +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 imx6qdl-colibri.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/arm/boot/dts/imx6dl-colibri-aster.dts
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
arch/arm/boot/dts/imx6dl-colibri-iris.dts
arch/arm/boot/dts/imx6qdl-colibri.dtsi

index a28e083..82a0d1a 100644 (file)
 };
 
 &usbh1 {
+       disable-over-current;
        status = "okay";
 };
 
 &usbotg {
+       disable-over-current;
        status = "okay";
 };
 
index a02981d..f50a26d 100644 (file)
 };
 
 &usbh1 {
+       disable-over-current;
        status = "okay";
 };
 
 &usbotg {
+       disable-over-current;
        status = "okay";
 };
 
index c5797ff..4303c88 100644 (file)
 };
 
 &usbh1 {
+       disable-over-current;
        status = "okay";
 };
 
 &usbotg {
+       disable-over-current;
        status = "okay";
 };
 
index d8f985f..f894d69 100644 (file)
 
 /* Colibri USBC */
 &usbotg {
-       disable-over-current;
        dr_mode = "otg";
        extcon = <0>, <&extcon_usbc_det>;
        status = "disabled";