From 838b8c9cf168948797df5856b20a74324090a5cc Mon Sep 17 00:00:00 2001 From: Pratham Pratap Date: Tue, 21 Jul 2020 19:10:37 +0530 Subject: [PATCH] ARM: dts: msm: Add charger reference to USB node on Shima 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: Ic00a85166a26b266b4bf1492115b228a9f692d7b --- qcom/shima-usb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/shima-usb.dtsi b/qcom/shima-usb.dtsi index 461833a23fef..6b3740ca1940 100644 --- a/qcom/shima-usb.dtsi +++ b/qcom/shima-usb.dtsi @@ -49,6 +49,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>;