dt-bindings: interconnect: Fix the expected number of cells
authorGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 21 Jan 2021 14:53:20 +0000 (16:53 +0200)
committerRob Herring <robh@kernel.org>
Tue, 9 Feb 2021 16:04:45 +0000 (10:04 -0600)
"make dtbs_check" complains that the number of interconnect-cells
for some RPMh platforms is not "const: 1" (as defined in the schema).

That's because the interconnect-cells now can be 1 or 2, depending
on what is supported by the specific interconnect provider. Let's
reflect this in the schema.

Fixes: 9a34e7ad2e12 ("dt-bindings: interconnect: Document the support of optional path tag")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Link: https://lore.kernel.org/r/20210121145320.2383-1-georgi.djakov@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml

index 30c2a092d2d34febd58e664e6428f399b43a00a4..ebcf465c42804179b5c225b0a3d9b64bb314ffa5 100644 (file)
@@ -69,7 +69,7 @@ properties:
       - qcom,sm8250-system-noc
 
   '#interconnect-cells':
-    const: 1
+    enum: [ 1, 2 ]
 
   qcom,bcm-voters:
     $ref: /schemas/types.yaml#/definitions/phandle-array