]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit561d1a28aa19a7df3cec4662d44a1ffc1219fa95
tree091ce56891120a76918e1ba91998e93b56cedaf1
parent9d0844ab871092e3de6de091253e0cd462e1cfea
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