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

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

From: festevam@gmail.com (Fabio Estevam)
Date: 2017-06-16 03:41:48
Also in: linux-devicetree

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help