diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-07-29 13:10:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-31 09:16:04 +0100 |
commit | 8469c7f5472fe5f77fc31c8f10f23d5aad987231 (patch) | |
tree | 856a8a0893a6ade9949ec609dfb4a275036dcb99 /Documentation/devicetree/bindings/usb/renesas,rzv2m-usb3drd.yaml | |
parent | e739718444f7bf2fa3d70d101761ad83056ca628 (diff) | |
download | lwn-8469c7f5472fe5f77fc31c8f10f23d5aad987231.tar.gz lwn-8469c7f5472fe5f77fc31c8f10f23d5aad987231.zip |
dt-bindings: net: mediatek,net: fixup MAC binding
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@1e100000: 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@1e100000: 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@1e100000: 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@1e100000: mac@1: 'phy-handle' is a required property
From schema: Documentation/devicetree/bindings/net/mediatek,net.yaml
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/renesas,rzv2m-usb3drd.yaml')
0 files changed, 0 insertions, 0 deletions