Thread (15 messages) 15 messages, 3 authors, 2022-03-14

Re: [PATCH net-next v12 7/7] net: dt-bindings: dwmac: add support for mt8195

From: Biao Huang <hidden>
Date: 2022-01-19 01:21:32
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek, lkml

Dear Rob,
	Thanks for your comments.

	If patch "[PATCH net-next v12 4/7] arm64: dts: mt2712: update
ethernet device node" is applied with dt-binding patches, "make
dtbs_check" will not report 
such warnings.
	Please review it kindly, thanks.

On Mon, 2022-01-17 at 09:35 -0600, Rob Herring wrote:
On Mon, 17 Jan 2022 15:07:06 +0800, Biao Huang wrote:
quoted
Add binding document for the ethernet on mt8195.

Signed-off-by: Biao Huang <redacted>
---
 .../bindings/net/mediatek-dwmac.yaml          | 28
++++++++++++++++---
 1 file changed, 24 insertions(+), 4 deletions(-)
Running '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/1580608


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

ethernet@1101c000: Unevaluated properties are not allowed
('compatible', 'reg', 'interrupts', 'interrupt-names', 'mac-address', 
'clock-names', 'clocks', 'power-domains', 'snps,axi-config',
'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,txpbl',
'snps,rxpbl', 'clk_csr', 'phy-mode', 'phy-handle', 'snps,reset-gpio', 
'mdio' were unexpected)
	arch/arm64/boot/dts/mediatek/mt2712-evb.dt.yaml
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help