From patchwork Fri Nov 25 20:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 26129 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4270963wrr; Fri, 25 Nov 2022 12:22:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6u3ZJLqUHWUs9OuOJxP+wWiIXiYaoq2ZVU9rmOiJ4aOtRyIaXUxJ89E/3JsNqr6KfVWjhh X-Received: by 2002:a17:906:ad97:b0:7bc:42f6:153d with SMTP id la23-20020a170906ad9700b007bc42f6153dmr5225027ejb.204.1669407772974; Fri, 25 Nov 2022 12:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669407772; cv=none; d=google.com; s=arc-20160816; b=aKHTNse2F6EQ/Faw6UEvOhvy+Ao+UUX701mMRZS2jTlZTq2bQ5/lbW7PwHTgB3AL9s MVsosIO7eIruXgGYyLK8uKukd6Xvf8g5mQLmjWl3PSL376TWZbVRn/FBnfbxjzYhmK+Y GcHozqV9luc6k55/pTu2QqAl6WC5emfr6SMPcIIG5a1ktujPaEtkaLpIu6hcaIsHYTSP M2JkHJfT2S0xEVzx/NrUptM0M33nBbpRb80OS5lncCykqa75EXVl1QD+669VnhiTT3qk ezGpVRx1NQMbj1eRnBJbqJ1myJf/Yymp7LBmuk+qOp8LIdC5nfn+NQonyKUOe3CKkDye kx4g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=lOfNHybtknTjw+K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=toLw0MBDGxP1QULVau78u0hHRVarAybqUsQmoe6Yb+uTHyQWtYX0W22gafV4TuGu9d S1qBcOp30GxNzrBgo/qxFeyf0rsgdaJwBaIh5M/FzG2NmZsFjQ393OTG9u8byL5QR44v O02bX1GNXGsb20GFi86JT7LwNtuZf1Cbp3MQWcujyovvCxBU17goUXdtwg83UZaNSLjn nCqDHvK5omDC84A+BmsGJY8TQXZs9QokeyOnZGDyAYbjE18YRvt4RU5vo7kOLWfuxN/g ng/euwjYv4hZRulmsgQUPlvxVmhq3/2KEzlYqlVUjkajnLgTa+/5cz4ucspyrOdS1vQB bQkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=qIXgTqGR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKKkFCma; 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 c13-20020a170906340d00b007b2a3ee2d2asi3078142ejb.703.2022.11.25.12.22.27; Fri, 25 Nov 2022 12:22:52 -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=qIXgTqGR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKKkFCma; 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 S229993AbiKYUUY (ORCPT + 99 others); Fri, 25 Nov 2022 15:20:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiKYUUQ (ORCPT ); Fri, 25 Nov 2022 15:20:16 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FB3B55ABC; Fri, 25 Nov 2022 12:20:15 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BF1645C0065; Fri, 25 Nov 2022 15:20:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 25 Nov 2022 15:20:14 -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 :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1669407614; x=1669494014; bh=lO fNHybtknTjw+K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=qIXgTqGROEliLPq3Gk vbkiYULLGQi4/wMiLekhCC9EqrT+qFMUu14ljQffjBiwSBFBmxFPHcKNS2InAtZY bKwfuSgOZB/U9Nrr3rAeJ8+mA1FQqJBZpb62U5mLPw8zx4vNdXWsKHyScgjA5Dk3 JRCkd1+Qg3ywQKpkEXQXLCkg80yX2wT2Opy9wUlCZIiYpdgKIrPpo5iDVTFx0eqW r+ounTV6TVri53jTJkjqseu2ZEve48zuV2H375cTBwZqvOeBTbpJa7SOa9HgIfBf Z+Eh0WSHzF2a3sCDaMil0rwL9rhYNb9zVQn8NnIZ6IFcK0lZoLdmu8iTABtH9AzV 9m+w== 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:in-reply-to :message-id:mime-version:references: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=1669407614; x=1669494014; bh=lOfNHybtknTjw +K3iU0INR/sKAaWBha0aC/eE2fjc4A=; b=XKKkFCmagehapuhX9kHF3e1BO/xTP U13n7WmfBnakSp06JRWgN2U6RgYPJNSbatvI51VbkSLTWMkCIpvfeYebQC+FhDQK I1OCYDyBomSAQZwyUWc+vUkMsfw1FqpjL0xIfpfzkOR+IFBCdOzZUPSLyPhxJeh4 Hw0Gp3BP/WfU6bxHmgd/llHqzBL+f+nT56OermQ0JJ2aeUPhbcyVDJh4/sQu9CPU Vr6+Xm1CvMlaxJ5Xq1BNGalK+Dpr0T4x1/rA7nT2mbdIDR/G03zUzikxWeqw/7/X Fik9859AxurwXa5k+ENE4AyLtaAssX2pGk0LmPuTeHRg7VGXjm5twvMqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrieehgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Nov 2022 15:20:13 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: Samuel Holland , 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: [PATCH 3/3] dt-bindings: net: sun8i-emac: Add phy-supply property Date: Fri, 25 Nov 2022 14:20:08 -0600 Message-Id: <20221125202008.64595-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221125202008.64595-1-samuel@sholland.org> References: <20221125202008.64595-1-samuel@sholland.org> 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?1750500924884621188?= X-GMAIL-MSGID: =?utf-8?q?1750500924884621188?= 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 Acked-by: Rob Herring --- .../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: