Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1949445lqg; Mon, 4 Mar 2024 08:25:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXv58quGXXXDcit1TT7hFnWzYHUWaOxNbLWfESuELwSsRq9BRVnyMioZdJjAdIrWgxNB0ud7heHTa8g8qsVzwAgKjlUbVAQwllNqoJizw== X-Google-Smtp-Source: AGHT+IEbUVwb6LMc+a+Q28+zXiwVu298KyCDf0ovFeYWwPo+vt00ZGwm/TPcNVeE/F/57o6PxOFU X-Received: by 2002:a05:622a:195:b0:42e:e13c:c194 with SMTP id s21-20020a05622a019500b0042ee13cc194mr6438967qtw.41.1709569506782; Mon, 04 Mar 2024 08:25:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709569506; cv=pass; d=google.com; s=arc-20160816; b=FbsjDW27oQPwoY+EuBrg13fTevkOHStnmW2odRe221zMU+1j0npmbFm8WTr9o8K+fN sWO7VLrlja6jnbnG9VRhg0qTF5Fdx1bJ6TvF+NaoIlGt9wxqkZQ7q28xJSRlSOR/480O 6IAGqPr8bv3cl0vZVhlkbm0Ugvwya5TnHqdknp3PXyNl4sfQb9JozoZlr8aHdxHQz/jS 2w68bYpff4Pfs82A69iK4leaPdWV9u/WHdRD+PJiaX2gxXbh3mcDbMc6rEJn/bZk47mH KCay58042pcnIpOnUvLN1xknH9G+90jMjxxohLrtyGsEdzM48g5+qE+obhscoijHpLXg 2h0Q== 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=jDZ294lclegNL72j5JQk1T5Y2x8yPffDX4fKtAopHVo=; fh=SPvFYHBevlQO9EpzULJCCZQcgZ/zgwmcu2xJ3kP82dM=; b=TugoxZT11uz46W3zB+0j1Rh6TbHkVJ9D+aS9HvmjYEy3Ij6R8Yolqmo4jlbuvRa6TR QP3baLIrdq4wFIqdimXDeo2G1iclpyyFGmDMPodAzqN/A42KVV5VHKWjHGqNXn5aBuYS 4J/ow+opjNBceVFYk/8xgBBM+QJu5rJIWyoWkbOEAGGVt4p49K4FEBQPDx1Bjv8FP+Jc cf5scZKw6XRqPzozbVOyfVt0U8mijR1y+YNZiKKiWCWVQuVub6P3m9wJ486saf8Q2HyJ /zfEEmWLOYUeArY/np1ouRN+f0Mv9zXh8OqAzrSfe2IGiQBPJh6tOdRehYYbyUiX84bG hEEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mTeEzxHf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90932-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b16-20020ac85bd0000000b0042ef2e612ffsi2325051qtb.389.2024.03.04.08.25.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 08:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90932-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=@kernel.org header.s=k20201202 header.b=mTeEzxHf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90932-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 8164D1C21F80 for ; Mon, 4 Mar 2024 16:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C72804D9F5; Mon, 4 Mar 2024 16:24:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mTeEzxHf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E906D4AEEE; Mon, 4 Mar 2024 16:24:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709569486; cv=none; b=knlUNWlKYgVro8Obg1WB/ZWe8ejLD9QF9Jl2aO4iQ9c+OXOSWgZAXsUhHYdfM3riV/fT29c5Sj8YM17tpU+imKfkbmy2RaXchWcAag3FWN7Df6+oSogVeJcprT7tmpb60J+1fuo+ZBXx2GbdZ7AYnIIpo9k97uR8chMo1z68RL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709569486; c=relaxed/simple; bh=Yc4P1CIXlKDGFPR0/DVQiT/46JdWqiofdfkNDqPQVZI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NoRy3Ys4ngM6sODtulSZVVSrhEThSCKApBf9S7XB/S+8/nfVgaOkYaGVyy033aDEx7Gp7yI04NqYWUW3MdpfQv1QTSeIfbKd5wMAsxxBTQHqASSGD2u6fU8w3aWIOXdYLzvmBAoEx1yO1bLb0Ix9f8kYJ5x1iW5h8tqmyWRJ5l8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mTeEzxHf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44643C433F1; Mon, 4 Mar 2024 16:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709569485; bh=Yc4P1CIXlKDGFPR0/DVQiT/46JdWqiofdfkNDqPQVZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mTeEzxHfNCuzklQWKn0MQXGpW9wqJ5wU7bMtXXE3fNVk9xkSNCPuSErh0dD0iaM66 Zf/idjm7pk9j+QcMsx+CiFy9KLc4DVT269NsV+fSYoAWP7T6MQZSNh+8Q8Z/guuzET fPgLI/JpW2VumWdtsZ9LYTzB2FhR8AKOkJ44dU0ewYkcxpbnA0Z/KHgTSA1xdAdBLy Ox3nmj1Me/PuiigdHF9L5hfYMUdMhWon/P14XnXBKzCzKmflmmQKwtTPwd4tMCMkmu japN0uyQHYOVfn+D5pfavzok/zAqZJSFByDy00IT9Rw2nVXfnL5vVst2ROwEp8Hn77 0ViJmGCCPQG6w== Date: Mon, 4 Mar 2024 10:24:43 -0600 From: Rob Herring To: Christophe Roullier 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 , 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 2/2] dt-bindings: net: add new property st,ext-phyclk in documentation for stm32 Message-ID: <20240304162443.GA568211-robh@kernel.org> References: <20240229134724.1353903-1-christophe.roullier@foss.st.com> <20240229134724.1353903-3-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: <20240229134724.1353903-3-christophe.roullier@foss.st.com> On Thu, Feb 29, 2024 at 02:47:24PM +0100, Christophe Roullier wrote: > 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 > This new property replace st,eth-clk-sel and st,eth-ref-clk-sel That is obvious from the diff. What is not obvious is why we need a new property and what is the problem with the existing ones. > > Signed-off-by: Christophe Roullier > --- > Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > index 80937b28fa046..fda23c07c1cad 100644 > --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > @@ -85,12 +85,21 @@ 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: > + deprecated: true > description: > set this property in RGMII PHY when you want to select RCC clock instead of ETH_CLK125. > type: boolean > > st,eth-ref-clk-sel: > + deprecated: true > 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. > -- > 2.25.1 >