AnsweredAssumed Answered

linux usbotg vbus regulator device tree

Question asked by christoph8446 on May 17, 2018
Latest reply on May 21, 2018 by christoph8446



Can you please explain what the device tree Settings below will make? I use the

PAD_KEY_ROW4__GPIO4_IO15 in u-boot to switch on 5v on vbus via IC.


Can the USB_OTG_VBUS pin on i.MX6 also provide 5V via the vbus regulator-fixed settings in device tree or where does the Regulator provide it's Output? 


 vbus1_regulator: regulator@1 {
     compatible = "regulator-fixed";
     regulator-name = "vbus1_regulator";
     regulator-min-microvolt = <5000000>;
     regulator-max-microvolt = <5000000>;
     gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;


&usbotg {
 /*vbus-supply = <&vbus1_regulator>;*/
 dr_mode = "host";
 status = "okay";