linux/Documentation
Rob Herring 927c63e078 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
2022-06-07 10:08:02 -06:00
..
2022-05-26 14:20:14 -07:00
2022-05-26 10:50:30 -07:00
2022-06-01 11:54:29 -07:00
2022-05-04 11:06:13 +02:00
2022-05-04 22:35:19 +02:00
2022-05-26 12:09:50 -07:00
2022-04-16 02:54:32 -06:00
2022-05-24 13:50:39 -07:00
2022-05-26 14:20:14 -07:00
2022-06-05 09:12:28 -07:00