Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp868279pxb; Fri, 21 Jan 2022 05:16:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFxhV10IaJY6h8WfnDvGJgNHYUAd6+m7bqOURvOf5U0sT0T7OZEhrDknpB9glQLCKdgxbQ X-Received: by 2002:a63:8649:: with SMTP id x70mr1838182pgd.462.1642770975880; Fri, 21 Jan 2022 05:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642770975; cv=none; d=google.com; s=arc-20160816; b=qSIGupwSX0rFgdZZ65A18C92Gf6t8AMBgedK7ktwdk6PcIfhM7tsPeCkOQH31Whgeq 8k0O92Rgm8N0JdqeARIvURHkYTnfA5aaNjmCU0zbAQBb2qcdWwBDDvRjZu+fjueGx9w2 5qgeqwTDNjT+E3USLiUDJB0odg6hZzGq+gJlACYv7NPlQgSC719YBH3qSE7jLqdyau3f 5KxTv9Tgp03gC2np7q3bEk8YT5UdnFJb2pchf4dEBS2CswX1Hj0sy317ZkpqW8FpPnjj xedhwmda56stRZEf6f497AJaSyADYGMFJXTca0ePzsfOlmixklmtGsUaHy3GkdurDnbO Y5nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=wU3TS/jIr/WO2zvkJDN0lAAsDc4vYJ7KcYXJEQLhZTI=; b=RRlksrJ6sQeXgUlL2Yf0WEJuvHxxT9e3gp947TyG1iivSrQ5MAGY6MX+ZCuoz4sMih mgr6p0idl9NgoB/AonUNn8Nh0Lq8TptMobfZZJYYrGd7re73LOzwc3JeqXcQHSn7YvUn VcaSXok/ZtjM2YiHe1yibGHk+2BXVZ/S0kt+xtcyiNDDupQRO/NI3LD7IA9refjJvSYi pah2yK/dm9Je8jtOuPXraXVq9AhKBT4dpEDlrMMU795dwHP+5/8xLlOIR07fW/AFwIlf iV8G2HpeeMHwUtTppJz/fas0LMPLVGk7xjWJeUcrU73Kol7AWU8NLxL7iUnjE7qtO3/q uytA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si5905939pgm.852.2022.01.21.05.15.50; Fri, 21 Jan 2022 05:16:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350642AbiASBVb (ORCPT + 99 others); Tue, 18 Jan 2022 20:21:31 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:46930 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1350638AbiASBVX (ORCPT ); Tue, 18 Jan 2022 20:21:23 -0500 X-UUID: bf9e6ac19536479c95c34f0e9dfed317-20220119 X-UUID: bf9e6ac19536479c95c34f0e9dfed317-20220119 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2129486808; Wed, 19 Jan 2022 09:21:18 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 19 Jan 2022 09:21:17 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 09:21:16 +0800 Message-ID: Subject: Re: [PATCH net-next v12 7/7] net: dt-bindings: dwmac: add support for mt8195 From: Biao Huang To: Rob Herring CC: , , , , , , , Rob Herring , "Giuseppe Cavallaro" , Jakub Kicinski , , Jose Abreu , , Matthias Brugger , , Alexandre Torgue , , Maxime Coquelin Date: Wed, 19 Jan 2022 09:21:15 +0800 In-Reply-To: <1642433742.934070.3923086.nullmailer@robh.at.kernel.org> References: <20220117070706.17853-1-biao.huang@mediatek.com> <20220117070706.17853-8-biao.huang@mediatek.com> <1642433742.934070.3923086.nullmailer@robh.at.kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > Add binding document for the ethernet on mt8195. > > > > Signed-off-by: Biao Huang > > --- > > .../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 >