Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: apalis-imx6: 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 imx6qdl-apalis.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>

authored by

Philippe Schenker and committed by
Shawn Guo
242daa52 63e1654d

+6 -1
+2
arch/arm/boot/dts/imx6q-apalis-eval.dts
··· 147 147 }; 148 148 149 149 &usbh1 { 150 + disable-over-current; 150 151 vbus-supply = <&reg_usb_host_vbus>; 151 152 status = "okay"; 152 153 }; 153 154 154 155 &usbotg { 156 + disable-over-current; 155 157 vbus-supply = <&reg_usb_otg_vbus>; 156 158 status = "okay"; 157 159 };
+2
arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts
··· 202 202 }; 203 203 204 204 &usbh1 { 205 + disable-over-current; 205 206 vbus-supply = <&reg_usb_host_vbus>; 206 207 status = "okay"; 207 208 }; 208 209 209 210 &usbotg { 211 + disable-over-current; 210 212 vbus-supply = <&reg_usb_otg_vbus>; 211 213 status = "okay"; 212 214 };
+2
arch/arm/boot/dts/imx6q-apalis-ixora.dts
··· 151 151 }; 152 152 153 153 &usbh1 { 154 + disable-over-current; 154 155 vbus-supply = <&reg_usb_host_vbus>; 155 156 status = "okay"; 156 157 }; 157 158 158 159 &usbotg { 160 + disable-over-current; 159 161 vbus-supply = <&reg_usb_otg_vbus>; 160 162 status = "okay"; 161 163 };
-1
arch/arm/boot/dts/imx6qdl-apalis.dtsi
··· 824 824 }; 825 825 826 826 &usbotg { 827 - disable-over-current; 828 827 pinctrl-names = "default"; 829 828 pinctrl-0 = <&pinctrl_usbotg>; 830 829 status = "disabled";