From f9831016c883b5593a128196f0ec54cbb2902f87 Mon Sep 17 00:00:00 2001 From: Rohith Kollalsi Date: Sat, 5 Jun 2021 12:07:50 +0530 Subject: [PATCH] ARM: dts: msm: Add support for usb nodes on blair Set usb mode as otg and also add support for dpdm supply, usb charger. Remove the core id as there is only 1 core being used. Change-Id: I9b3dac927bfa0eca09fb1fc783f53c029ca94fb3 --- qcom/blair-usb.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qcom/blair-usb.dtsi b/qcom/blair-usb.dtsi index e5d935f4bcf9..7c707b10f214 100644 --- a/qcom/blair-usb.dtsi +++ b/qcom/blair-usb.dtsi @@ -33,6 +33,8 @@ reset-names = "core_reset"; USB3_GDSC-supply = <&gcc_usb30_prim_gdsc>; + dpdm-supply = <&qusb_phy0>; + qcom,usb-charger; qcom,core-clk-rate = <133333333>; qcom,core-clk-rate-hs = <66666667>; @@ -56,14 +58,13 @@ tx-fifo-resize; linux,sysdev_is_parent; snps,disable-clk-gating; + snps,is-utmi-l1-suspend; snps,dis_u2_susphy_quirk; - snps,dis_enblslpm_quirk; snps,has-lpm-erratum; snps,hird-threshold = /bits/ 8 <0x10>; snps,usb3_lpm_capable; - usb-core-id = <0>; maximum-speed = "super-speed"; - dr_mode = "drd"; + dr_mode = "otg"; }; };