]> Git Repo - linux.git/commit
dt-bindings: Drop more redundant 'maxItems/minItems' in if/then schemas
authorRob Herring <[email protected]>
Mon, 6 Jun 2022 22:51:36 +0000 (17:51 -0500)
committerRob Herring <[email protected]>
Tue, 7 Jun 2022 16:08:02 +0000 (10:08 -0600)
commit927c63e07810fe41cc0428d767ea4b59db193b80
tree1cf99189e353ae6eb087f2b355a4df5e9e188092
parentc3c09e393a5e25fb2fd30b62f3c689e92b4343c4
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 <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml
Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml
Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
This page took 0.058267 seconds and 4 git commands to generate.