From: David Heidelberg <david@ixit.cz> Date: 2021-10-29 14:24:49
"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>
---
.../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 2 --
1 file changed, 2 deletions(-)
@@ -40,14 +40,12 @@ properties:clocks:minItems:1-maxItems:2items:-description:High-frequency oscillator input, divided internally-description:Low-frequency oscillator input, only found on some variantsclock-names:minItems:1-maxItems:2items:-const:hosc-const:losc
--
2.33.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Rob Herring <robh@kernel.org> Date: 2021-11-01 18:52:39
On Fri, 29 Oct 2021 16:24:42 +0200, David Heidelberg wrote:
"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>
---
.../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 2 --
1 file changed, 2 deletions(-)
On Fri, Oct 29, 2021 at 04:24:42PM +0200, David Heidelberg wrote:
"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>
@@ -40,14 +40,12 @@ properties:clocks:minItems:1-maxItems:2items:-description:High-frequency oscillator input, divided internally-description:Low-frequency oscillator input, only found on some variantsclock-names:minItems:1-maxItems:2items:-const:hosc-const:losc
From: Rob Herring <robh@kernel.org> Date: 2021-11-12 04:19:48
On Fri, 29 Oct 2021 16:24:42 +0200, David Heidelberg wrote:
"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>
---
.../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 2 --
1 file changed, 2 deletions(-)