Thread (1 message) 1 message, 1 author, 2017-06-16

Re: [PATCH] ARM: dts: imx6qdl-wandboard: enable USB OTG

From: Fabio Estevam <hidden>
Date: 2017-06-16 03:41:48
Also in: linux-arm-kernel

Hi Alexander,

On Thu, Jun 15, 2017 at 3:41 AM, Alexander Kurz [off-list ref] wrote:
+
+               reg_usb_otg_vbus: usb_otg_vbus {
+                       compatible = "regulator-fixed";
+                       regulator-name = "usb_otg_vbus";
+                       regulator-min-microvolt = <5000000>;
+                       regulator-max-microvolt = <5000000>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_usbotgvbus>;
+                       gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
There is some inconsistency here:

If this regulator is driven by an active high GPIO then it needs the
'enable-active-high' property.

If 'enable-active-high' property is not passed and this VBUS is being
activated, then you should pass:
gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;

Please double check.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help