Thread (11 messages) 11 messages, 5 authors, 2022-11-02

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

From: Krzysztof Kozlowski <hidden>
Date: 2022-11-02 15:48:33
Also in: linux-arm-kernel, linux-arm-msm, linux-clk, linux-devicetree, linux-renesas-soc, lkml

On 31/10/2022 14:57, Rob Herring wrote:
On Fri, Oct 28, 2022 at 10:03:25AM -0400, Krzysztof Kozlowski wrote:
quoted
'reg' without any constraints allows multiple items which is not the
intention for Ethernet controller's port number.
Shouldn't this constrained by dsa-port.yaml (or the under review 
ethernet switch schemas that split out the DSA parts)?
dsa-port should indeed have such change (I'll send one), but these
schemas do not reference it.

They reference only ethernet-controller, which does not even mention
'reg' port. I'll describe it better in commit msg.

ethernet-switch is not yet referenced in the schemas changed here. It
would not be applicable to asix,ax88178.yaml and microchip,lan95xx.yaml.
To others - probably it would be applicable.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help