From 2c23f45466a311ad3b994a32201a669b9140b107 Mon Sep 17 00:00:00 2001 From: Kavya Nunna Date: Sun, 19 Jan 2025 12:10:50 +0530 Subject: [PATCH] ARM: dts: msm: Add mode thresholds for S2B for tuna Add mode voting support for S2B for tuna platforms. Update the retention threshold to 50ma as per the HW recommendations. UFS needs to do mode vote on vccq parent, add mode vote for S2B for tuna. Change-Id: I3101f3f1fb0255bdee94d4b854f7b8c73186a035 Signed-off-by: Kavya Nunna --- qcom/tuna-regulators.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/tuna-regulators.dtsi b/qcom/tuna-regulators.dtsi index 1584b18b..32bfa254 100644 --- a/qcom/tuna-regulators.dtsi +++ b/qcom/tuna-regulators.dtsi @@ -22,6 +22,10 @@ rpmh-regulator-smpb2 { compatible = "qcom,rpmh-vrm-regulator"; qcom,resource-name = "smpb2"; + qcom,regulator-type = "pmic5-ftsmps"; + qcom,supported-modes = ; + qcom,mode-threshold-currents = <0 50000>; S2B: pmxr2230_s2: vreg-pmxr2230-s2 { regulator-name = "pmxr2230_s2"; @@ -29,6 +33,7 @@ regulator-min-microvolt = <1240000>; regulator-max-microvolt = <1408000>; qcom,init-voltage = <1240000>; + qcom,init-mode = ; }; };