summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-10-26 11:59:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-10-27 10:47:15 +0200
commitf4c9a52bd9ff659f035e95eed946d37f4f94dfef (patch)
treeec66d784043992b96828cd86ef18d1ca2d75af76 /arch
parentefd11c87a4102e8323060e71b71177a174f11f67 (diff)
downloadbarebox-f4c9a52bd9ff659f035e95eed946d37f4f94dfef.tar.gz
barebox-f4c9a52bd9ff659f035e95eed946d37f4f94dfef.tar.xz
usb: imx: implement support for "over-current-active-high" property
This property is already documented in the bindings and supported by Linux. As on i.MX25 the HW default is active high and up to now barebox didn't force this to low (which is the default for e.g. i.MX6), add the property to barebox' imx25.dtsi to keep existing behaviour. If on a board the OC pin is active low, you need to add /delete-property/ over-current-active-high; in the board.dts. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx25.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/imx25.dtsi b/arch/arm/dts/imx25.dtsi
index 13fbcc4f8d..2e069e6f03 100644
--- a/arch/arm/dts/imx25.dtsi
+++ b/arch/arm/dts/imx25.dtsi
@@ -29,3 +29,11 @@
&usbmisc {
status = "okay";
};
+
+&usbotg {
+ over-current-active-high;
+};
+
+&usbhost1 {
+ over-current-active-high;
+};