Re: [PATCH v3 1/2] dt-bindings: net: constrain number of 'reg' in ethernet ports

From: Rob Herring
Date: Fri Nov 04 2022 - 17:51:51 EST



On Wed, 02 Nov 2022 12:15:11 -0400, Krzysztof Kozlowski wrote:
> 'reg' without any constraints allows multiple items which is not the
> intention for Ethernet controller's port number.
>
> Constrain the 'reg' on AX88178 and LAN95xx USB Ethernet Controllers.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Reviewed-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
>
> ---
>
> Changes since v2:
> 1. Drop changes to switches.
> 2. Add Rb tag.
>
> Changes since v1:
> 1. Drop change to non-accepted renesas,r8a779f0-ether-switch.
> ---
> Documentation/devicetree/bindings/net/asix,ax88178.yaml | 4 +++-
> Documentation/devicetree/bindings/net/microchip,lan95xx.yaml | 4 +++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>