Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp11503832rwb; Fri, 25 Nov 2022 16:55:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf6HsY/ftwdi7sgwKR9/96kZmhcnoaEvNuPbW0zAv12tp8OmWvFLZ4ozQxynLDkEm+Y8KubM X-Received: by 2002:a17:902:ab5e:b0:189:56ab:ab6c with SMTP id ij30-20020a170902ab5e00b0018956abab6cmr11951573plb.152.1669424141095; Fri, 25 Nov 2022 16:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669424141; cv=none; d=google.com; s=arc-20160816; b=YjGgdoWgTYFFCIo6DH32qpgIPtYiochehcYxrLBpdS9LuJ3NHPdACFn9sA2xhsDpdC jI/kTOUUuCcwrq6TGQQImbmw2LNajUW/K1EiueBT/vWh6q5WWtnRBX8yjJGwGIImDlMW s+pp8RXy7Le+PSRMVibc/gQom5lOYpSIz0YpFl7oiszeQnRzM6EKXwpKTIqCZwAT2jwk fdwohjPut7H1TI1FcPpf92f/uCCfNZDKBn099AH2Ae8nB9OaOcq/dF9HnQH6oteEo1Te sxrMvkY2ZUCe58cLdvknIz/e/5fmD1crwCl7eync/1KVUtDXSJu0CQ8UL6h2lTa1+uHf m6CA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=N6nE5fHuAVzqLPS9/PPuR4EQO8MPVs0qLrmK/Lid9FE=; b=PMFTmuwN66k7IDynFOiwsSSQhiyCf4zfOfX3HMHwkXnonAaY7VURImtt0fVrEg95D4 bh/MyGeqRQb1fwBlKEiikqajS4Drl7m9DmyiQfNIj1vm2iPZeTN2oqA8m+mT1XGoFBHF QDdeP38d5OVyeQaUGv4XsgvNhCrtkVYY2tZk9Vx37YsNLZ9PCYGxRbOuD5A//ukpFXTv L1e1l/9b6434dKSHGyse59chdhVZMsfayOMo4zKnZhzDSRu9Ggo+Yd/6ftcnRZaIE8vt AN+TluvuPeJ7bR1mTS/2NoMDp8HTujSxeFJgrf17iwtsPOsRRKwy0cw9rNqyPq9mnxM0 A9Xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a632c08000000b004772bd99e54si6239177pgs.32.2022.11.25.16.55.30; Fri, 25 Nov 2022 16:55:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230071AbiKZAeg (ORCPT + 85 others); Fri, 25 Nov 2022 19:34:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229722AbiKZAee (ORCPT ); Fri, 25 Nov 2022 19:34:34 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 900F62C662; Fri, 25 Nov 2022 16:34:33 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D06A32B; Fri, 25 Nov 2022 16:34:39 -0800 (PST) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 288A13F587; Fri, 25 Nov 2022 16:34:31 -0800 (PST) Date: Sat, 26 Nov 2022 00:32:40 +0000 From: Andre Przywara To: Samuel Holland Cc: Chen-Yu Tsai , Jernej Skrabec , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , LABBE Corentin , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org Subject: Re: [PATCH 3/3] dt-bindings: net: sun8i-emac: Add phy-supply property Message-ID: <20221126003240.3627e59f@slackpad.lan> In-Reply-To: <20221125202008.64595-4-samuel@sholland.org> References: <20221125202008.64595-1-samuel@sholland.org> <20221125202008.64595-4-samuel@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Nov 2022 14:20:08 -0600 Samuel Holland wrote: > This property has always been supported by the Linux driver; see > commit 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i"). In fact, the > original driver submission includes the phy-supply code but no mention > of it in the binding, so the omission appears to be accidental. In > addition, the property is documented in the binding for the previous > hardware generation, allwinner,sun7i-a20-gmac. > > Document phy-supply in the binding to fix devicetree validation for the > 25+ boards that already use this property. > > Fixes: 0441bde003be ("dt-bindings: net-next: Add DT bindings documentation for Allwinner dwmac-sun8i") > Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara Cheers, Andre > --- > > .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > index 34a47922296d..4f671478b288 100644 > --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml > @@ -42,6 +42,9 @@ properties: > clock-names: > const: stmmaceth > > + phy-supply: > + description: PHY regulator > + > syscon: > $ref: /schemas/types.yaml#/definitions/phandle > description: