OSDN Git Service

dt-bindings: net: dsa-port: constrain number of 'reg' in ports
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 2 Nov 2022 16:15:12 +0000 (12:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2022 08:48:25 +0000 (08:48 +0000)
commita352a2c5d2a504f17c7096c9085177a54917012d
tree7fc56bc153fc9cdaae37964ffa42a9d39ec38fab
parentbd881b44fdbcce1fb899601e026a4cebfe38b2df
dt-bindings: net: dsa-port: constrain number of 'reg' in ports

'reg' without any constraints allows multiple items which is not the
intention in DSA port schema (as physical port is expected to have only
one address).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa-port.yaml