From patchwork Thu Sep 28 15:15:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Roullier X-Patchwork-Id: 146208 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3444547vqu; Thu, 28 Sep 2023 09:40:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEp986QDgv3/IP4YVhivAVujQKKjrw2NHbcoK9G0ShhyUoP+hHH8tVeDiMOGjuqSGFDLaif X-Received: by 2002:a17:90a:ce8c:b0:26d:43f9:11dd with SMTP id g12-20020a17090ace8c00b0026d43f911ddmr1688480pju.0.1695919221971; Thu, 28 Sep 2023 09:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695919221; cv=none; d=google.com; s=arc-20160816; b=wa/wgQIzIAux5BP3bVcVZTyxdb1aQYxiVXI3MUgtnH6ciUP4Tv25tiqvozaAqED+Dj YIk+NSmHKL8GxF4ciBma8ZDUsj4uST15d4YJ1lG54AKWVL0qMpqEBHo0bo0R+lTunpA0 UQWxoe1F7XML6VBL9sTZsuzUm4ikdutfdOgMZ+wQ/FuA+h1ygleRNssBBALZoN6+9WaQ YYoXM4lXCY0XwGXjpNX5VGDjxPpMQvBEyXvkUErbzMlNIaiWuhlbYC8cyESnTEAdaABT B8SvyHTiPZaM+5C1lLEp1e1ai7OTElxzLjqeV83yoWIwTHcQXEZas8KdPPQmpCI5fOXc SwSw== 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 :dkim-signature; bh=lbCIG+MToj0X/mn3qzQ6AnM9K0ejKwmc+J/sXL5Pwhk=; fh=Nrq3/ZyqAmcldX4TnYQJDytRSUiD1vJeQNniXh+eWjo=; b=TEKGSZoq8OrtEdNub0aavkEOR8jwBA9pYt9Mu1ik2XVNtzVd/lQEORG0u4ix9Hpyrd xx33xXhpPqTpLHX3WZkEb/CyDuXamFPmutQrcE6d0TVp+f8oHJClo3Xcl2ceNo8Nmp9t E0WcWy+Mj3CJI+uX5Y77Nv6zWeYiU/4YYBEbCil6a6Y5PZ1Q2lWjRPOfPMeQ18jtqqMH 2nHJhNVwrkUgIt5MGMecQYPYMqBsvaBIBK0Kw1cZB+3tSxfNNDb8QL/sEvv+E3K0oMym XX+vVcLFLJA4wZRFy2HySxv4vf3Ss0JbubgfZ1rHuiMxHqIf5W6GGlgtlMG75OrqJndp rRng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=LigDIZJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id w7-20020a17090abc0700b002790e0af4aasi2359573pjr.174.2023.09.28.09.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 09:40:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=LigDIZJA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5D62A802716F; Thu, 28 Sep 2023 08:16:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231577AbjI1PPv (ORCPT + 21 others); Thu, 28 Sep 2023 11:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbjI1PPs (ORCPT ); Thu, 28 Sep 2023 11:15:48 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05BD9195; Thu, 28 Sep 2023 08:15:46 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SEae6X029789; Thu, 28 Sep 2023 17:15:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=lbCIG+MToj0X/mn3qzQ6AnM9K0ejKwmc+J/sXL5Pwhk=; b=Li gDIZJAzBuz9vdjys6D9Ux9aPFmOU2XBXlp9FbxTysQ0TMdr6yz6w/AHk5PJgHN/M d0fEnsB8Ptw5bnCANXntYkBNLJ4V+Tby6IaNMHhg3kmhu+sCGk0xmQec9oJ/CD5U RMcotuAqM0GN6nJnoha5y8NYPur5JObVvAHP2YJ6NurSt5LzTC2VOijh/au7X5bd 16zPilcogLQVpwkKkRo9H3rQD4NEJeP09XHUYg+QIK7xsjwySnTjtUz9cn4iF0yI mZhj8GS75++iLiJ4FtqW6WE3CZm3X5qzqucHjsBoU8iuoe5ZrOHc6GfsVSAFTf4m UMmXxBx0oK3aDz1k4XBw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3tcq63cugy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 17:15:19 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D8703100057; Thu, 28 Sep 2023 17:15:18 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id CE22B24553D; Thu, 28 Sep 2023 17:15:18 +0200 (CEST) Received: from localhost (10.201.21.249) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 28 Sep 2023 17:15:17 +0200 From: Christophe Roullier To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Jose Abreu , Liam Girdwood , Mark Brown , Christophe Roullier CC: , , , , Subject: [PATCH v3 03/12] dt-bindings: net: add phy-supply property for stm32 Date: Thu, 28 Sep 2023 17:15:03 +0200 Message-ID: <20230928151512.322016-4-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230928151512.322016-1-christophe.roullier@foss.st.com> References: <20230928151512.322016-1-christophe.roullier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.21.249] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_14,2023-09-28_02,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 28 Sep 2023 08:16:27 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778300194243155346 X-GMAIL-MSGID: 1778300194243155346 Phandle to a regulator that provides power to the PHY. This regulator will be managed during the PHY power on/off sequence. Signed-off-by: Christophe Roullier Acked-by: Conor Dooley --- Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml index 67840cab02d2d..8114c325a4eed 100644 --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml @@ -78,6 +78,9 @@ properties: encompases the glue register, the offset of the control register and the mask to set bitfield in control register + phy-supply: + description: PHY regulator + st,ext-phyclk: description: set this property in RMII mode when you have PHY without crystal 50MHz and want to