Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: snps, dwmac: update reg minItems maxItems

The Amlogic Meson DWMAC glue bindings needs a second reg cells for the
glue registers, thus update the reg minItems/maxItems to allow more
than a single reg cell.

Also update the allwinner,sun7i-a20-gmac.yaml derivative schema to specify
maxItems to 1.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Neil Armstrong and committed by
David S. Miller
57b77df7 7ee7f3e8

+5 -1
+3
Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
··· 17 17 compatible: 18 18 const: allwinner,sun7i-a20-gmac 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 interrupts: 21 24 maxItems: 1 22 25
+2 -1
Documentation/devicetree/bindings/net/snps,dwmac.yaml
··· 61 61 - snps,dwxgmac-2.10 62 62 63 63 reg: 64 - maxItems: 1 64 + minItems: 1 65 + maxItems: 2 65 66 66 67 interrupts: 67 68 minItems: 1