dt-bindings: remoteproc: wcnss-pil: Make supplies optionally required
authorSireesh Kodali <sireeshkodali1@gmail.com>
Sat, 1 Oct 2022 03:13:44 +0000 (08:43 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Dec 2022 16:04:04 +0000 (10:04 -0600)
On MSM8974, power domains are not yet supported. The platform uses
regulators. This patch marks either the power-domains or *-supply as
required (instead of always requiring the power domains).

Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221001031345.31293-6-sireeshkodali1@gmail.com
Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml

index 2ba2b6c..45eb42b 100644 (file)
@@ -196,9 +196,13 @@ allOf:
           deprecated: true
           description: Deprecated for qcom,pronto-v1/2-pil
 
-      required:
-        - power-domains
-        - power-domain-names
+      oneOf:
+        - required:
+            - power-domains
+            - power-domain-names
+        - required:
+            - vddmx-supply
+            - vddcx-supply
 
   - if:
       properties: