summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSibi Sankar <sibis@codeaurora.org>2019-11-18 18:40:15 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-12-12 08:27:56 +0100
commit52a4cb577bde6e69fae451c10c8b2ec69033263a (patch)
treed168854014b6b17237ee235c6d01345ff0f2deae /include
parentsoc: qcom: rpmhpd: Add SM8150 RPMH power-domains (diff)
downloadlinux-52a4cb577bde6e69fae451c10c8b2ec69033263a.tar.xz
linux-52a4cb577bde6e69fae451c10c8b2ec69033263a.zip
dt-bindings: power: Add rpmh power-domain bindings for sc7180
Add RPMH power-domain bindings for the SC7180 family of SoCs. Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sibi Sankar <sibis@codeaurora.org> Link: https://lore.kernel.org/r/0101016e7f99ca4e-47d442f4-b923-4eea-b812-898e5476beab-000000@us-west-2.amazonses.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/power/qcom-rpmpd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 7d43bafc0026..3f74096d5a7c 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -28,6 +28,16 @@
#define SM8150_MMCX 9
#define SM8150_MMCX_AO 10
+/* SC7180 Power Domain Indexes */
+#define SC7180_CX 0
+#define SC7180_CX_AO 1
+#define SC7180_GFX 2
+#define SC7180_MX 3
+#define SC7180_MX_AO 4
+#define SC7180_LMX 5
+#define SC7180_LCX 6
+#define SC7180_MSS 7
+
/* SDM845 Power Domain performance levels */
#define RPMH_REGULATOR_LEVEL_RETENTION 16
#define RPMH_REGULATOR_LEVEL_MIN_SVS 48