Skip to content

Commit

Permalink
dt-bindings: power: Add rpm power domain bindings for SM8350
Browse files Browse the repository at this point in the history
Add RPM power domain bindings for the SM8350 SoC

Acked-by: Rob Herring <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[bjorn: Added dt-bindings include file changes from the driver patch]
Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
vinodkoul authored and andersson committed Mar 12, 2021
1 parent a38fd87 commit f20b61b
Show file tree
Hide file tree
Showing 2 changed files with 16 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 @@ -29,6 +29,7 @@ properties:
- qcom,sdx55-rpmhpd
- qcom,sm8150-rpmhpd
- qcom,sm8250-rpmhpd
- qcom,sm8350-rpmhpd

'#power-domain-cells':
const: 1
Expand Down
15 changes: 15 additions & 0 deletions include/dt-bindings/power/qcom-rpmpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@
#define SM8250_MX 8
#define SM8250_MX_AO 9

/* SM8350 Power Domain Indexes */
#define SM8350_CX 0
#define SM8350_CX_AO 1
#define SM8350_EBI 2
#define SM8350_GFX 3
#define SM8350_LCX 4
#define SM8350_LMX 5
#define SM8350_MMCX 6
#define SM8350_MMCX_AO 7
#define SM8350_MX 8
#define SM8350_MX_AO 9
#define SM8350_MXC 10
#define SM8350_MXC_AO 11
#define SM8350_MSS 12

/* SC7180 Power Domain Indexes */
#define SC7180_CX 0
#define SC7180_CX_AO 1
Expand Down

0 comments on commit f20b61b

Please sign in to comment.