From patchwork Thu Dec 8 06:16:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 31171 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp28949wrr; Wed, 7 Dec 2022 22:19:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf5TVXX7O7sqOjUnPQTSGJXRDKQIkTupFLUehNMd5swfQMf+HHt0so/xuIx+/s/OWDeyRk9F X-Received: by 2002:a17:906:124d:b0:7ad:b822:d2e4 with SMTP id u13-20020a170906124d00b007adb822d2e4mr78548650eja.35.1670480371526; Wed, 07 Dec 2022 22:19:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670480371; cv=none; d=google.com; s=arc-20160816; b=ofm1RpOfpsm90MjogsW49oCedFoR5SGeUiPa5ieCVVyii4lAMkerfcHYCDP4uso3ZP 6nj3J1897ZT+Ph87nX5HTP8X7khGZDLb79+aJMKxTCkHKXL4s47aQlWpArs5Rp/Db8hz b6r4ffAVYqugHCdEpIAxDeG0MsiTIRm+ufVIeIWBJ67amJYRqqdibqTXajhwvuh8RpmD basOEo4xI0INqSStRh/AH0TC0f+CGohkcJ/vrF6dgaZVc1lfL+vQU4x01EWo1vJESFm5 /rpwHqQI2NiLkMOtyzWgC07l6C8Y2BsgFB/w0ePkZZT8SqOS8wlO7iDn8BJ8015koEkU vY2A== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=x0me3RKZeq0yeb9T+A/Cz7qCe2YIzalCfRlQG3BTeKE=; b=VoPR0wVJ722rWtNHl67YOGl4xkZhYAP4paiTb4/3zq8KsWIZRN9srIi5sg1yR1ivWC Yk2LcZijJjo5tQnLATSb+VxuMlJGdpxtIUH38g2Ikfp4XoF9CSAbazHjqFgdqqn+CkK2 03TEOE5oiMg/jpZBqEHqL6x0mkjASQjoHhSJnxoMV1i4wNxLfJxkl1Wh887+YLoE016p 28xP+I+SL+bYHOfv6/TpQxSlHwjyjhqOGKaq2eBqX7vUCyYxO6bo3v0h8lHM3RNEWOeZ O9RQ+QnHmfW7KUEoHKyPfQBsV2GxO39omJD+1+z6yOZYYcBlH7WDbTx5RjZf4JMhPY4u Ho8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=K2oJX4eF; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=NZRvslDJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga16-20020a1709070c1000b007c12e783651si414251ejc.12.2022.12.07.22.19.08; Wed, 07 Dec 2022 22:19:31 -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; dkim=pass header.i=@sholland.org header.s=fm2 header.b=K2oJX4eF; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=NZRvslDJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbiLHGQY (ORCPT + 99 others); Thu, 8 Dec 2022 01:16:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiLHGQW (ORCPT ); Thu, 8 Dec 2022 01:16:22 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A46539AE12; Wed, 7 Dec 2022 22:16:21 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 73ECA320029B; Thu, 8 Dec 2022 01:16:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 08 Dec 2022 01:16:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1670480178; x=1670566578; bh=x0me3RKZeq0yeb9T+A/Cz7qCe 2YIzalCfRlQG3BTeKE=; b=K2oJX4eFTEWB9WOxAJUc23gDWQ8FAWBMusXLae2tW P6Zh0RT3DqkvyIQQE02DxwlutY2ZNjMz2h7+VHeDCfKE9fxGeJeEgub+nLhJQRND KPuI2r+NIskj/JylWfrTBntujKb0TFA2w2qETg8+wOVpQQoc/8QOgykkg3BGMtHI BhRa2PDrMILL1kWFVSo8fz5VGuDoushbvd5w04yOxB2R9ZCFi4z8jJA4RFXmtugW bCfDeL9ynrhOTH/lV7NPJvw3jUe/UsK+6L7VQZNRZ44E9uql8DAo7gIpD2Gsh8tl M0xSG+92z08PmJWQnDgfUZ/kXNpSL5n44b3qhrZ9p3hhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1670480178; x=1670566578; bh=x0me3RKZeq0yeb9T+A/Cz7qCe2YIzalCfRl QG3BTeKE=; b=NZRvslDJ35NLwJfLfOKpottBlDkIoqAcMjQiNRJBy6piuqEOqfJ icyHbG4Mtb+YirsBhlKo1e2NiHobJXllhAlWrA93RCdxV3oUF3KY7o/9xeW6PG/p xabCCfQI/xzgrRj55CdfI6loXvBRcrFlzjLmUut/IlIoGOCzRDzlMILBLynzpDJW iWvV5CIuBlUJPf3EAmf9b5cU5lHobXVHJU1L8lwjR68N2lfLeMnIjSSGH+3zG9Pn sETQOpl05IWu6wmhg8eDV4jGOcEnmbCWpszx0qI9YPflKhCmKS3Ufz0ADVzjsWT7 ftaG5sYsjYt2a8Rki0cNF7HYsgrF8/t+fQw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudelgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Dec 2022 01:16:17 -0500 (EST) From: Samuel Holland To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Samuel Holland , Rob Herring , Andre Przywara , Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , LABBE Corentin , Maxime Ripard , Rob Herring , 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: [PATCH v2] dt-bindings: net: sun8i-emac: Add phy-supply property Date: Thu, 8 Dec 2022 00:16:16 -0600 Message-Id: <20221208061616.7806-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751625626056958182?= X-GMAIL-MSGID: =?utf-8?q?1751625626056958182?= 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") Acked-by: Rob Herring Reviewed-by: Andre Przywara Signed-off-by: Samuel Holland --- Changes in v2: - Drop the rest of the series, which was obsoleted by the dt-schema fix - Add Acked-by/Reviewed-by tags .../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 1432fda3b603..47bc2057e629 100644 --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml @@ -40,6 +40,9 @@ properties: clock-names: const: stmmaceth + phy-supply: + description: PHY regulator + syscon: $ref: /schemas/types.yaml#/definitions/phandle description: