Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1701301pxj; Fri, 18 Jun 2021 13:05:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5JuA4I1rWJh45QTWcMVj5b+J+2JUsJnZO0uzdGE+/b1FqbA6c6uc+6eKQqxQtMCPlNYrr X-Received: by 2002:a17:906:144b:: with SMTP id q11mr12606820ejc.478.1624046707872; Fri, 18 Jun 2021 13:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624046707; cv=none; d=google.com; s=arc-20160816; b=mZ+ZfkqVcm8/xSTXXhgsiniy06wRyqh+v3kfPnowwBcE4a/x+W+yo3sm+jN8IxICJC ogwWzD+FHhS3ForH33ZoNMN67jkxJ7HXnZ2vywaEQaLrgufhDbAslP2FBUbdkq8ATA1M VekwP5XNMTzmJkhRJ/xGnAFCXpxBUDHgBK+E3YYNUOwC4ultJOA2rkT0Yq2v4VSd91VE bxuF4jBHHNZ7+K2aqSgyJ6sZdqJUi7NoSqGvRizmuVm5Y4rEedxsuYR5zn9qCB7a+EmI C6zfv1za+s9ks8vh6O8Qp5DC76r5mhlhPrb+QoRs9Qumcb/aoeXGdXEnHqYPKr/oBVlv 79uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=S8YGRUCUmIXy0QCDcDLaZHGxgduGwtgH6MLY4NZeykA=; b=sinaauTPbWJpAlYFFyUJAdqpvyec/EmQ29iUfoB4S+uy9Ce2ZMPYcWwrnCsc6IDedu uhTho2LMDPYhtP4Fm8TIkMfAodL4vtnKEmIXsXvmikFSSrMMeWzyU44Oz9Rv1JVzTByC MvEU2lA7CJV8eVcucxaQ+owdgg7AUcaNmU5F238hmTmNpmIC4FSkP+8JrJByYkyxmx/F SL9Mt54nCJkiaX364DGsg5SWKgbczkgosnQbhq8QGvY628hC1P3PUBVpROd870ijyjPx RARdQdPOCxksiW8PfDLnCVU4VrhwfLLCwQAgq6ZY57YQ/CgtrL7H1P4BPeAuDLmRPBKS yRpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dcP4F/on"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si127206edr.5.2021.06.18.13.04.44; Fri, 18 Jun 2021 13:05:07 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dcP4F/on"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232666AbhFRTwt (ORCPT + 99 others); Fri, 18 Jun 2021 15:52:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:42526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhFRTwr (ORCPT ); Fri, 18 Jun 2021 15:52:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 463F6613E9; Fri, 18 Jun 2021 19:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624045838; bh=Olzy7g261M2VzBHP3yNFLi2kVn+AxxWpUNxI0dmBqcc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dcP4F/onnC+AOTwEh+lLoHTFig1Ba3jo+I4fjjCvYFbLZbVPvhtCidPPAwY/NkJIT jS8iPQktgF4ztiwk8UTas962qqssLW0P29WJX2/lUIOrJGsb6gc7DjFb3lBxz2itjF 0mszurdnDaFarK1TslyM/1ieSnyBbG79y5AU1JZD4EcUXHViPgj5OuQu/g2xAkPwdk FEuJlWIMIKRZSEfkLA17KhLw6b4Jv4AzZ6FdFtt8MN2EkoUl15Sj/adadfGjgiVF1O pj58nvIs4hSfj8TmN+B/CfujaHHguA1jxkuZj/rM/t5sJUq5snviGXyQ6epvkVogp1 wVRYM/P5WJeyw== Received: by mail-ej1-f52.google.com with SMTP id og14so17559407ejc.5; Fri, 18 Jun 2021 12:50:38 -0700 (PDT) X-Gm-Message-State: AOAM532epyVM+6mSLy7yYtAcW36EMldqHdBUUc0On0EtyUvv1CgDC9NG nGt2AbvGVoASdljnUGpdRXKb005xmWqOOQNPyQ== X-Received: by 2002:a17:907:2059:: with SMTP id pg25mr12140038ejb.130.1624045836720; Fri, 18 Jun 2021 12:50:36 -0700 (PDT) MIME-Version: 1.0 References: <1623690937-52389-1-git-send-email-zhouyanjie@wanyeetech.com> <1623690937-52389-2-git-send-email-zhouyanjie@wanyeetech.com> <20210616154526.54481912@zhouyanjie-virtual-machine> <20210617112400.5e68c172@zhouyanjie-virtual-machine> In-Reply-To: <20210617112400.5e68c172@zhouyanjie-virtual-machine> From: Rob Herring Date: Fri, 18 Jun 2021 13:50:25 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: dwmac: Add bindings for new Ingenic SoCs. To: =?UTF-8?B?5ZGo55Cw5p2w?= Cc: sihui.liu@ingenic.com, David Miller , Jakub Kicinski , Giuseppe CAVALLARO , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Matthias Brugger , Alexandre Torgue , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/STM32 ARCHITECTURE" , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" , dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, jun.jiang@ingenic.com, sernia.zhou@foxmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 16, 2021 at 9:24 PM =E5=91=A8=E7=90=B0=E6=9D=B0 wrote: > > Hi Rob, > > =E4=BA=8E Wed, 16 Jun 2021 15:45:26 +0800 > =E5=91=A8=E7=90=B0=E6=9D=B0 =E5=86=99=E9=81= =93: > > > Hi Rob, > > > > =E4=BA=8E Tue, 15 Jun 2021 17:05:45 -0600 > > Rob Herring =E5=86=99=E9=81=93: > > > > > On Mon, Jun 14, 2021 at 11:18 AM =E5=91=A8=E7=90=B0=E6=9D=B0 (Zhou Ya= njie) > > > wrote: > > > > > > > > Add the dwmac bindings for the JZ4775 SoC, the X1000 SoC, > > > > the X1600 SoC, the X1830 SoC and the X2000 SoC from Ingenic. > > > > > > > > Signed-off-by: =E5=91=A8=E7=90=B0=E6=9D=B0 (Zhou Yanjie) > > > > --- > > > > > > > > Notes: > > > > v1->v2: > > > > No change. > > > > > > > > v2->v3: > > > > Add "ingenic,mac.yaml" for Ingenic SoCs. > > > > > > > > .../devicetree/bindings/net/ingenic,mac.yaml | 76 > > > > ++++++++++++++++++++++ .../devicetree/bindings/net/snps,dwmac.yaml > > > > | 15 +++++ 2 files changed, 91 insertions(+) > > > > create mode 100644 > > > > Documentation/devicetree/bindings/net/ingenic,mac.yaml > > > > > > > > diff --git > > > > a/Documentation/devicetree/bindings/net/ingenic,mac.yaml > > > > b/Documentation/devicetree/bindings/net/ingenic,mac.yaml new file > > > > mode 100644 index 00000000..5fe2e81 --- /dev/null > > > > +++ b/Documentation/devicetree/bindings/net/ingenic,mac.yaml > > > > @@ -0,0 +1,76 @@ > > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > > > +%YAML 1.2 > > > > +--- > > > > +$id: http://devicetree.org/schemas/net/ingenic,mac.yaml# > > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > > + > > > > +title: Bindings for MAC in Ingenic SoCs > > > > + > > > > +maintainers: > > > > + - =E5=91=A8=E7=90=B0=E6=9D=B0 (Zhou Yanjie) > > > > + > > > > +description: > > > > + The Ethernet Media Access Controller in Ingenic SoCs. > > > > + > > > > +properties: > > > > + compatible: > > > > + enum: > > > > + - ingenic,jz4775-mac > > > > + - ingenic,x1000-mac > > > > + - ingenic,x1600-mac > > > > + - ingenic,x1830-mac > > > > + - ingenic,x2000-mac > > > > + > > > > + reg: > > > > + maxItems: 1 > > > > + > > > > + interrupts: > > > > + maxItems: 1 > > > > + > > > > + interrupt-names: > > > > + const: macirq > > > > + > > > > + clocks: > > > > + maxItems: 1 > > > > + > > > > + clock-names: > > > > + const: stmmaceth > > > > + > > > > + mode-reg: > > > > + description: An extra syscon register that control ethernet > > > > interface and timing delay > > > > > > Needs a vendor prefix and type. > > > > > > > + > > > > + rx-clk-delay-ps: > > > > + description: RGMII receive clock delay defined in pico > > > > seconds + > > > > + tx-clk-delay-ps: > > > > + description: RGMII transmit clock delay defined in pico > > > > seconds + > > > > +required: > > > > + - compatible > > > > + - reg > > > > + - interrupts > > > > + - interrupt-names > > > > + - clocks > > > > + - clock-names > > > > + - mode-reg > > > > + > > > > +additionalProperties: false > > > > + > > > > +examples: > > > > + - | > > > > + #include > > > > + > > > > + mac: ethernet@134b0000 { > > > > + compatible =3D "ingenic,x1000-mac", "snps,dwmac"; > > > > > > Doesn't match the schema. > > > > Sorry for that, somehow when I run "make dt_bindings_check", there is > > no warrning or error message about this file. I am sure that yamllint > > is installed and dtschema has been upgraded to 2021.6. > > I found that it seems to be because 5.13 newly introduced > "DT_CHECKER_FLAGS=3D-m", and I am still using the old > "make dt_binding_check" command, so this error is not prompted. Now I > can see this error message after using the > "make DT_CHECKER_FLAGS=3D-m dt_binding_check" command, and I will send a > fix soon. No, this error has nothing to do with the '-m' option. Rob