Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2069689lqo; Mon, 13 May 2024 07:08:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3pSgr05W4Uf99AA7EqhHtEvUoFHma+Rp1EQBVD0UOD097v8Sb9jq832PJ0Zy5hyF+dj1csQLlqsg8QlZY0vVBIq08+Xq2gcBZIg1zVA== X-Google-Smtp-Source: AGHT+IEIKr+L8DYrmr0QKe+ttTlnjX9KaFEH88w3TPjeVETYLL3//lYf8oz8++Hr/8UiNW2QRUA/ X-Received: by 2002:a17:906:ca8e:b0:a5a:7b88:8672 with SMTP id a640c23a62f3a-a5a7b888747mr19965766b.16.1715609307471; Mon, 13 May 2024 07:08:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715609307; cv=pass; d=google.com; s=arc-20160816; b=K7tp9AtlmcBW9+PFHWwNsddX33nh+JWssF3/KjKG2FLhBAeOLUj3RMwN+JnR9Lrdaw fFABtyIOqYEwvYQwGLpCrFaMg34Q/fAAX78r1JDA7G5bDMgi3lWOdJbZTBv+AqoxL0xc s5O3ENdevlNqRuudsrVvVFOvXf2s8Y7KaTuNq1ebKQ0LbJD+sWc9p8H7GjTyD6sglfCm WH3nWrIzPi7QF2Et5ThVNmQVra5J2+u7NLIyEc4mQgejYyBSAlWnvzsjOORDcVkoWg5k NxXxEOzzno5p61gKXUtvimd1WTFz+9T0RFI8QwxMiRhxukNosIg9mJPZkOyAeLbmm8I4 hh9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=IAj0zC/NmxIhXGebLMPF7t3BBODE7eX8o0Rp4kLw+l4=; fh=kuvc6SqEkXQvfPfu1txhOKZs++eZWVsALK7jVamnhis=; b=dEKs09Vvph6nE/dINpZX4X1qHMjpCzG/NXK2wX2k7TaojkRkOiIQCcSG93OwQUSMWV tYzmMZyv4ABTTfQ7VEq0oC0QFB1+cTWzbWLzIe4LQ9HWti6MJFK4tr7j89JtVLYB2OKZ oySFLFgMwSR9gfnl8GfB1ssCL2MmGuu3KO1BDOmpHYQLpCpCyIJ3ZycBfiCG+lVZRzqY Utnrxeo7QwSxg7TAntwvc18PouhHU0WCatWCpPVrLkX8mwBICfO69NSxXFWxQRH0Y3iR RY5x2w8bBMo7QUDoqdrosAB0Gj6vMd/90clLJeQFrtxw6+ZobAdeTyYb6TkM3LeqbXDU ExpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="r5DR/mAP"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-177670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba57d7si477875166b.656.2024.05.13.07.08.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:08:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="r5DR/mAP"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-177670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 363231F21982 for ; Mon, 13 May 2024 14:08:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C830153830; Mon, 13 May 2024 14:08:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="r5DR/mAP" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E1BB50279; Mon, 13 May 2024 14:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715609297; cv=none; b=Jf0VIoZJV25Dp3k5lovc54Invr/vhNBdvtPDMLmBO7H/eQlnUHFE4tdUuv3VlxNEk7rIAWyU5Ot2PRSbtfbxRbKkMtiYWPglBJm2rPqbBNZh+GYK2I7v6CA/8r0dmlLCF7hW1IVXL3m5wXN+8Cx7rso1M/NRy4CmG9shFyx1rts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715609297; c=relaxed/simple; bh=K5E+U1mJykH/GF+NxFkP/wtwFeDQzEeRkoFvRLpM2WU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=GZR3Qwp5COrk3fTb53taueoGZK8lqvbIgIcSzqN8sCdGh5UlYh4Fi5X/zzAA+95ltDwfW3CmgwGUePacOjIbmdOFfjx4OT8pT8sSfItgwLoCpQzLV6QHvinmMSsJsBkGSZxT649Ka8KmAbAb8T/ZBc+Wb1sgBQNj2V5DOzsGSU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=r5DR/mAP; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44DBs1dp004575; Mon, 13 May 2024 16:07:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= selector1; bh=IAj0zC/NmxIhXGebLMPF7t3BBODE7eX8o0Rp4kLw+l4=; b=r5 DR/mAPfO0af1cfHGG8N/uerGaz91NZ08BGOZcx5GX59tZxkfka/tPdOhKVFF2tU5 gbIhF6+lMSzPa4UKYyeo85vR8ETb+qmw3PutIOR+nuy09ct5Zd9WiVohL1Pwkv6R NURIk6T71vmtvmy2OM2+FfPgHvyFno484apDzTRBdkUZe6rIM1jOxlh2fUKZKyHZ vNr7Ufzf5mT9EDA7ZHtW8l0TzHgB801y0buH6SHAfugbQ1q17QBeCN+HjHmQAtG3 NYf/fRxxU/vcx/pBKDQO3wcYtRB83J19U+WOLHVUSyi4BD64r2VrxbJS1XA/CfL9 lP08LaX2lY8lPuSCH+Tg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3y2j80n46s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 May 2024 16:07:40 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id BCBAD4004A; Mon, 13 May 2024 16:07:34 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 93D9F220B7C; Mon, 13 May 2024 16:06:19 +0200 (CEST) Received: from [10.48.86.164] (10.48.86.164) 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.35; Mon, 13 May 2024 16:06:18 +0200 Message-ID: Date: Mon, 13 May 2024 16:06:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/11] dt-bindings: net: add phy-supply property for stm32 To: Rob Herring CC: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Jose Abreu , Liam Girdwood , Mark Brown , Marek Vasut , , , , , References: <20240426125707.585269-1-christophe.roullier@foss.st.com> <20240426125707.585269-3-christophe.roullier@foss.st.com> <20240426153010.GA1910161-robh@kernel.org> Content-Language: en-US From: Christophe ROULLIER In-Reply-To: <20240426153010.GA1910161-robh@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-13_10,2024-05-10_02,2023-05-22_02 Hi On 4/26/24 17:30, Rob Herring wrote: > On Fri, Apr 26, 2024 at 02:56:58PM +0200, Christophe Roullier wrote: >> Phandle to a regulator that provides power to the PHY. This >> regulator will be managed during the PHY power on/off sequence. >> >> Acked-by: Krzysztof Kozlowski >> Signed-off-by: Christophe Roullier >> --- >> 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 b901a432dfa9..7c3aa181abcb 100644 >> --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml >> @@ -84,6 +84,9 @@ properties: >> - description: offset of the control register >> - description: field to set mask in register >> >> + phy-supply: >> + description: PHY regulator > This is for which PHY? The serdes phy or ethernet phy? This only makes > sense here if the phy is part of the MAC. Otherwise, it belongs in the > phy node. > > Rob You are right, normally it should be managed in Ethernet PHY (Realtek, Microchip etc...) Lots of glue manage this like this. Does it forbidden now ? if yes need to update PHY driver to manage this property.