Skip to content

Commit 1a41bd2

Browse files
Georgi Djakovrobherring
authored andcommitted
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: 9a34e7a ("dt-bindings: interconnect: Document the support of optional path tag") Signed-off-by: Georgi Djakov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent eb90b4f commit 1a41bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ properties:
6969
- qcom,sm8250-system-noc
7070

7171
'#interconnect-cells':
72-
const: 1
72+
enum: [ 1, 2 ]
7373

7474
qcom,bcm-voters:
7575
$ref: /schemas/types.yaml#/definitions/phandle-array

0 commit comments

Comments
 (0)