diff mbox series

[1/2] dt-bindings: power: rpmpd: Add sc7280 to rpmpd binding

Message ID 1614664092-9394-1-git-send-email-rnayak@codeaurora.org
State Accepted
Commit 9a3e49d749800e1f3e0185db0092d449a543843b
Headers show
Series [1/2] dt-bindings: power: rpmpd: Add sc7280 to rpmpd binding | expand

Commit Message

Rajendra Nayak March 2, 2021, 5:48 a.m. UTC
Add compatible and constants for the power domains exposed by the RPMH
in the Qualcomm Technologies Inc sc7280 platform.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
---
 Documentation/devicetree/bindings/power/qcom,rpmpd.yaml |  1 +
 include/dt-bindings/power/qcom-rpmpd.h                  | 11 +++++++++++
 2 files changed, 12 insertions(+)

Comments

Rob Herring March 8, 2021, 6:39 p.m. UTC | #1
On Tue, 02 Mar 2021 11:18:11 +0530, Rajendra Nayak wrote:
> Add compatible and constants for the power domains exposed by the RPMH

> in the Qualcomm Technologies Inc sc7280 platform.

> 

> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>

> ---

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

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

>  2 files changed, 12 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
patchwork-bot+linux-arm-msm@kernel.org March 8, 2021, 6:50 p.m. UTC | #2
Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

On Tue,  2 Mar 2021 11:18:11 +0530 you wrote:
> Add compatible and constants for the power domains exposed by the RPMH

> in the Qualcomm Technologies Inc sc7280 platform.

> 

> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>

> ---

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

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

>  2 files changed, 12 insertions(+)


Here is the summary with links:
  - [1/2] dt-bindings: power: rpmpd: Add sc7280 to rpmpd binding
    https://git.kernel.org/qcom/c/29c8bf8b73e8
  - [2/2] soc: qcom: rpmhpd: Add sc7280 powerdomains
    https://git.kernel.org/qcom/c/cab641cbea3e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 1ea21ac..e2179a6 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -25,6 +25,7 @@  properties:
       - qcom,qcs404-rpmpd
       - qcom,sdm660-rpmpd
       - qcom,sc7180-rpmhpd
+      - qcom,sc7280-rpmhpd
       - qcom,sdm845-rpmhpd
       - qcom,sdx55-rpmhpd
       - qcom,sm8150-rpmhpd
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index d711e25..0679fd1 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -55,6 +55,17 @@ 
 #define SC7180_LCX	6
 #define SC7180_MSS	7
 
+/* SC7280 Power Domain Indexes */
+#define SC7280_CX	0
+#define SC7280_CX_AO	1
+#define SC7280_EBI	2
+#define SC7280_GFX	3
+#define SC7280_MX	4
+#define SC7280_MX_AO	5
+#define SC7280_LMX	6
+#define SC7280_LCX	7
+#define SC7280_MSS	8
+
 /* SDM845 Power Domain performance levels */
 #define RPMH_REGULATOR_LEVEL_RETENTION	16
 #define RPMH_REGULATOR_LEVEL_MIN_SVS	48