Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp576512lqi; Thu, 7 Mar 2024 06:04:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+9p+amKyFGc05JNMX/SLO9tMMPd7ncJgE3AJ/Nzc+bjKuKPIVrcLasdF8MdRfKcWPZhQbCBGlCpkqgyYGIlRLd9R/IG4CKHY2ZrH3Iw== X-Google-Smtp-Source: AGHT+IFl3q4i/dZ1tsYl6LTMEbKYvWx8BapXUA7WCgpjoEeGfFRBxrihRaNloz8sL3+Re1EhMIVt X-Received: by 2002:a2e:97cf:0:b0:2d3:f68e:ab51 with SMTP id m15-20020a2e97cf000000b002d3f68eab51mr1357289ljj.48.1709820260399; Thu, 07 Mar 2024 06:04:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709820260; cv=pass; d=google.com; s=arc-20160816; b=fJ+Kdm+X5NEcnrtCpvbSJGH/gAOAs6mJW+5AJfrD6/jTNyuzNbCLvnpebfZsEtPQq5 eY5nesqYJbiVCRHMneIuii9OnkDccttdHLxRChio3jFougEan2cPotagC+/nb2xsutoW WMhHX8pBiT+uw/GhCDW+X27zLsPDqd2QtiD0GLdXafkdYs/Fj00yGJgZC+DRtihl1P9u fEVH0Fwjg3Djw1GhXR07nDxzNqvWtz97erMucBlfOomzCRWkrrx0opmTC5XySV7m+7A5 yhJw1Jp4nz+gcx3hzFxQ8p5zn9fgXa3OoFLq75nfjEwjAhlwJVf0/HnaOnaD31BUIjY2 1UNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sMzsSSzo2PkJfpYCCdg9znEVD7Q6RBjU2TnjYoyuVdM=; fh=Nrq3/ZyqAmcldX4TnYQJDytRSUiD1vJeQNniXh+eWjo=; b=fJIrVOHX+1/N5eN3U2q11HldSN/Xg9yg9O7b1K1YEW9aL0Vm0ihGqg8a3jwHSRNJkk +daG3C8Emqd2sqiAH8p0yqvAnx4h5GrYPOAsjy4zzrY33CW+wqYnUKkzEazfD28IYIup zDWlpRG0UE9FD8Gnrzn3Zs1idjE1JjShucYxThOcVQcJf5jSP7VlzX1+s4qTJOvg8zWG BTm+CN0n4pj6y6gZpuPWY8WVZEXAJkVPJL55/sczzFqC1wW7XQM9DmyyfR7wiku6e4+f FmiyBtMldKE/eszPk1NPAezc0jyqx7hwm1eev/8MSTFkRxMJEQvMEhs/QqhNPslDkYZJ 7WrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=AHrVBjk8; 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-95680-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95680-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 f4-20020a05640214c400b005657cb1e3c3si6781929edx.207.2024.03.07.06.04.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:04:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95680-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=AHrVBjk8; 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-95680-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95680-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 16F761F259E2 for ; Thu, 7 Mar 2024 14:04:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B55B712F385; Thu, 7 Mar 2024 14:03:04 +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="AHrVBjk8" 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 4890912EBFC; Thu, 7 Mar 2024 14:03:01 +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=1709820183; cv=none; b=KqeyhOtR+XtfTesgZaZ/vZdJ1VQUDar3pJAPKQZiseGY+g95NNmRlGFdFY1FPEl/2eBsCDHy4vAQkqw4KY0b5oSBBI1FChdAjZ5MrcAnqBT1Sjsj8JwcKzHoO8qxo8PH9UadzHVaotJtV92IK8e5n5t42+adwCsJi6QoKv11WeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709820183; c=relaxed/simple; bh=86pJV1of4eM2VTTxab9EqQyEzctfxjuUT6v9b5ZaRR4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RVksOPDDDYyzy3mZoAXN8S2Kx99AvOpK9ZuvJt9dUgZjx8EkUoPlGZkn2486rFM5qAMks3uIfV+3R5It40yAhyLiU8cYH0O4/OV0YugB4Tzv3e+a0Sz4OmI1O294aXEGYIPvj6isoFFPXxWKG7mWouPrfIB02PgS+r+Q+e3UFx4= 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=AHrVBjk8; 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 427A9dg7015304; Thu, 7 Mar 2024 15:02:24 +0100 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=sMzsSSzo2PkJfpYCCdg9znEVD7Q6RBjU2TnjYoyuVdM=; b=AH rVBjk8rM7YTS+jgI8EJcNLY95q+DL53Va4M/AfVEGPrcZgliQNbbgZeEiPfJOXnx QFbqvJTlwvX93fGOqh+ewdbpxFcM2ZBujetMGbMu+sL+2QIBzZIwBGmlvj9LzDmg yqulRMWT1xPJjfTuDk4BVlMesNMGjPS8s1NTDesf0CCTwI69/35F5tUwiJWhTeTK VBRRaqKHfSBfmXKphmk5oGRqeHAa3l9PfA4kyYiT5eS3i5dyLZZ4KqfXqTHFYQv/ zQmAofOSlyIcoRGfPu4i3pyblcs/7BnxnHxjbZaWX5pESoB32XU5tWhd2tYnISh+ vkkVI3mDGEHfmyMr8a7g== 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 3wmej5dxs5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2024 15:02:24 +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 7CADC40046; Thu, 7 Mar 2024 15:02:21 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id CBE4F27D0FF; Thu, 7 Mar 2024 15:01:11 +0100 (CET) Received: from localhost (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; Thu, 7 Mar 2024 15:01:10 +0100 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 v2 2/2] dt-bindings: net: add new property st,ext-phyclk in documentation for stm32 Date: Thu, 7 Mar 2024 14:59:57 +0100 Message-ID: <20240307135957.303481-3-christophe.roullier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240307135957.303481-1-christophe.roullier@foss.st.com> References: <20240307135957.303481-1-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-Transfer-Encoding: 8bit Content-Type: text/plain 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.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-07_08,2024-03-06_01,2023-05-22_02 Add property st,ext-phyclk to manage cases when PHY have no cristal/quartz This property can be used with RMII phy without cristal 50Mhz and when we want to select RCC clock instead of ETH_REF_CLK Can be used also with RGMII phy with no cristal and we select RCC clock instead of ETH_CLK125 Signed-off-by: Christophe Roullier --- Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml index 80937b28fa046..529665d4fc911 100644 --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml @@ -85,6 +85,13 @@ properties: 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 + select RCC clock instead of ETH_REF_CLK. OR in RGMII mode when you want to select + RCC clock instead of ETH_CLK125. + type: boolean + st,eth-clk-sel: description: set this property in RGMII PHY when you want to select RCC clock instead of ETH_CLK125. -- 2.25.1