From 2747aa344fb16108e0301ef2a42b09712b36833f Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 18 May 2020 18:09:36 -0700 Subject: [PATCH] ARM: dts: msm: add proxy consumers for L6C and L9C regulators on Lahaina Add proxy consumer configurations for the SD card supply regulators PM8350C LDO 6 and 9 which ensure that these regulators will be automatically disabled in the case that bootloaders enable the regulators and HLOS APPS consumers make no requests for them. Also increase the L6C initial voltage to 2.96 V as this is a safe functional default voltage. Change-Id: I7d5cc58fe34307ac68b790b742144ec47153ad0b --- qcom/lahaina-regulators.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qcom/lahaina-regulators.dtsi b/qcom/lahaina-regulators.dtsi index ff6222a4a5ab..96130bfffee4 100644 --- a/qcom/lahaina-regulators.dtsi +++ b/qcom/lahaina-regulators.dtsi @@ -624,13 +624,16 @@ ; qcom,mode-threshold-currents = <0 10000>; + proxy-supply = <&pm8350c_l6>; L6C: pm8350c_l6: regulator-pm8350c-l6 { regulator-name = "pm8350c_l6"; qcom,set = ; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <2960000>; - qcom,init-voltage = <1800000>; + qcom,init-voltage = <2960000>; qcom,init-mode = ; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-current = <22000>; }; }; @@ -678,6 +681,7 @@ ; qcom,mode-threshold-currents = <0 10000>; + proxy-supply = <&pm8350c_l9>; L9C: pm8350c_l9: regulator-pm8350c-l9 { regulator-name = "pm8350c_l9"; qcom,set = ; @@ -685,6 +689,8 @@ regulator-max-microvolt = <3008000>; qcom,init-voltage = <2960000>; qcom,init-mode = ; + qcom,proxy-consumer-enable; + qcom,proxy-consumer-current = <800000>; }; };