[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cae53693-80e9-2dcb-e222-511eb30ef74c@collabora.com>
Date: Mon, 31 Jul 2023 12:32:09 +0200
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: Rafał Miłecki <zajec5@...il.com>,
"David S . Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, Matthias Brugger
<matthias.bgg@...il.com>, Lorenzo Bianconi <lorenzo@...nel.org>,
Felix Fietkau <nbd@....name>, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, Rafał Miłecki
<rafal@...ecki.pl>
Subject: Re: [PATCH] dt-bindings: net: mediatek,net: fixup MAC binding
Il 29/07/23 13:10, Rafał Miłecki ha scritto:
> From: Rafał Miłecki <rafal@...ecki.pl>
>
> 1. Use unevaluatedProperties
> It's needed to allow ethernet-controller.yaml properties work correctly.
>
> 2. Drop unneeded phy-handle/phy-mode
>
> 3. Don't require phy-handle
> Some SoCs may use fixed link.
>
> For in-kernel MT7621 DTS files this fixes following errors:
> arch/mips/boot/dts/ralink/mt7621-tplink-hc220-g5-v1.dtb: ethernet@...00000: mac@0: 'fixed-link' does not match any of the regexes: 'pinctrl-[0-9]+'
> From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
> arch/mips/boot/dts/ralink/mt7621-tplink-hc220-g5-v1.dtb: ethernet@...00000: mac@0: 'phy-handle' is a required property
> From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
> arch/mips/boot/dts/ralink/mt7621-tplink-hc220-g5-v1.dtb: ethernet@...00000: mac@1: 'fixed-link' does not match any of the regexes: 'pinctrl-[0-9]+'
> From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
> arch/mips/boot/dts/ralink/mt7621-tplink-hc220-g5-v1.dtb: ethernet@...00000: mac@1: 'phy-handle' is a required property
> From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
>
> Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists