* [PATCH] ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity
@ 2020-01-15 15:17 Michal Vokáč
2020-02-13 2:15 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Michal Vokáč @ 2020-01-15 15:17 UTC (permalink / raw)
To: Rob Herring, Shawn Guo
Cc: Mark Rutland, Sascha Hauer, Fabio Estevam, devicetree,
linux-kernel, Michal Vokáč
After reset the oc protection polarity is set to active high on imx6.
If the polarity is not specified in device tree it is not changed.
The imx6dl-yapp4 platform uses an active-low oc signal so explicitly
configure that in the device tree.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index b494042e2d8f..fb6ce6d662bc 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -563,6 +563,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
vbus-supply = <®_usb_h1_vbus>;
+ over-current-active-low;
status = "disabled";
};
@@ -570,6 +571,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg>;
vbus-supply = <®_usb_otg_vbus>;
+ over-current-active-low;
srp-disable;
hnp-disable;
adp-disable;
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity
2020-01-15 15:17 [PATCH] ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity Michal Vokáč
@ 2020-02-13 2:15 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-02-13 2:15 UTC (permalink / raw)
To: Michal Vokáč
Cc: Rob Herring, Mark Rutland, Sascha Hauer, Fabio Estevam,
devicetree, linux-kernel
On Wed, Jan 15, 2020 at 04:17:28PM +0100, Michal Vokáč wrote:
> After reset the oc protection polarity is set to active high on imx6.
> If the polarity is not specified in device tree it is not changed.
>
> The imx6dl-yapp4 platform uses an active-low oc signal so explicitly
> configure that in the device tree.
>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-13 2:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 15:17 [PATCH] ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity Michal Vokáč
2020-02-13 2:15 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).