CONFIG_REGULATOR=y
# CONFIG_REGULATOR_CPR3 is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=y
-CONFIG_REGULATOR_USERSPACE_CONSUMER=y
# CONFIG_REGULATOR_VQMMC_IPQ4019 is not set
CONFIG_RELOCATABLE=y
CONFIG_REMOTEPROC=y
gpio-export,output = <1>;
gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
};
-
- usb-vbus {
- gpio-export,name = "usb_vbus";
- gpio-export,output = <0>;
- gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
- };
};
keys {
gpios = <&led_gpio 11 GPIO_ACTIVE_HIGH>;
};
};
+
+ usb_vbus: regulator-usb-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&tlmm 9 GPIO_ACTIVE_LOW>;
+ regulator-boot-on;
+ };
};
&tlmm {
&qusb_phy_1 {
status = "okay";
+
+ vdd-supply = <&usb_vbus>;
};
&ssphy_0 {
enable-active-high;
regulator-boot-on;
};
-
- output-usb0-power {
- compatible = "regulator-output";
- vout-supply = <&usb0_vbus>;
- };
-
- output-usb1-power {
- compatible = "regulator-output";
- vout-supply = <&usb1_vbus>;
- };
};
&cpu0_thermal {
&qusb_phy_0 {
status = "okay";
+
+ vdda-phy-supply = <&usb0_vbus>;
};
&ssphy_1 {
&qusb_phy_1 {
status = "okay";
+
+ vdda-phy-supply = <&usb1_vbus>;
};
&usb_0 {