From 28410d8939c0789ddc4d1bc99f1c32cd756d809d Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Fri, 13 Dec 2019 17:34:56 -0800 Subject: [PATCH] ARM: dts: msm: add proxy votes for display regulators This change adds a proxy vote for MDSS GDSC, refgen and supplies to support amoled displays. This is needed for continuous splash screen usecases. Change-Id: Id59ee3f639a78180ac4dd1ccc809fa8d60c2f28e --- qcom/lahaina-regulators.dtsi | 8 ++++++++ qcom/lahaina.dtsi | 2 ++ 2 files changed, 10 insertions(+) diff --git a/qcom/lahaina-regulators.dtsi b/qcom/lahaina-regulators.dtsi index 10b63db17122..957732c9276b 100644 --- a/qcom/lahaina-regulators.dtsi +++ b/qcom/lahaina-regulators.dtsi @@ -692,6 +692,7 @@ ; qcom,mode-threshold-currents = <0 10000>; + proxy-supply = <&pm8350c_l12>; L12C: pm8350c_l12: regulator-pm8350c-l12 { regulator-name = "pm8350c_l12"; qcom,set = ; @@ -699,6 +700,8 @@ regulator-max-microvolt = <1800000>; qcom,init-voltage = <1800000>; qcom,init-mode = ; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-current = <243000>; }; }; @@ -710,6 +713,7 @@ ; qcom,mode-threshold-currents = <0 10000>; + proxy-supply = <&pm8350c_l13>; L13C: pm8350c_l13: regulator-pm8350c-l13 { regulator-name = "pm8350c_l13"; qcom,set = ; @@ -717,6 +721,8 @@ regulator-max-microvolt = <3000000>; qcom,init-voltage = <3000000>; qcom,init-mode = ; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-current = <10000>; }; }; @@ -918,6 +924,8 @@ compatible = "qcom,refgen-kona-regulator"; reg = <0x88e7000 0x84>; regulator-name = "refgen"; + proxy-supply = <&refgen>; + qcom,proxy-consumer-enable; regulator-enable-ramp-delay = <5>; }; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index f0e889fbe2aa..b1c8444d74b4 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -951,6 +951,8 @@ vdd_parent-supply = <&VDD_MM_LEVEL>; qcom,support-hw-trigger; qcom,retain-regs; + proxy-supply = <&disp_cc_mdss_core_gdsc>; + qcom,proxy-consumer-enable; }; /* GCC GDSCs */