summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-06-07 01:51:36 +0300
committerRob Herring <robh@kernel.org>2022-06-07 19:08:02 +0300
commit927c63e07810fe41cc0428d767ea4b59db193b80 (patch)
tree1cf99189e353ae6eb087f2b355a4df5e9e188092 /Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
parentc3c09e393a5e25fb2fd30b62f3c689e92b4343c4 (diff)
downloadlinux-927c63e07810fe41cc0428d767ea4b59db193b80.tar.xz
dt-bindings: Drop more redundant 'maxItems/minItems' in if/then schemas
Another round from new cases in 5.19-rc of removing redundant minItems/maxItems when 'items' list is specified. This time it is in if/then schemas as the meta-schema was failing to check this case. If a property has an 'items' list, then a 'minItems' or 'maxItems' with the same size as the list is redundant and can be dropped. Note that is DT schema specific behavior and not standard json-schema behavior. The tooling will fixup the final schema adding any unspecified minItems/maxItems. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20220606225137.1536010-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml')
-rw-r--r--Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
index cbcf19f51411..ed6c1ca80dcc 100644
--- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
@@ -64,7 +64,6 @@ if:
then:
properties:
clocks:
- minItems: 2
items:
- description: High-frequency oscillator input, divided internally
- description: Low-frequency oscillator input