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 X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84911C4338F for ; Fri, 23 Jul 2021 13:11:01 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4C29060E8C for ; Fri, 23 Jul 2021 13:11:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4C29060E8C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vcqCBFnMm74zWaYW0QLpL1V6UrLNrdfiLrx14vqvON0=; b=PW19E+h1ftpgjK CL4HJdzV7x4mMyUPtPDNZzBZieOlkxM1N8tcqxjP+HZrS1t8wNBdA/L/bK0GmanrZjYBAg5weR3Rm yAm68Y1rFdPq1H+LZkF6RvB9eFAbatGTxftxgWlit7A3IaZZuJqthlA0htG7ZiU+tLxMWynDi5Rzl KM/4p8B/OHtoQdPoBtz/HSptnXaFn08c4fGIuH2tKyTaS5pRniwkGyy0f9yyylYeyl7HgDM5M+yeX VZ5Jz5lz2Cx1GACjQK4rkF7SWNxsd5rH0Q89RdcnJCAgowFtpJOrGT+23z7YrZ6abO43z1h2YbULc ne3EmFZt7/m5e+dbsyDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6uvN-004nCz-Mm; Fri, 23 Jul 2021 13:09:09 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6uvI-004n7x-Tk for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 13:09:07 +0000 Received: by mail-ed1-x52e.google.com with SMTP id q13so1678284edr.6 for ; Fri, 23 Jul 2021 06:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PAkhX5Xo98YeUW9gogd9oQuzn1u/1XQEnn+TYTLrMLU=; b=nLGpsOsef3mPZvPURhVHCv5/LbnRnsl/AZtg5qi98FUrQrc9FGXLQUUZhgGPi00Njm kRhlsafDhZ/Ir+BDHagW6tl6TfHTHBzYpChRuNK97NBdFrIz3fNjw8CDdyTouPEfNd0n 33FkAIkIjHrfFq9o6o+VhBGe6cfKOkXHUCb3TNdm1RMQEVvFSMDby8Yzx7gvAHwAzJWo f7nbp351mxD0VB78Ft2iVsDUnrGJYlPRTvPqE6OweLR7tkybyQMPVGkT5s+tbhgcwaJk xowIYqqrB87usYrt9EgiqAO6lVKA/51Y4xpWV5ddbyVigtBGDhP6j3L9hFsZUsmIgSWU QDlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PAkhX5Xo98YeUW9gogd9oQuzn1u/1XQEnn+TYTLrMLU=; b=sBhDMDyAjId3kCv4NumLeeapvP3mcZeEIBZlTKDIeFZ3AKanHcYQ6TZPiM6P4CWwuh hZjqxGPIWWp4+O+Vwi58PaVWpOjGr/9hiCWTEksS/8s2MIx4tITneEXcla/L8dQ6WdtF l+5SuWk1hMbdz6GOKdLY9QMWiZJ0QqOxpdigx958Mt8RnXCaz83fK/Uo+DWcR2tfrjxQ d6tpKlpeMa5UgS/Vr7miqBkxz4/sDVFpg4cOSBXtBh6LxBrDRfdCUl6HYoZ2hCHmWJeI oe1+QyP3W3tP2RHPQRgGuEjzcbLVvRlTEGVgHXalxiN05wIFrNE+9o7Hyqrs+i3sCUL/ t+Ww== X-Gm-Message-State: AOAM531evcw6kjRefbQ77uFrkiwDi1tp65JlTFEfaniyLij4EPIPAesH jrZT7eYwxGQSndiwGCK9gd4= X-Google-Smtp-Source: ABdhPJx/9BRca9c3vlIqAYxdsyvYU/mwSwHs5XmUzc3hblRgBGVjpGX4CrAEBTtZGKoUmU/GTr9qbg== X-Received: by 2002:a05:6402:1d86:: with SMTP id dk6mr5606889edb.136.1627045732909; Fri, 23 Jul 2021 06:08:52 -0700 (PDT) Received: from skbuf ([82.76.66.29]) by smtp.gmail.com with ESMTPSA id f23sm9912748ejx.79.2021.07.23.06.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 06:08:52 -0700 (PDT) Date: Fri, 23 Jul 2021 16:08:51 +0300 From: Vladimir Oltean To: Fabio Estevam Cc: davem@davemloft.net, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, qiangqing.zhang@nxp.com, robh+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next] ARM: dts: imx6qdl: Remove unnecessary mdio #address-cells/#size-cells Message-ID: <20210723130851.6tfl4ijl7hkqzchm@skbuf> References: <20210723112835.31743-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210723112835.31743-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_060905_020495_F8F3347F X-CRM114-Status: GOOD ( 11.69 ) 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: , 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 Hi Fabio, On Fri, Jul 23, 2021 at 08:28:35AM -0300, Fabio Estevam wrote: > Since commit dabb5db17c06 ("ARM: dts: imx6qdl: move phy properties into > phy device node") the following W=1 dtc warnings are seen: > > arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi:323.7-334.4: Warning (avoid_unnecessary_addr_size): /soc/bus@2100000/ethernet@2188000/mdio: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property > > Remove the unnecessary mdio #address-cells/#size-cells to fix it. > > Fixes: dabb5db17c06 ("ARM: dts: imx6qdl: move phy properties into phy device node") > Signed-off-by: Fabio Estevam > --- Are you actually sure this is the correct fix? If I look at mdio.yaml, I think it is pretty clear that the "ethernet-phy" subnode of the MDIO controller must have an "@[0-9a-f]+$" pattern, and a "reg" property. If it did, then it wouldn't warn about #address-cells. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel