diff mbox series

[1/2] dt-bindings: power: Add rpm power domain bindings for sdx55

Message ID 20201126092711.1084518-1-vkoul@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: power: Add rpm power domain bindings for sdx55 | expand

Commit Message

Vinod Koul Nov. 26, 2020, 9:27 a.m. UTC
Add RPM power domain bindings for the SDX55 SoC

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
 include/dt-bindings/power/qcom-rpmpd.h                  | 5 +++++
 2 files changed, 6 insertions(+)

Comments

Manivannan Sadhasivam Nov. 26, 2020, 11:29 a.m. UTC | #1
On Thu, Nov 26, 2020 at 02:57:10PM +0530, Vinod Koul wrote:
> Add RPM power domain bindings for the SDX55 SoC
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
>  Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
>  include/dt-bindings/power/qcom-rpmpd.h                  | 5 +++++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> index 8058955fb3b9..fe20a73f47ca 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> @@ -22,6 +22,7 @@ properties:
>        - qcom,qcs404-rpmpd
>        - qcom,sc7180-rpmhpd
>        - qcom,sdm845-rpmhpd
> +      - qcom,sdx55-rpmhpd
>        - qcom,sm8150-rpmhpd
>        - qcom,sm8250-rpmhpd
>  
> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
> index 5e61eaf73bdd..9fa2d66fca4a 100644
> --- a/include/dt-bindings/power/qcom-rpmpd.h
> +++ b/include/dt-bindings/power/qcom-rpmpd.h
> @@ -15,6 +15,11 @@
>  #define SDM845_GFX	7
>  #define SDM845_MSS	8
>  
> +/* SDX55 Power Domain Indexes */
> +#define SDX55_MSS	0
> +#define SDX55_MX	1
> +#define SDX55_CX	2
> +
>  /* SM8150 Power Domain Indexes */
>  #define SM8150_MSS	0
>  #define SM8150_EBI	1
> -- 
> 2.26.2
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 8058955fb3b9..fe20a73f47ca 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -22,6 +22,7 @@  properties:
       - qcom,qcs404-rpmpd
       - qcom,sc7180-rpmhpd
       - qcom,sdm845-rpmhpd
+      - qcom,sdx55-rpmhpd
       - qcom,sm8150-rpmhpd
       - qcom,sm8250-rpmhpd
 
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 5e61eaf73bdd..9fa2d66fca4a 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -15,6 +15,11 @@ 
 #define SDM845_GFX	7
 #define SDM845_MSS	8
 
+/* SDX55 Power Domain Indexes */
+#define SDX55_MSS	0
+#define SDX55_MX	1
+#define SDX55_CX	2
+
 /* SM8150 Power Domain Indexes */
 #define SM8150_MSS	0
 #define SM8150_EBI	1