aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2021-01-18 17:19:41 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-01-25 12:37:43 -0600
commit43eb76a2e56b94541293fc8192d6edf1d0ec8965 (patch)
tree6660110d19f40b2c429891f5e6b7f82979b8465c /include/dt-bindings/power
parentsoc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model() (diff)
downloadlinux-dev-43eb76a2e56b94541293fc8192d6edf1d0ec8965.tar.xz
linux-dev-43eb76a2e56b94541293fc8192d6edf1d0ec8965.zip
drivers: soc: qcom: rpmpd: Add msm8994 RPM Power Domains
MSM8994 uses similar to MSM8996, legacy-style voltage control, but does not include a VDD_SC_CX line. This setup is also correct for MSM8992. Do note that there exist some boards that use a tertiary PMIC (most likely pm8004), where SMPB on VDDGFX becomes SMPC. I cannot test this configuration though. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210118161943.105733-1-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/qcom-rpmpd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 7714487ac76b..d711e250cf2c 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -94,6 +94,15 @@
#define MSM8976_VDDMX_AO 4
#define MSM8976_VDDMX_VFL 5
+/* MSM8994 Power Domain Indexes */
+#define MSM8994_VDDCX 0
+#define MSM8994_VDDCX_AO 1
+#define MSM8994_VDDCX_VFC 2
+#define MSM8994_VDDMX 3
+#define MSM8994_VDDMX_AO 4
+#define MSM8994_VDDGFX 5
+#define MSM8994_VDDGFX_VFC 6
+
/* MSM8996 Power Domain Indexes */
#define MSM8996_VDDCX 0
#define MSM8996_VDDCX_AO 1