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

dt-bindings: remoteproc: qcom,wcnss-pil: Add support for single power-domain platforms

Support platforms such as MSM8226 and MSM8974 with only one power rail
(CX) modelled as power domain while MX and PX are regulators.

[luca: reword commit message, expand based on feedback from
Stephan Gerhold]

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250206-wcnss-singlepd-v2-1-9a53ee953dee@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Matti Lehtimäki and committed by
Bjorn Andersson
14198a0c df9e5103

+36 -9
+36 -9
Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
··· 69 69 CX regulator to be held on behalf of the booting of the WCNSS core. 70 70 71 71 power-domains: 72 + minItems: 1 72 73 maxItems: 2 73 74 74 75 power-domain-names: 76 + minItems: 1 75 77 items: 76 78 - const: cx 77 79 - const: mx ··· 189 187 - qcom,pronto-v1-pil 190 188 - qcom,pronto-v2-pil 191 189 then: 192 - properties: 193 - vddmx-supply: 194 - deprecated: true 195 - description: Deprecated for qcom,pronto-v1/2-pil 196 - 197 - vddcx-supply: 198 - deprecated: true 199 - description: Deprecated for qcom,pronto-v1/2-pil 200 - 190 + # CX and MX must be present either as power domains or regulators 201 191 oneOf: 192 + # Both CX and MX represented as power domains 202 193 - required: 203 194 - power-domains 204 195 - power-domain-names 196 + properties: 197 + power-domains: 198 + minItems: 2 199 + power-domain-names: 200 + minItems: 2 201 + vddmx-supply: false 202 + vddcx-supply: false 203 + # CX represented as power domain, MX as regulator 204 + - required: 205 + - power-domains 206 + - power-domain-names 207 + - vddmx-supply 208 + properties: 209 + power-domains: 210 + maxItems: 1 211 + power-domain-names: 212 + maxItems: 1 213 + vddcx-supply: false 214 + # Both CX and MX represented as regulators 205 215 - required: 206 216 - vddmx-supply 207 217 - vddcx-supply 218 + properties: 219 + power-domains: false 220 + power-domain-names: false 221 + vddmx-supply: 222 + deprecated: true 223 + description: Deprecated for qcom,pronto-v1/2-pil 224 + vddcx-supply: 225 + deprecated: true 226 + description: Deprecated for qcom,pronto-v1/2-pil 208 227 209 228 - if: 210 229 properties: ··· 235 212 - qcom,pronto-v3-pil 236 213 then: 237 214 properties: 215 + power-domains: 216 + minItems: 2 217 + power-domain-names: 218 + minItems: 2 238 219 vddmx-supply: false 239 220 vddcx-supply: false 240 221