From e4529d0303448688cc38d51a10aaa66ffa2436f1 Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 20 Jan 2020 14:52:00 -0800 Subject: [PATCH] ARM: dts: msm: add a CX, MX and MMCX Turbo level proxy request for Lahaina Add proxy-consumer properties to the VDD_MMCX rpmh-regulator device node so that VDD_MMCX is kept enabled starting from early in the application processor's boot sequence. This avoids issues when accessing multimedia clock controller registers at initialization time. Additionally, add proxy-consumer properties to the VDD_CX and VDD_MX device nodes to avoid potential issues caused by a clock voting for a lower voltage level than what is physically required by a clock that is initialized at a later point. Change-Id: I4de02193c6d1e29664e9cb3198b56dca9956ccce --- qcom/lahaina-regulators.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/qcom/lahaina-regulators.dtsi b/qcom/lahaina-regulators.dtsi index fdda41488d4e..470e2575ff7e 100644 --- a/qcom/lahaina-regulators.dtsi +++ b/qcom/lahaina-regulators.dtsi @@ -5,6 +5,7 @@ rpmh-regulator-mxclvl { compatible = "qcom,rpmh-arc-regulator"; qcom,resource-name = "mxc.lvl"; + proxy-supply = <&VDD_MXC_LEVEL>; VDD_MXC_LEVEL: S9B_LEVEL: pm8350_s9_level: regulator-pm8350-s9-level { @@ -16,6 +17,10 @@ ; qcom,init-voltage-level = ; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-voltage = + ; regulator-always-on; }; @@ -37,6 +42,7 @@ qcom,resource-name = "mx.lvl"; pm8350_s5_level-parent-supply = <&VDD_MXC_LEVEL>; pm8350_s5_level_ao-parent-supply = <&VDD_MXC_LEVEL_AO>; + proxy-supply = <&VDD_MXA_LEVEL>; VDD_MXA_LEVEL: S5B_LEVEL: pm8350_s5_level: regulator-pm8350-s5-level { @@ -49,6 +55,10 @@ qcom,init-voltage-level = ; qcom,min-dropout-voltage-level = <(-1)>; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-voltage = + ; regulator-always-on; }; @@ -343,6 +353,7 @@ qcom,resource-name = "cx.lvl"; pm8350c_s6_level-parent-supply = <&VDD_MXA_LEVEL>; pm8350c_s6_level_ao-parent-supply = <&VDD_MXA_LEVEL_AO>; + proxy-supply = <&VDD_CX_LEVEL>; VDD_CX_LEVEL: S6C_LEVEL: pm8350c_s6_level: regulator-pm8350c-s6-level { @@ -355,6 +366,10 @@ qcom,init-voltage-level = ; qcom,min-dropout-voltage-level = <(-1)>; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-voltage = + ; regulator-always-on; }; @@ -377,6 +392,7 @@ qcom,resource-name = "mmcx.lvl"; pm8350c_s8_level-parent-supply = <&VDD_MXA_LEVEL>; pm8350c_s8_level_ao-parent-supply = <&VDD_MXA_LEVEL_AO>; + proxy-supply = <&VDD_MMCX_LEVEL>; VDD_MMCX_LEVEL: S8C_LEVEL: VDD_MM_LEVEL: pm8350c_s8_level: regulator-pm8350c-s8-level { @@ -389,6 +405,10 @@ qcom,init-voltage-level = ; qcom,min-dropout-voltage-level = <(-1)>; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-voltage = + ; regulator-always-on; };