summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2021-01-21 16:53:20 +0200
committerRob Herring <robh@kernel.org>2021-02-09 10:04:45 -0600
commit1a41bd2220934fc382cd83d3edcd7fdb2455dd98 (patch)
tree7a968bfc3d292627b98998beacee6d6f23e3faa0 /Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
parenteb90b4f8fb8b73532722b5c29db50faf10b21ab1 (diff)
dt-bindings: interconnect: Fix the expected number of cells
"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>
Diffstat (limited to 'Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml')
-rw-r--r--Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
index 30c2a092d2d3..ebcf465c4280 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
@@ -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