Add RPM Power domain bindings for the msm8998 family of SoC

Signed-off-by: Sibi Sankar <si...@codeaurora.org>
---
 .../devicetree/bindings/power/qcom,rpmpd.txt         |  1 +
 include/dt-bindings/power/qcom-rpmpd.h               | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt 
b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
index 172ccf940c5c..eb35b22f9e23 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
@@ -6,6 +6,7 @@ which then translates it into a corresponding voltage on a rail
 Required Properties:
  - compatible: Should be one of the following
        * qcom,msm8996-rpmpd: RPM Power domain for the msm8996 family of SoC
+       * qcom,msm8998-rpmpd: RPM Power domain for the msm8998 family of SoC
        * qcom,qcs404-rpmpd: RPM Power domain for the qcs404 family of SoC
        * qcom,sdm845-rpmhpd: RPMh Power domain for the sdm845 family of SoC
  - #power-domain-cells: number of cells in Power domain specifier
diff --git a/include/dt-bindings/power/qcom-rpmpd.h 
b/include/dt-bindings/power/qcom-rpmpd.h
index 450378662944..93e36d011527 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -36,6 +36,18 @@
 #define MSM8996_VDDSSCX                5
 #define MSM8996_VDDSSCX_VFC    6
 
+/* MSM8998 Power Domain Indexes */
+#define MSM8998_VDDCX          0
+#define MSM8998_VDDCX_AO       1
+#define MSM8998_VDDCX_VFL      2
+#define MSM8998_VDDMX          3
+#define MSM8998_VDDMX_AO       4
+#define MSM8998_VDDMX_VFL      5
+#define MSM8998_SSCCX          6
+#define MSM8998_SSCCX_VFL      7
+#define MSM8998_SSCMX          8
+#define MSM8998_SSCMX_VFL      9
+
 /* QCS404 Power Domains */
 #define QCS404_VDDMX           0
 #define QCS404_VDDMX_AO                1
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Reply via email to