[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b44c768-8362-4b1d-931a-6df91106018b@lunn.ch>
Date: Sat, 16 Aug 2025 17:11:41 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Yang <mmyangfl@...il.com>
Cc: netdev@...r.kernel.org, Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Simon Horman <horms@...nel.org>,
Russell King <linux@...linux.org.uk>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [net-next v3 1/3] dt-bindings: net: dsa: yt921x: Add Motorcomm
YT921x switch support
> + motorcomm,switch-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: |
> + When managed via MDIO, a hard-configured switch ID to form MDIO reg addrs,
> + to distinguish between multiple devices beside phyaddr.
> + enum: [0, 1, 2, 3]
> + default: 0
> + maxItems: 1
So how is this different to reg? Why cannot it be derived from reg?
Please give us all the details of what this actually does. Or point us
to a chapter in the datasheet.
> + /* if external phy is connected to a MAC */
> + port@9 {
> + reg = <9>;
> + label = "wan";
> + phy-mode = "rgmii";
> + phy-handle = <&phy1>;
> +
> + fixed-link {
> + speed = <1000>;
> + full-duplex;
> + pause;
> + };
If there is an external PHY, why have a fixed link?
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists