Skip to content

Commit

Permalink
dt-bindings: power: rpmpd: Add MSM8916 RPM power domains
Browse files Browse the repository at this point in the history
MSM8916 has two RPM power domains: VDDCX and VDDMX.
Add the device tree bindings to manage them through rpmpd.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200916104135.25085-3-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
  • Loading branch information
Stephan Gerhold authored and Bjorn Andersson committed Oct 26, 2020
1 parent b5a3bf6 commit 819f7d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ description:
properties:
compatible:
enum:
- qcom,msm8916-rpmpd
- qcom,msm8939-rpmpd
- qcom,msm8976-rpmpd
- qcom,msm8996-rpmpd
Expand Down
7 changes: 7 additions & 0 deletions include/dt-bindings/power/qcom-rpmpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
#define MSM8939_VDDMX 6
#define MSM8939_VDDMX_AO 7

/* MSM8916 Power Domain Indexes */
#define MSM8916_VDDCX 0
#define MSM8916_VDDCX_AO 1
#define MSM8916_VDDCX_VFC 2
#define MSM8916_VDDMX 3
#define MSM8916_VDDMX_AO 4

/* MSM8976 Power Domain Indexes */
#define MSM8976_VDDCX 0
#define MSM8976_VDDCX_AO 1
Expand Down

0 comments on commit 819f7d9

Please sign in to comment.