Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3378793lqp; Tue, 26 Mar 2024 07:42:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgIZRw1ikhBhHiUZcQyNZzmbcOt6tZ3wjFG8Kw5+D1giQ3qlzuzYTssJbv+JqYSZlsmtFnIsIFacxmpFFbsvAyCB6b+QiPoGgo+weBcA== X-Google-Smtp-Source: AGHT+IF0/EscZ2D1/vP+C9/NzPGBQ5ADRyQ3SLKhNN2Tr8U0KcD7FBplKoFKmlJ0AYd//frz0xVd X-Received: by 2002:a05:6808:4086:b0:3c3:a419:5df2 with SMTP id db6-20020a056808408600b003c3a4195df2mr9846843oib.16.1711464177902; Tue, 26 Mar 2024 07:42:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711464177; cv=pass; d=google.com; s=arc-20160816; b=cuOzqK09CkNYsC/uMbe1txq8iz4w6ADZ4H5U8M9eNweQZ8OjF58Y4N5jgweR1Ixy8K gev65f6XQBe76Ft9IZrBFHY7gqMEE5jl9UaVePKzt23c81I6wtJ1H76kGVJkvt4mvRw5 5HT7uxCOfUpB6wBUJW1sSTeLPR0wkWwtll7zMHOAqxGY5bM7THt1y9CAGS2r8B/V+CfF sU/dW5OjU3FMYAYwQxmxy2sXsuiGqiyeld2BrZD9udFPP/rf2hOFkoCgxPEkbO4Nimm5 1rloqEX8ZgIf46Bk8zcgb8DAit0bmIXml3QjvMO4c2OqkfpJUC9W0287hxD+uuMalZuA 0y0A== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9pRVmSnmGKK7LB7PnddfDWHBQ6XSXKYj11IRLNtwqSQ=; fh=qmJG9ocyNLLNee7rb1PuLGdDJJ43VoffREl7ZumDVSg=; b=v4CNOzTwGrnvP9VO0HkoOxmzAR+c4ybqeHLdQp5v1BsQqy76yNBzAGwe6+8eOQTy5D RDO07093eI23kuZiT0Hi0ZVdN+pwT+5GsBN8naIXxKhiU3VhKWxJNho6/FYuXFR9Nbn3 5Ztq/UT8bvTVvyySs97FwYnDekkXpVfxh15C86mdoUhPe68aHlpMXp0PSDETCgN8PHCe SDROQb6COm5x8coodBC/wAYLBt9JzKznC/45WijYt8VqKhnzxEX62BYUEmmBXau++yW9 GUvLiU+MGk94LyNuvnFhcTdjp53lwMvmkTjE+CUEu4kfq+KR+oyZwIxTjhFKfgLfgmmr lU/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=N7QBY2ec; 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-119198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119198-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r13-20020a05622a034d00b00431500fd3fcsi5301439qtw.372.2024.03.26.07.42.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 07:42:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119198-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=@foss.st.com header.s=selector1 header.b=N7QBY2ec; 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-119198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119198-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9AEE41C309DC for ; Tue, 26 Mar 2024 14:42:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 513E213C664; Tue, 26 Mar 2024 14:42:49 +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="N7QBY2ec" 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 106B813C3E8; Tue, 26 Mar 2024 14:42:45 +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=1711464168; cv=none; b=f00aFacUguG0IicA+HeThz/Co8u3qPdl9FxPF2/ZNvmAEr3oqy21ZwdoXnkz+zBkU1MIzWTKiJ+8qVz6ClYUeX2ar8sAgGzVAkTkhhNFDoyrjIYUiTbdwYjwLFUTrWvSoROn4BvwZfhIiikkpQLu7E47yDj0ydDKT7Da+CfMmjk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711464168; c=relaxed/simple; bh=+KV3AdzDzpYqpS+EbXnPmHttAO5r/1XNhRRlBBa+ycs=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=TR3HaRpp87LtYxMGwsKaZ07YiX7W3RRZMmnLEBYbUTmuFDglIJqCCj8mN+GTb0KYRaAWn1AOfVtb0lQXPDCKh/fuf01M3/vEDoBl1/ED95Muh6mn/Kv/LimRhWoThznHCOPxnxUUGnuERUOEeMKPagrH8esDtAJIdC7VlhBWAB4= 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=N7QBY2ec; 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.17.1.24/8.17.1.24) with ESMTP id 42QCBklK007694; Tue, 26 Mar 2024 15:42:16 +0100 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=9pRVmSnmGKK7LB7PnddfDWHBQ6XSXKYj11IRLNtwqSQ=; b=N7 QBY2ec7CNT8qV5bVJxFwCDKNtHCHQLL1A2stjMn/y2a4mdDZEu0nBAlJV+jMjui2 LYszZwLbZByRXeHRFaejhU3MjTETCjwfNjUV4Njk6S49C7OFaHuZE0vstFESInfg aFKxKYfkE0yQr0qm0EIQkqonrNGxlKa7j1DR0xai5h+k1qWGd0XjS0ljqbziXDH9 IXA0/FVPB/FuzD1YgnAEdDcCXk82T1afpRWlcIyoxY10xDZz/x3b7U5N05QolwH1 E5JdYkwfgD8f4fw3SFTHtD1z/PVr8jNDN3aCM2bf/IcLIN9I+tesoV12ZYhQlA0L lxrGKJQnhPk5G8mFWXdw== 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 3x29h5ueb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 15:42:16 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 119E840044; Tue, 26 Mar 2024 15:42:11 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5347A220B61; Tue, 26 Mar 2024 15:41:15 +0100 (CET) Received: from [10.201.21.128] (10.201.21.128) 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; Tue, 26 Mar 2024 15:41:13 +0100 Message-ID: Date: Tue, 26 Mar 2024 15:41:13 +0100 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 v4 1/2] dt-bindings: net: add phy-supply property for stm32 Content-Language: en-US To: Andrew Lunn 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 , , , , , References: <20240326125849.226765-1-christophe.roullier@foss.st.com> <20240326125849.226765-2-christophe.roullier@foss.st.com> <0e14ad5d-3c25-40ab-981a-fbc4e245fc94@lunn.ch> From: Christophe ROULLIER In-Reply-To: <0e14ad5d-3c25-40ab-981a-fbc4e245fc94@lunn.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-26_06,2024-03-21_02,2023-05-22_02 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 (it is look like https://lore.kernel.org/linux-arm-kernel/20230928122427.313271-9-christophe.roullier@foss.st.com/) Regards, Christophe