Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3346638lqp; Tue, 26 Mar 2024 06:58:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdYUqO0JR7MwSXwYDOoXc/anSu4/+b9UvFxTP7cOmlymVRSeHfsvZkaTttD/+SOJih2p7SC2uUXsi5XtMUkrg1wOnKKP8Qtdkq+eG7mw== X-Google-Smtp-Source: AGHT+IGuhNCEwnI90B/egmsJAHq690kzccz0O9CvGfs7zsx/7rCP8pKBo4iDPxg9xQnBjkUvx1v5 X-Received: by 2002:a05:620a:34d:b0:78a:418e:a428 with SMTP id t13-20020a05620a034d00b0078a418ea428mr9347347qkm.23.1711461508825; Tue, 26 Mar 2024 06:58:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711461508; cv=pass; d=google.com; s=arc-20160816; b=D83slBFBgneOSL85RZcDnlUeKPZvzSOqeGRJxgchAERtR/MlZ+sTsL1w5mKAMnBfc4 pIPUwId9Y7kqV84vsDgLX75zVHloYx9yhiSQc/9IOWgBLcViG9yrWqd4Pmbnee+dn3ez 0/zHUBQ/F7gdgAlUnkUBDRF7ELEbjvFVbKxbyqUIDI09hN+KZxqSJhTvKrww1BC8n9WA eNU0gPdcGsajfbbN0/kLgmKZ5afxqOqz/1BlkRgWk1Q+XKe+CTtYSwUBdZGdgKNN8tc4 Ri89K8PnVDdGuLUNLFqzvojIwhRA6ApjooWtO+bTn8DUe4QtsBkK8+ug+YTopBwvU+N2 GmWA== 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=vNnrYFubP6muTfOE3nnaUwzi5pQkV31BF/tVPuyXjRs=; fh=GlppEOaPWPJngaaiMlf02dOpKbvM42LBGh/MgRkBbps=; b=cbeZgs1IBp9lDyP7KSn5AAQy+VwKcBqBg08NrPWbOucpB9BQFHpe4WCHXqzuGW0lcq lQynpgccNV1DhUQaAlT1NfMn0D4sQoRWPv7A1+rc5TgVnmYiUSrzu5iIGLPHB5fT92x3 tYHYSy7+BDImocdJcCHG5OQPkKmfX0g+8PL6E1xCbMk7WPJ1VDKuIX8cisRGRt9eXxe+ AcOT8Hdt5VaqBXCKIVxeLqRNa/5zIGUfVkZJ/6EC0ELDToNQaMqrhtps8CyNMlxyyHBi oit38bcCVWiPCewBAS0+m1ushKUZUr7R0b08+B0RpYQ0OMK9TCkYcDgKgfNR3Qe7/peZ wBdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=TfAnJHGU; 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-119103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119103-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x15-20020a05620a0b4f00b0078a5d41c1a8si2746957qkg.723.2024.03.26.06.58.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 06:58:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=TfAnJHGU; 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-119103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119103-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A1681C3F608 for ; Tue, 26 Mar 2024 13:58:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE06576033; Tue, 26 Mar 2024 13:58:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="TfAnJHGU" 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 B9C6E125C9; Tue, 26 Mar 2024 13:58:16 +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=1711461498; cv=none; b=Gw07PqYOqx7crn9tsWT6l+MMtBjCKQ3PDCLE9PVD88/ZsG96BGmeFGLsHCWBH0Z7C2KanbWZiRnNDg1yaZjfHfkkAhYdC5ClS3HeeAM0c5EM7NV9FYbOmU8zsybNQEx/E/AmyeoQR70bBxK3DU2Mhaa7DLy+4kgR3H/Zo7NgLQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711461498; c=relaxed/simple; bh=UkX75V9l2kKeZPRM2sj6rUQZY2m0OPjpnlnv9BQJ7zM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q3Pt8hp1CxKwdcnBlBLTbEUWdOtxAX7MsIV16yx4zTkWfXhLQIYGgB5uCwvxwKLm+bqmMtNbg1RalAh6enLrJd/duzPD3OwSJ1A9b48eAC+MWkMbWPcHQSa/lH8WsYpak4SoFzN/ZgYmfoMo8f/8FX80JKh+MsjLPzH5VFJ0kNQ= 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=TfAnJHGU; 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=vNnrYFubP6muTfOE3nnaUwzi5pQkV31BF/tVPuyXjRs=; b=TfAnJHGU62uIy+XDLC9mejbExn EyKUGfPCjZbxdkxhdmwkZHLJWY8syH7wZdLL0KzAmlsqj0lh3RPaRm4fmWJmjFrDIzT2Cc4vvJeDQ KLyQ7UFGJojCR5tYNwV/RZG4lPqL+vGXbCnppM77jN9sAqp4A6NiDvLPjzpF5iqw9wlU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rp7JT-00BHZx-Kb; Tue, 26 Mar 2024 14:58:03 +0100 Date: Tue, 26 Mar 2024 14:58:03 +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: <0e14ad5d-3c25-40ab-981a-fbc4e245fc94@lunn.ch> References: <20240326125849.226765-1-christophe.roullier@foss.st.com> <20240326125849.226765-2-christophe.roullier@foss.st.com> 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: <20240326125849.226765-2-christophe.roullier@foss.st.com> 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