Skip to content

Commit 3d447dc

Browse files
z3ntuandersson
authored andcommitted
dt-bindings: remoteproc: qcom,adsp: Make msm8974 use CX as power domain
Using CX as a regulator is an artifact of earlier times. Instead use CX power rail as power domain from rpmpd. Signed-off-by: Luca Weiss <luca@lucaweiss.eu> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250621-msm8974-rpmpd-switch-v1-1-0a2cb303c446@lucaweiss.eu Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 67a7bc7 commit 3d447dc

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ properties:
3131
reg:
3232
maxItems: 1
3333

34-
cx-supply:
35-
description: Phandle to the CX regulator
36-
3734
px-supply:
3835
description: Phandle to the PX regulator
3936

@@ -103,23 +100,14 @@ allOf:
103100
interrupt-names:
104101
maxItems: 5
105102

106-
- if:
107-
properties:
108-
compatible:
109-
contains:
110-
enum:
111-
- qcom,msm8974-adsp-pil
112-
then:
113-
required:
114-
- cx-supply
115-
116103
- if:
117104
properties:
118105
compatible:
119106
contains:
120107
enum:
121108
- qcom,msm8226-adsp-pil
122109
- qcom,msm8953-adsp-pil
110+
- qcom,msm8974-adsp-pil
123111
- qcom,msm8996-adsp-pil
124112
- qcom,msm8998-adsp-pas
125113
then:
@@ -187,6 +175,7 @@ examples:
187175
#include <dt-bindings/clock/qcom,rpmcc.h>
188176
#include <dt-bindings/interrupt-controller/arm-gic.h>
189177
#include <dt-bindings/interrupt-controller/irq.h>
178+
#include <dt-bindings/power/qcom-rpmpd.h>
190179
adsp {
191180
compatible = "qcom,msm8974-adsp-pil";
192181
@@ -204,7 +193,8 @@ examples:
204193
clocks = <&rpmcc RPM_CXO_CLK>;
205194
clock-names = "xo";
206195
207-
cx-supply = <&pm8841_s2>;
196+
power-domains = <&rpmpd MSM8974_VDDCX>;
197+
power-domain-names = "cx";
208198
209199
memory-region = <&adsp_region>;
210200

0 commit comments

Comments
 (0)