Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3402799lqp; Tue, 26 Mar 2024 08:15:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXuJIfkTi/rngqdx8lmcfSlc2XO3eULSlRwbT1WsiL/hDFQFM7rTYnzYKELk3bCxG59yElFtDlUx9MnDSkfmHngc1/H7kj2r4VwomGltQ== X-Google-Smtp-Source: AGHT+IHGSUWrkB9FeHb7alIGKsM/0ZG6jDwjxlbuAgSt4q3Yh3fIJmf5302OOhO46zYGCTDbLiwu X-Received: by 2002:a17:906:1848:b0:a46:d6f7:e8f5 with SMTP id w8-20020a170906184800b00a46d6f7e8f5mr1038106eje.18.1711466156519; Tue, 26 Mar 2024 08:15:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711466156; cv=pass; d=google.com; s=arc-20160816; b=yhw8lcygl6H8PTCpo7lGGjNUh0Fj5oDyUbcPJj2DgBZjYPzr8TMFcn2ezfuMXck72j Rl4JuXflJoWE3BnOjEkaLgi9uX3awPk66yefT3saips7Ca9iyCmSoGHq7p1/LgGC/AqV dMvPDH87qemF9x3s67IulFnZh+yY+HcHg1pCpm0p5WkKqKlsa45QntXDwkDuopp5Ny5g 1scToWLxmFo5XpH2fKyZP7NO35n3UJBOjs6FNCdyas1AWCsoN2UXFTiMm+6RNHi27c48 dkN8JS4jDinBty5ie9mFNTuchuVB8yG4alGM91k8La+PhWjDsCUNQazqA1xStatnS/Da OWxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3vWUrAA8SZ0bCLZDcJmAKQ5MfnH0TVI2Dv0Fp0kU2eA=; fh=DvXdEVmf3TLqDV5kCJSEST7enPFmnKqSWLVoJ5575xo=; b=Uev9IGWvXcoNKVy6g3vkoEwbJ80CbUSZ98FCYRlnqyjO2cgoZCH17T5br8P+ZEj7fN 39rfPfwabLeA/Vw3K9p1V+dB8ju6q6a3Go8cIMDoEKE/qYaA34FXnjtxXpPCCWRWNvr0 PQl9r8yS+Q9R87dvsLKXUDRE+yutjkv7aja9Y5b+qhN9uR1IfgZgzDEBD0fN2IdcEahK tafi3P/1EX7mpUHP+Gqf+Fca5hw1YAI4rdNOAydHOGbqG9F9O9gz+PeigfOnrkGDpXEp NTkv3QgM3sPZ10JLOz3RX3j+6uqXD59e0kdFtVGKrgiTUsy+aRDUVmDnbRKBa6yjnUwk VBPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OCyyPqD9; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-119283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f16-20020a17090631d000b00a471122add5si3515527ejf.644.2024.03.26.08.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 08:15:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119283-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=@lunn.ch header.s=20171124 header.b=OCyyPqD9; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-119283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 34F1B1F663C8 for ; Tue, 26 Mar 2024 15:15:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C83C313C9A9; Tue, 26 Mar 2024 15:14:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="OCyyPqD9" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 4389B13C3F1; Tue, 26 Mar 2024 15:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711466056; cv=none; b=fOGgWUok/nPt5Aqfl8xMrTWuihjzA5VN6DrdhBys4/hU2APWK99wszLiwyqU245wKDChFSBOzJQXOdSIGVUFTTTaIImo/GzlCUHi0x5CZafm8C8xRU5j+zaC2H16QYokZ1Pj46PiQ5OfeG27xVpfJgQkFqU+2D7ssNwU2wUFaNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711466056; c=relaxed/simple; bh=AzZ+0V/7UCP04kyacfJaJZkcxE/dAHgDXOr2CADnkio=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TB5+o/yXcZ0oGkGY+i9UHjidR1el7JEWf5whS4Ee73t97R2FuAUCBJDM+DWP0HdsSqaXgIOkSfunlPRyx0+m6Zx4U5zaziuf7JuVsA4f4pccj57CtUbdX0Y/ipo3IYJ9CrU6Z+Tn/AMQXz9muAlhJ4QRJY6MgDpoiroXLu7sCKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=OCyyPqD9; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=3vWUrAA8SZ0bCLZDcJmAKQ5MfnH0TVI2Dv0Fp0kU2eA=; b=OCyyPqD9Qte/rxh7EbEj7wBpWD M0PVTxm3eD6v7qzfKYO1ZitDxFc7DSO1niSFC2uJ0tQx3oceXcrn9xDW/qsw0wUXosyACH5xid1hR z9AYNND2tXKNbwipMrvM1OSixeP96D746fZZMa9FgTBYgQWojfiPftbBwIXV0KQIdMUA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rp8Uw-00BIGs-R1; Tue, 26 Mar 2024 16:13:58 +0100 Date: Tue, 26 Mar 2024 16:13:58 +0100 From: Andrew Lunn To: Christophe ROULLIER Cc: "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 , Marek Vasut , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] dt-bindings: net: add phy-supply property for stm32 Message-ID: <838d8e91-9b82-4185-8827-055fcaea8fcc@lunn.ch> References: <20240326125849.226765-1-christophe.roullier@foss.st.com> <20240326125849.226765-2-christophe.roullier@foss.st.com> <0e14ad5d-3c25-40ab-981a-fbc4e245fc94@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 26, 2024 at 03:41:13PM +0100, Christophe ROULLIER wrote: > > On 3/26/24 14:58, Andrew Lunn wrote: > > On Tue, Mar 26, 2024 at 01:58:48PM +0100, 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 fc8c96b08d7dc..80937b28fa046 100644 > > > --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > > > +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > > > @@ -82,6 +82,9 @@ properties: > > > Should be phandle/offset pair. The phandle to the syscon node which > > > encompases the glue register, and the offset of the control register > > > + phy-supply: > > > + description: PHY regulator > > ~/linux/drivers/net/ethernet/stmicro/stmmac$ grep regulator_get * > > dwmac-rk.c: bsp_priv->regulator = devm_regulator_get(dev, "phy"); > > dwmac-sun8i.c: gmac->regulator = devm_regulator_get_optional(dev, "phy"); > > dwmac-sunxi.c: gmac->regulator = devm_regulator_get_optional(dev, "phy"); > > > > Maybe i'm missing something, but i don't see an actual implementation > > of this binding? > > > > Andrew > > Hi Andrew, > > You are right, my next step is to upstream support of Ethernet MP13 glue and > some update like Phy regulator support Then please make this binding patch part of the series which implements the binding. They go together. Andrew