From f55f34eb031843bff3b6d5c645a67ee7b8492b7f Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Tue, 7 Apr 2020 11:19:44 -0700 Subject: [PATCH] ARM: dts: msm: Add charger reference to USB node on Lahaina Add a reference to the battery charger device to the primary USB node so that USB driver can indicate the amount of current to draw when connected to an SDP and enumerated as a peripheral. Change-Id: I2d77e6a6a6adea06e5ef4e0aaae5d703ec9475a8 --- qcom/lahaina-usb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/lahaina-usb.dtsi b/qcom/lahaina-usb.dtsi index 0344eca069ec..179ec378f3e8 100644 --- a/qcom/lahaina-usb.dtsi +++ b/qcom/lahaina-usb.dtsi @@ -54,6 +54,8 @@ <&aggre1_noc MASTER_USB3_0 &config_noc SLAVE_IPA_CFG>, <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_USB3_0>; + qcom,usb-charger = <&battery_charger>; + dwc3@a600000 { compatible = "snps,dwc3"; reg = <0xa600000 0xd93c>;