dt-bindings: Drop more redundant 'maxItems/minItems'
authorRob Herring <robh@kernel.org>
Tue, 28 Sep 2021 22:29:20 +0000 (17:29 -0500)
committerRob Herring <robh@kernel.org>
Fri, 1 Oct 2021 22:49:24 +0000 (17:49 -0500)
commit67006e30e27e80fd9403a91ae3c0c85391c6c2cc
tree091ce56891120a76918e1ba91998e93b56cedaf1
parent55442e6af03434c500541782f01730a89162eb27
dt-bindings: Drop more redundant 'maxItems/minItems'

Another round of removing redundant minItems/maxItems from new schema in
the recent merge window.

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.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Marek Vasut <marex@denx.de>
Cc: Joakim Zhang <qiangqing.zhang@nxp.com>
Cc: dri-devel@lists.freedesktop.org
Cc: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210928222920.2204761-1-robh@kernel.org
Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml