diff options
author | 2025-02-17 23:05:15 +0100 | |
---|---|---|
committer | 2025-03-04 19:43:46 -0800 | |
commit | a2935a38cd1939013a301a630c0072d9b8f941f7 (patch) | |
tree | 125b0a5db94e9fd6d7cb5370040a4deadd9e1ce0 | |
parent | dt-bindings: remoteproc: Add SM8750 CDSP (diff) | |
download | wireguard-linux-a2935a38cd1939013a301a630c0072d9b8f941f7.tar.xz wireguard-linux-a2935a38cd1939013a301a630c0072d9b8f941f7.zip |
dt-bindings: remoteproc: qcom,msm8916-mss-pil: Support platforms with one power domain
Add support for platforms such as MSM8974 which have the mx voltage rail
exposed as regulator and only cx voltage rail as power domain.
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250217-msm8226-modem-v5-1-2bc74b80e0ae@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml index 588b010b2a9e..c81364daa34b 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml @@ -70,16 +70,17 @@ properties: items: - description: CX proxy power domain (control handed over after startup) - description: MX proxy power domain (control handed over after startup) + (not valid for qcom,msm8974-mss-pil) - description: MSS proxy power domain (control handed over after startup) (only valid for qcom,msm8953-mss-pil) - minItems: 2 + minItems: 1 power-domain-names: items: - const: cx - - const: mx + - const: mx # not valid for qcom,msm8974-mss-pil - const: mss # only valid for qcom,msm8953-mss-pil - minItems: 2 + minItems: 1 pll-supply: description: PLL proxy supply (control handed over after startup) @@ -207,16 +208,41 @@ allOf: required: - power-domains - power-domain-names - else: + + - if: + properties: + compatible: + contains: + enum: + - qcom,msm8909-mss-pil + - qcom,msm8916-mss-pil + then: properties: power-domains: + minItems: 2 maxItems: 2 power-domain-names: + minItems: 2 maxItems: 2 - if: properties: compatible: + contains: + enum: + - qcom,msm8974-mss-pil + then: + properties: + power-domains: + maxItems: 1 + power-domain-names: + maxItems: 1 + required: + - mx-supply + + - if: + properties: + compatible: const: qcom,msm8974-mss-pil then: required: |