From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12135C433F5 for ; Wed, 8 Dec 2021 13:46:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wVpS63DhJqC4HqZb9PWM3jy6sNe2msryp2pwM7jx9/M=; b=X8wSEDlUen/r82 I0QLeHBFh02Av0NrTdh91IELj0nqp0dULKlkjdRt1NupomuoLOj+8FlooJbCVT/ThRrWkt2hB5DCU nkUbu1UDBBM47XRofyc+3i/YNmEPZ86nvQwlq/j2usk9vvMER/RUwTYqWZYKMId5PR74KGOlG6bbP SJlDTu7MFm4sMRlocZMHvUGtUvE7mYdK4znIwvhNUdUEW9c9DrGqGAl3IiymiYa04Acj1HOGEr3/e LKfqtgoSNXypa5ivP5DK0lkXLbhxITpp9tO5jYyGKv6MnFqvTNv4fYj4Jr+HrcCMCufghtWNyfvhv 5fAFoN8zS/wRsl7/5pNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muxFP-00CqLI-Tx; Wed, 08 Dec 2021 13:44:40 +0000 Received: from mail-oi1-f178.google.com ([209.85.167.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muxFJ-00CqJY-I3; Wed, 08 Dec 2021 13:44:35 +0000 Received: by mail-oi1-f178.google.com with SMTP id t23so4216667oiw.3; Wed, 08 Dec 2021 05:44:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=2FBGOv0PegNkvtOMGaZYa1BsopYp6ezUI2k+MFWsRkg=; b=K5hL83R/DTp3nVfGaX+5utmJHGG08Q9d7TrxbSwwnDInH2qTIoVsGDoX6lVyebp/ag U8fh3TplM5W11shqBST9JuTyO47PBsDyYjtA7/MEv7MDh9GQJm5s+0/KbCFYyXPSTP8V zMSU6g/GuHIYWcuOIoZGs6jrHj5QMW44FpEXvPsqKcAvj2Q3IzC0z4zqUCOsl6RO5vvp 053QwPVS7nB046TvWL72dueZz3tZmBUQIbtsVNKEzoa861sdMwgKvan3sg2NpxIMGsaE tfh4odk5fAzv/DtRk1oFXlyMCzsEUeAKv3ynSvjPRdhMW5JZSDRZI4CtCto/rbNZHHKX oQhA== X-Gm-Message-State: AOAM5305LC+J8j7huESobwSUhGYos6inxEuMg1bfgEjW+v3nNNI6wHr4 C77DBCFA1yXIK1FV/oruXQ== X-Google-Smtp-Source: ABdhPJy4QOKFBXVt9kjHp3l6spBp74LPhwun2A8oRCnVjLpYafUk8Begm5tyq5EWMDExu9pfz3il7Q== X-Received: by 2002:a54:4402:: with SMTP id k2mr11425020oiw.141.1638971072200; Wed, 08 Dec 2021 05:44:32 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id 109sm477713otv.30.2021.12.08.05.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 05:44:31 -0800 (PST) Received: (nullmailer pid 3857740 invoked by uid 1000); Wed, 08 Dec 2021 13:44:28 -0000 From: Rob Herring To: Biao Huang Cc: Jose Abreu , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, macpaul.lin@mediatek.com, netdev@vger.kernel.org, angelogioacchino.delregno@collabora.com, Giuseppe Cavallaro , devicetree@vger.kernel.org, Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , davem@davemloft.net, Rob Herring , srv_heupstream@mediatek.com, dkirjanov@suse.de, Matthias Brugger , linux-kernel@vger.kernel.org, Jakub Kicinski In-Reply-To: <20211208054716.603-5-biao.huang@mediatek.com> References: <20211208054716.603-1-biao.huang@mediatek.com> <20211208054716.603-5-biao.huang@mediatek.com> Subject: Re: [PATCH net-next v7 4/6] net: dt-bindings: dwmac: Convert mediatek-dwmac to DT schema Date: Wed, 08 Dec 2021 07:44:28 -0600 Message-Id: <1638971068.792969.3857739.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_054433_628414_CE8FF73A X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 08 Dec 2021 13:47:14 +0800, Biao Huang wrote: > Convert mediatek-dwmac to DT schema, and delete old mediatek-dwmac.txt. > And there are some changes in .yaml than .txt, others almost keep the same: > 1. compatible "const: snps,dwmac-4.20". > 2. delete "snps,reset-active-low;" in example, since driver remove this > property long ago. > 3. add "snps,reset-delay-us = <0 10000 10000>" in example. > 4. the example is for rgmii interface, keep related properties only. > > Signed-off-by: Biao Huang > --- > .../bindings/net/mediatek-dwmac.txt | 91 ---------- > .../bindings/net/mediatek-dwmac.yaml | 156 ++++++++++++++++++ > 2 files changed, 156 insertions(+), 91 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/net/mediatek-dwmac.txt > create mode 100644 Documentation/devicetree/bindings/net/mediatek-dwmac.yaml > 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/1565082 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel