[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqJt-3mA4mnfMkS10pbPoAPKJ=Q4P3r0P0fzTZDLX+H5NA@mail.gmail.com>
Date: Mon, 24 Mar 2025 17:59:40 -0500
From: Rob Herring <robh@...nel.org>
To: david@...t.cz
Cc: Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Mailing List <devicetree-spec-u79uwXL29TY76Z2rM5mHXA@...lic.gmane.org>,
Johannes Berg <johannes@...solutions.net>, Lorenzo Bianconi <lorenzo@...nel.org>,
van Spriel <arend@...adcom.com>, Jérôme Pouiller <jerome.pouiller@...abs.com>,
Bjorn Andersson <andersson@...nel.org>, Konrad Dybcio <konradybcio@...nel.org>,
Andy Gross <agross@...nel.org>, Mailing List <devicetree-spec@...r.kernel.org>,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
linux-arm-msm@...r.kernel.org, Janne Grunau <j@...nau.net>
Subject: Re: [PATCH v5 1/5] dt-bindings: net: Add network-class schema for
mac-address properties
On Mon, Mar 24, 2025 at 12:41 PM David Heidelberg via B4 Relay
<devnull+david.ixit.cz@...nel.org> wrote:
>
> From: Janne Grunau <j@...nau.net>
>
> The ethernet-controller schema specifies "mac-address" and
> "local-mac-address" but other network devices such as wireless network
> adapters use mac addresses as well.
> The Devicetree Specification, Release v0.3 specifies in section 4.3.1
> a generic "Network Class Binding" with "address-bits", "mac-address",
> "local-mac-address" and "max-frame-size". This schema specifies the
> "address-bits" property and moves the remaining properties over from
> the ethernet-controller.yaml schema.
>
> The "max-frame-size" property is used to describe the maximal payload
> size despite its name. Keep the description from ethernet-controller
> specifying this property as MTU. The contradictory description in the
> Devicetree Specification is ignored.
>
> Signed-off-by: Janne Grunau <j@...nau.net>
> Signed-off-by: David Heidelberg <david@...t.cz>
> ---
> .../bindings/net/ethernet-controller.yaml | 25 +-----------
> .../devicetree/bindings/net/network-class.yaml | 46 ++++++++++++++++++++++
> 2 files changed, 47 insertions(+), 24 deletions(-)
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists