Skip to content

Commit 913d3a3

Browse files
okiasrobherring
authored andcommitted
dt-bindings: watchdog: sunxi: fix error in schema
"maxItems" is not needed with an "items" list Fixes: $ DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml make dtbs_check Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml: properties:clocks: {'required': ['maxItems']} is not allowed for {'minItems': 1, 'maxItems': 2, 'items': [{'description': 'High-frequency oscillator input, divided internally'}, {'description': 'Low-frequency oscillator input, only found on some variants'}]} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# ... Signed-off-by: David Heidelberg <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 57d77e4 commit 913d3a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@ properties:
4040

4141
clocks:
4242
minItems: 1
43-
maxItems: 2
4443
items:
4544
- description: High-frequency oscillator input, divided internally
4645
- description: Low-frequency oscillator input, only found on some variants
4746

4847
clock-names:
4948
minItems: 1
50-
maxItems: 2
5149
items:
5250
- const: hosc
5351
- const: losc

0 commit comments

Comments
 (0)