diff mbox series

[1/3] dt-bindings: power: rpmpd: Add MSM8226 to rpmpd binding

Message ID 20220220223004.507739-1-luca@z3ntu.xyz
State Accepted
Commit d148363684a41162a835c1803c02cfd90b22b2c6
Headers show
Series [1/3] dt-bindings: power: rpmpd: Add MSM8226 to rpmpd binding | expand

Commit Message

Luca Weiss Feb. 20, 2022, 10:30 p.m. UTC
Add compatible and constants for the power domains exposed by the
MSM8226 RPM.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
 include/dt-bindings/power/qcom-rpmpd.h                  | 5 +++++
 2 files changed, 6 insertions(+)

Comments

patchwork-bot+linux-arm-msm@kernel.org Feb. 24, 2022, 8:50 p.m. UTC | #1
Hello:

This series was applied to qcom/linux.git (for-next)
by Bjorn Andersson <bjorn.andersson@linaro.org>:

On Sun, 20 Feb 2022 23:30:01 +0100 you wrote:
> Add compatible and constants for the power domains exposed by the
> MSM8226 RPM.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
>  include/dt-bindings/power/qcom-rpmpd.h                  | 5 +++++
>  2 files changed, 6 insertions(+)

Here is the summary with links:
  - [1/3] dt-bindings: power: rpmpd: Add MSM8226 to rpmpd binding
    (no matching commit)
  - [2/3] soc: qcom: rpmpd: Add MSM8226 support
    https://git.kernel.org/qcom/c/20f36361b7dd
  - [3/3] ARM: dts: qcom: msm8226: add power domains
    https://git.kernel.org/qcom/c/134553625187

You are awesome, thank you!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index f48bc41d81ec..940e97b565bf 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -17,6 +17,7 @@  properties:
   compatible:
     enum:
       - qcom,mdm9607-rpmpd
+      - qcom,msm8226-rpmpd
       - qcom,msm8916-rpmpd
       - qcom,msm8939-rpmpd
       - qcom,msm8953-rpmpd
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index edfc1ff2acb3..c002cc6ddf55 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -139,6 +139,11 @@ 
 #define MDM9607_VDDMX_AO	4
 #define MDM9607_VDDMX_VFL	5
 
+/* MSM8226 Power Domain Indexes */
+#define MSM8226_VDDCX		0
+#define MSM8226_VDDCX_AO	1
+#define MSM8226_VDDCX_VFC	2
+
 /* MSM8939 Power Domains */
 #define MSM8939_VDDMDCX		0
 #define MSM8939_VDDMDCX_AO	1