Skip to content

Commit 68131a0

Browse files
robherringpH5
authored andcommitted
dt-bindings: reset: intel,rcu-gw: Fix intel,global-reset schema
The intel,rcu-gw binding example has an error: Documentation/devicetree/bindings/reset/intel,rcu-gw.example.dt.yaml: reset-controller@e0000000: intel,global-reset: [[16, 30]] is too short The error isn't really correct as the problem is in how the data is encoded and the schema is not fixed up by the tooling correctly. However, array properties should describe the elements in the array, so lets do that which fixes the error in the process. Fixes: b7ab0cb ("dt-bindings: reset: Add YAML schemas for the Intel Reset controller") Cc: Dilip Kota <[email protected]> Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent bb6d3fb commit 68131a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ properties:
2323
description: Global reset register offset and bit offset.
2424
allOf:
2525
- $ref: /schemas/types.yaml#/definitions/uint32-array
26-
- maxItems: 2
26+
items:
27+
- description: Register offset
28+
- description: Register bit offset
29+
minimum: 0
30+
maximum: 31
2731

2832
"#reset-cells":
2933
minimum: 2

0 commit comments

Comments
 (0)