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.