Skip to content

Commit dbfb5f9

Browse files
committed
dt-bindings: power: rpmpd: Add sc8280xp RPMh power-domains
The sc8280xp has 13 power-domains controlled through the RPMh, document the compatible and provide definitions for the power-domains - and their active-only variants where applicable. The SA8540p differs slightly in the power domains exposed, so add a separate compatible for this, but reuse the constants to allow sharing the DeviceTree source. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20220426233508.1762345-2-bjorn.andersson@linaro.org
1 parent 5bdcae1 commit dbfb5f9

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/qcom,rpmpd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ properties:
2727
- qcom,msm8998-rpmpd
2828
- qcom,qcm2290-rpmpd
2929
- qcom,qcs404-rpmpd
30+
- qcom,sa8540p-rpmhpd
3031
- qcom,sdm660-rpmpd
3132
- qcom,sc7180-rpmhpd
3233
- qcom,sc7280-rpmhpd
3334
- qcom,sc8180x-rpmhpd
35+
- qcom,sc8280xp-rpmhpd
3436
- qcom,sdm845-rpmhpd
3537
- qcom,sdx55-rpmhpd
3638
- qcom,sdx65-rpmhpd

include/dt-bindings/power/qcom-rpmpd.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,24 @@
125125
#define SC8180X_MX 9
126126
#define SC8180X_MX_AO 10
127127

128+
/* SC8280XP Power Domain Indexes */
129+
#define SC8280XP_CX 0
130+
#define SC8280XP_CX_AO 1
131+
#define SC8280XP_DDR 2
132+
#define SC8280XP_EBI 3
133+
#define SC8280XP_GFX 4
134+
#define SC8280XP_LCX 5
135+
#define SC8280XP_LMX 6
136+
#define SC8280XP_MMCX 7
137+
#define SC8280XP_MMCX_AO 8
138+
#define SC8280XP_MSS 9
139+
#define SC8280XP_MX 10
140+
#define SC8280XP_MXC 12
141+
#define SC8280XP_MX_AO 11
142+
#define SC8280XP_NSP 13
143+
#define SC8280XP_QPHY 14
144+
#define SC8280XP_XO 15
145+
128146
/* SDM845 Power Domain performance levels */
129147
#define RPMH_REGULATOR_LEVEL_RETENTION 16
130148
#define RPMH_REGULATOR_LEVEL_MIN_SVS 48

0 commit comments

Comments
 (0)