Re: [PATCH v3 4/7] net-next: dt-bindings: dwmac: Convert mediatek-dwmac to DT schema
From: Biao Huang <hidden>
Date: 2021-11-15 01:39:57
Also in:
linux-devicetree, linux-mediatek, lkml, netdev
Dear Rob, There is a patch named "[PATCH v3 3/7] arm64: dts: mt2712: update ethernet device node" to fix these warnings in this series. Could you give me some hints why these warnings still there, or how to fix them? Best Regards! On Fri, 2021-11-12 at 07:48 -0600, Rob Herring wrote:
On Fri, 12 Nov 2021 17:39:15 +0800, Biao Huang wrote:quoted
Convert mediatek-dwmac to DT schema, and delete old mediatek- dwmac.txt. Signed-off-by: Biao Huang <redacted> --- .../bindings/net/mediatek-dwmac.txt | 91 ---------- .../bindings/net/mediatek-dwmac.yaml | 157 ++++++++++++++++++ 2 files changed, 157 insertions(+), 91 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/mediatek- dwmac.txt create mode 100644 Documentation/devicetree/bindings/net/mediatek- dwmac.yamlRunning 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/1554228 ethernet@1101c000: clock-names: ['axi', 'apb', 'mac_main', 'ptp_ref'] is too short arch/arm64/boot/dts/mediatek/mt2712-evb.dt.yaml ethernet@1101c000: clocks: [[27, 34], [27, 37], [6, 154], [6, 155]] is too short arch/arm64/boot/dts/mediatek/mt2712-evb.dt.yaml ethernet@1101c000: compatible: ['mediatek,mt2712-gmac'] does not contain items matching the given schema arch/arm64/boot/dts/mediatek/mt2712-evb.dt.yaml ethernet@1101c000: compatible: 'oneOf' conditional failed, one must be fixed: arch/arm64/boot/dts/mediatek/mt2712-evb.dt.yaml
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel