Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Luca Weiss and committed by
Bjorn Andersson
3d447dcd 67a7bc7f

+4 -14
+4 -14
Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
··· 31 31 reg: 32 32 maxItems: 1 33 33 34 - cx-supply: 35 - description: Phandle to the CX regulator 36 - 37 34 px-supply: 38 35 description: Phandle to the PX regulator 39 36 ··· 105 108 compatible: 106 109 contains: 107 110 enum: 108 - - qcom,msm8974-adsp-pil 109 - then: 110 - required: 111 - - cx-supply 112 - 113 - - if: 114 - properties: 115 - compatible: 116 - contains: 117 - enum: 118 111 - qcom,msm8226-adsp-pil 119 112 - qcom,msm8953-adsp-pil 113 + - qcom,msm8974-adsp-pil 120 114 - qcom,msm8996-adsp-pil 121 115 - qcom,msm8998-adsp-pas 122 116 then: ··· 175 187 #include <dt-bindings/clock/qcom,rpmcc.h> 176 188 #include <dt-bindings/interrupt-controller/arm-gic.h> 177 189 #include <dt-bindings/interrupt-controller/irq.h> 190 + #include <dt-bindings/power/qcom-rpmpd.h> 178 191 adsp { 179 192 compatible = "qcom,msm8974-adsp-pil"; 180 193 ··· 193 204 clocks = <&rpmcc RPM_CXO_CLK>; 194 205 clock-names = "xo"; 195 206 196 - cx-supply = <&pm8841_s2>; 207 + power-domains = <&rpmpd MSM8974_VDDCX>; 208 + power-domain-names = "cx"; 197 209 198 210 memory-region = <&adsp_region>; 199 211