dt-bindings: Drop more redundant 'maxItems'
Subsystems (8)
Rob Herring
maintainerPATCH 1/1 dt-bindings: Drop more redundant 'maxItems'
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" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Evgeniy Polyakov <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Joakim Zhang <[email protected]>
Cc Daniel Mack <[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 2 -- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - Documentation/devicetree/bindings/w1/w1-gpio.yaml | 1 - 3 files changed, 4 deletions(-)
Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml +0 -2
@@ -50,7 +50,6 @@ properties: data-lanes: description: array of physical DSI data lane indexes. minItems: 1 - maxItems: 4 items: - const: 1 - const: 2
@@ -71,7 +70,6 @@ properties: data-lanes: description: array of physical DSI data lane indexes. minItems: 1 - maxItems: 4 items: - const: 1 - const: 2
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +0 -1
@@ -34,7 +34,6 @@ properties: clocks: minItems: 3 - maxItems: 5 items: - description: MAC host clock - description: MAC apb clock
Documentation/devicetree/bindings/w1/w1-gpio.yaml +0 -1
@@ -15,7 +15,6 @@ properties: gpios: minItems: 1 - maxItems: 2 items: - description: Data I/O pin - description: Enable pin for an external pull-up resistor
Signature · 1 line
2.30.2