diff mbox series

[3/4] dt-bindings: power: rpmpd: Add MSM8953 to rpmpd binding

Message ID 20210825170233.19859-1-sireeshkodali1@gmail.com
State New
Headers show
Series Add MSM8953 RPM support | expand

Commit Message

Sireesh Kodali Aug. 25, 2021, 5:02 p.m. UTC
From: Vladimir Lypak <vladimir.lypak@gmail.com>

Add compatible and constants for the power domains exposed by the RPM
in the Qualcomm MSM8953 platform.

Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Signed-off-by: Adam Skladowski <a_skl39@protonmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
---
 Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
 include/dt-bindings/power/qcom-rpmpd.h                  | 9 +++++++++
 2 files changed, 10 insertions(+)

Comments

Rob Herring Aug. 31, 2021, 8:03 p.m. UTC | #1
On Wed, 25 Aug 2021 22:32:32 +0530, Sireesh Kodali wrote:
> From: Vladimir Lypak <vladimir.lypak@gmail.com>

> 

> Add compatible and constants for the power domains exposed by the RPM

> in the Qualcomm MSM8953 platform.

> 

> Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>

> Signed-off-by: Adam Skladowski <a_skl39@protonmail.com>

> Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>

> ---

>  Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +

>  include/dt-bindings/power/qcom-rpmpd.h                  | 9 +++++++++

>  2 files changed, 10 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 239f37881cae..996ddd360de9 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -19,6 +19,7 @@  properties:
       - qcom,mdm9607-rpmpd
       - qcom,msm8916-rpmpd
       - qcom,msm8939-rpmpd
+      - qcom,msm8953-rpmpd
       - qcom,msm8976-rpmpd
       - qcom,msm8994-rpmpd
       - qcom,msm8996-rpmpd
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 4533dbbf9937..f367cf6fedf3 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -133,6 +133,15 @@ 
 #define MSM8916_VDDMX		3
 #define MSM8916_VDDMX_AO	4
 
+/* MSM8953 Power Domain Indexes */
+#define MSM8953_VDDMD		0
+#define MSM8953_VDDMD_AO	1
+#define MSM8953_VDDCX		2
+#define MSM8953_VDDCX_AO	3
+#define MSM8953_VDDCX_VFL	4
+#define MSM8953_VDDMX		5
+#define MSM8953_VDDMX_AO	6
+
 /* MSM8976 Power Domain Indexes */
 #define MSM8976_VDDCX		0
 #define MSM8976_VDDCX_AO	1