From 47a0cb5019d8d4b5bd86f43676b7834d141975e1 Mon Sep 17 00:00:00 2001 From: Kavya Nunna Date: Thu, 23 Jan 2025 16:01:51 +0530 Subject: [PATCH] ARM: dts: msm: Update regulator support for tuna Add RET mode support for L2G/L3G for tuna platforms as per the sleep setting recommendation. While at it set init mode as LPM for L3G and L6K regulators. As clients always vote for 0 load, the regulator framework will not apply it and the HPM init-mode will not change, leading to higher power consumption. So update the LPM for L3G and L6K regulators. Change-Id: I5b210ac3e9ffee94889c2390becfaa5eb6c235ab Signed-off-by: Kavya Nunna --- qcom/tuna-regulators.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/qcom/tuna-regulators.dtsi b/qcom/tuna-regulators.dtsi index 8071f35e..69aa634c 100644 --- a/qcom/tuna-regulators.dtsi +++ b/qcom/tuna-regulators.dtsi @@ -953,9 +953,10 @@ qcom,resource-name = "ldog2"; qcom,regulator-type = "pmic5-ldo"; qcom,supported-modes = - ; - qcom,mode-threshold-currents = <0 30000>; + qcom,mode-threshold-currents = <0 10000 30000>; L2G: pm_v6g_l2: vreg-pm_v6g-l2 { regulator-name = "pm_v6g_l2"; @@ -973,9 +974,10 @@ qcom,resource-name = "ldog3"; qcom,regulator-type = "pmic5-ldo"; qcom,supported-modes = - ; - qcom,mode-threshold-currents = <0 30000>; + qcom,mode-threshold-currents = <0 10000 30000>; L3G: pm_v6g_l3: vreg-pm_v6g-l3 { regulator-name = "pm_v6g_l3"; @@ -983,7 +985,7 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; qcom,init-voltage = <1800000>; - qcom,init-mode = ; + qcom,init-mode = ; }; }; @@ -1123,7 +1125,7 @@ regulator-min-microvolt = <1100000>; regulator-max-microvolt = <2000000>; qcom,init-voltage = <1776000>; - qcom,init-mode = ; + qcom,init-mode = ; }; };