[PATCH 2/5] ARM: dts: qcom: add charger otg regulator

Stephen Boyd stephen.boyd at linaro.org
Thu Jan 26 16:47:25 PST 2017


From: "Bird, Tim" <Tim.Bird at sonymobile.com>

Add the otg regulator provided by the charger block.

Signed-off-by: Tim Bird <tim.bird at sonymobile.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>
[stephen.boyd at linaro.org: Fix otg supply property name]
Signed-off-by: Stephen Boyd <stephen.boyd at linaro.org>
---
 arch/arm/boot/dts/qcom-pm8941.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi
index f8eb5e31c920..6b16b296f0fa 100644
--- a/arch/arm/boot/dts/qcom-pm8941.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8941.dtsi
@@ -45,6 +45,10 @@
 					  "chg-gone",
 					  "usb-valid",
 					  "dc-valid";
+
+			usb-otg-in-supply = <&pm8941_5vs1>;
+
+			chg_otg: otg-vbus { };
 		};
 
 		pm8941_gpios: gpios at c000 {
-- 
2.10.0.297.gf6727b0




More information about the linux-arm-kernel mailing list