]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: watchdog: sunxi: fix error in schema
authorDavid Heidelberg <david@ixit.cz>
Fri, 29 Oct 2021 14:24:42 +0000 (16:24 +0200)
committerRob Herring <robh@kernel.org>
Fri, 12 Nov 2021 04:27:27 +0000 (22:27 -0600)
commit18393b3ee1bfea90c49aecf465ff6ca1644b4b85
treed51e6fb9354b06b3b1027764936619e6d504b2fb
parent9c4d51c4e18d595fb0b484b1e3e8404c20372b86
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 <david@ixit.cz>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211029142443.68779-1-david@ixit.cz
Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml