[PATCH] dt-bindings: net: mediatek,net: fixup MAC binding
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Jul 31 03:32:09 PDT 2023
Il 29/07/23 13:10, Rafał Miłecki ha scritto:
> From: Rafał Miłecki <rafal at milecki.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 at 1e100000: mac at 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 at 1e100000: mac at 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 at 1e100000: mac at 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 at 1e100000: mac at 1: 'phy-handle' is a required property
> From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list