From 665b6845d699182c1fa652cccb3d3948e3e85c36 Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Thu, 17 Sep 2020 11:03:01 +0800 Subject: [PATCH] arm/dts: Disable xhci hardware lpm PROPAGATED_from (CR) Disable xhci hardware lpm for external usb stick support issue. (pick from https://gerrit.mot.com/#/c/1427796/) Change-Id: I849888e75e8cc4588c7ae3f69cecf18d41308ffa Signed-off-by: wangyq13 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Zonghua Liu Reviewed-by: Lu Chai Reviewed-by: Yuecai Liu Reviewed-by: Huosheng Liao Submit-Approved: Jira Key Signed-off-by: Robert Cabral Reviewed-on: https://gerrit.mot.com/1859224 --- qcom/bengal-borneo-common-overlay.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qcom/bengal-borneo-common-overlay.dtsi b/qcom/bengal-borneo-common-overlay.dtsi index ec18fe9354a2..1eedbd0edb0e 100644 --- a/qcom/bengal-borneo-common-overlay.dtsi +++ b/qcom/bengal-borneo-common-overlay.dtsi @@ -295,6 +295,18 @@ status = "disabled"; }; +&usb_qmp_phy { + status = "disabled"; +}; + +&usb0 { + dwc3@4e00000 { + usb-phy = <&qusb_phy0>, <&usb_nop_phy>; + maximum-speed = "high-speed"; + xhci-hw-lpm-disable; + }; +}; + &qusb_phy0 { qcom,qusb-phy-init-seq = <0xf8 0x80 0xb3 0x84