From 7e0b3ec2b207ef4eb2ff5c6fa51506431543461c Mon Sep 17 00:00:00 2001 From: Mayank Rana Date: Thu, 20 Jan 2022 17:25:55 -0800 Subject: [PATCH] ARM: dts: msm: Add GDSC phandle with USB3 DP PHY node on Kalama USB3 DP PHY's power is control through GDSC. Hence add GDSC phandler with USB3 DP PHY node which is used by driver to power up and power down. Change-Id: I601bda390cba5dda7350b99bfcf55321dbc400bd --- bindings/usb/qcom,msm-phy.txt | 3 +++ qcom/kalama-usb.dtsi | 1 + 2 files changed, 4 insertions(+) diff --git a/bindings/usb/qcom,msm-phy.txt b/bindings/usb/qcom,msm-phy.txt index 36e1c0da..4ee13195 100644 --- a/bindings/usb/qcom,msm-phy.txt +++ b/bindings/usb/qcom,msm-phy.txt @@ -123,6 +123,8 @@ Optional properties: - extcon : phandle to external connector devices which provide type-C based "USB-HOST" cable events. This phandle is used for notifying number of lanes used in case of USB+DP concurrent mode to driver. + - usb3_dp_phy_gdsc-supply: phandle to GDSC regulator device tree node related + to USB QMP DP PHY. Example: ssphy0: ssphy@f9b38000 { @@ -134,6 +136,7 @@ Example: vdd-supply = <&pmd9635_l4>; vdda18-supply = <&pmd9635_l8>; qcom,vdd-voltage-level = <0 900000 1050000>; + usb3_dp_phy_gdsc-supply = <&gcc_usb3_phy_gdsc>; qcom,vbus-valid-override; clocks = <&clock_gcc clk_gcc_usb3_phy_aux_clk>, diff --git a/qcom/kalama-usb.dtsi b/qcom/kalama-usb.dtsi index e581abf2..941b256b 100644 --- a/qcom/kalama-usb.dtsi +++ b/qcom/kalama-usb.dtsi @@ -134,6 +134,7 @@ qcom,vdd-max-load-uA = <47000>; core-supply = <&pm_v6e_l3>; + usb3_dp_phy_gdsc-supply = <&gcc_usb3_phy_gdsc>; clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>, <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK_SRC>,