Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp180782lqb; Thu, 14 Mar 2024 08:27:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoSMAJBb6RJe2mxD7bjad0o55wQUz5R113+HZAmCGznC4p2MjqqdVEbC3iDt9BxDdSb+dhfr3hvCI11MF52roG3YnG1Sn9NZbp7fZNKQ== X-Google-Smtp-Source: AGHT+IEiJb2haKxgi2bIGM/ScfbVWcCwML9bNTbRdZm/xhLLjB3Su3PkoZgydeQndO4Mx6SusdZL X-Received: by 2002:a05:6402:4284:b0:568:1100:2d95 with SMTP id g4-20020a056402428400b0056811002d95mr2069958edc.31.1710430077868; Thu, 14 Mar 2024 08:27:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710430077; cv=pass; d=google.com; s=arc-20160816; b=qWd9dwlWjvCQAftvCNKMDeQAdQ/DRetwNWa3xFtH6WLYjshGRcKHP5WFKqZqtcs1sQ 07G/sZsgsAI9Uuxjb3u5ph2gMtup1gCQw+khIgeizqX6mVgG6xWVcjXLuzbFWQv+lo74 UaF484LEtPEsJm1OTExpqwE/xrDyxBQMTPfqsVCfVfQvRN8uDwkg0lY4szEdsoDsyHgJ GrBxXbzlMHbhiV9mYFVUZuGsw6kpNA/47zzKA1mAyOwc26XQ4w2/yf2aBN0t5tvOT70R KFjIskaiuSBPIw5gInpzOK3OumRa5oCPnfVDc1OvWP0aCmIny7bkGA5R3wAx8diQQ7Ct +f8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=NB+5mrq0PxIelZvARbna34D3J9n3SotqWPlIkWyzZ7g=; fh=ACIhRs+1YbHhpdOdPTkjrPaJk7GnEsEwcmUpd29Pp6I=; b=c8WERuFKPObVSaupNFIJImIUpWvzT4M+efMiQE/7c9VTB4YvEq16KF2dIU5UquJyey atWejfA99JPH9hqGLzYRKH4GdKaWiNYC9xgtFy2rEuBQGwXL/u9CaScsOZ8w6UlmZ56Z p2OrNkfBTzKIV6UW5quVWVsWYCS+cjZfJYT5QhspZ+PRughL4Iv6p8Yyv8i/piZzCaTP apCdCVxk+T5sl8FIlqgv+U4h4xMI1lf/0AwqpMqHtpFazTwtv9/XwUKBwN2YZz9TEeBq 2dDjcYNR8qehew1WMvHt0+n99O2dcY+6oW/Fpoqe0ZDq/NuE0puBAmXWaS296P5z3wTR EGgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFMmTrUF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-103489-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103489-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b10-20020a056402350a00b005683cc2bfa0si853161edd.91.2024.03.14.08.27.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 08:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103489-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=@linaro.org header.s=google header.b=OFMmTrUF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-103489-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103489-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 48A9B1F234A6 for ; Thu, 14 Mar 2024 15:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3103E74407; Thu, 14 Mar 2024 15:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OFMmTrUF" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F20A71B34 for ; Thu, 14 Mar 2024 15:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710429962; cv=none; b=ggagpFjvM2sapOQad136s062W5ieyOp4k7eBjcsWKHbLvLzUi12zZydJUWE0Li+74DV5VoU2he+fY4dQT+JCm2vWnTsFgxiBDlYDUClMk4BKi7gZfvCh7yZ7nPW1ZblmtI3iIj7RI85jn8abxCp7JGnqYDnt5L/GlTIm5xRAypQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710429962; c=relaxed/simple; bh=8cvKr7d4NQMD6rV5ICNWjJFCc9Rn5GqEyfYezZ8FfXE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qPiTImt66TkV+H4bVNQzuuud6/ef8azmmjo1SER2L0TwjMYH1G7wUsr9FdYeDbtvtaEUkA3zAiMxpTPjhzRAnGb1rQU7aytSfoytWW/LdTzop87iSjLQ48wadL1ox6K1LA8O2nMH8CU34jqhc9nyOgeTA/tSO+g1Mzuw03TmCLs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=OFMmTrUF; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a3122b70439so130573866b.3 for ; Thu, 14 Mar 2024 08:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710429959; x=1711034759; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NB+5mrq0PxIelZvARbna34D3J9n3SotqWPlIkWyzZ7g=; b=OFMmTrUFfImhrqJwMv2Xbp/intiVqvkg2JMCj2zx9GRXzxhjD95YwjFFlUwxUA6J4e IaRQ5YnkYj3rSE85sh4OpSuJjze8rmUXNc8IWNVCZJ/QsdT/Y8ioMmx1r2vdMKPeC2Nj tbCL09pedGZecHQDFktXRqVxJgu/BSnKjqmp7aNvaMUgWfeyw0zqamVRoekoeVnvHp5s cv7kBcr+8/1BQls1UWJ+TduqzG8z0lc9MQ+sPiA3IgH62DaSPzoNZaOi/MB9ihpfO8Gq wID2l2BKaboP2yr8ar54GkTV7cJNyXZMQ5GQNN44RxjwjFt8dRuZ2Ei1xhew+llgxOsB /Glg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710429959; x=1711034759; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NB+5mrq0PxIelZvARbna34D3J9n3SotqWPlIkWyzZ7g=; b=SJcAmdGWStFbj9HcGX4uR7Bd03NZS5Bd1MhVYISvZaIwkVPBswnmt56Q/q0TxiXM6b N2zm0KmMj4ejJ4aGoY722K0jQZUBKpUvMAWhYewAGcdMVW1p4QA9OvVkMpqMTxCkrlL0 XMLorEPp/ryVi0rXLwsJ7DWzRYfMvWA5H0e9h7BxcL5NMnSJLRbQSRZozFCqH/pPUKdm aQfoNuBABS6sodfBACVLUdYSba5E+JF5D6+BgZIjxi5sOlR/YyLgrxYsK5bDBttIlrjA AiUriAdWBvQbdMpQoMtmnHqmnxU3+pSaCuhAghSazcC+GGOxPL7V+2iA9L5GmMIYjgiZ 73zQ== X-Forwarded-Encrypted: i=1; AJvYcCXcPHYsun3yZGKWT6FrHkkeXIy3yORRr3w/H5/o4OvlUZUuUFYdgGrkPaNL0f/x4ssKHkMsnfbO6XvzHmEmpewpo/yVWOu/RlaFBsTG X-Gm-Message-State: AOJu0YxNsQlwBtQaBn9q6r9RNaPk3fRaJv3XUXnHMvd61c1hxwfeurk1 AQ2qXOjB2rifsE1NYqNh/9KrRdhH51UTNLNCZE8kiChMI1Rjl2qOZxClNzzJOzQeQcPpOawiAm3 J X-Received: by 2002:a17:907:8dcc:b0:a46:7509:2425 with SMTP id tg12-20020a1709078dcc00b00a4675092425mr1446619ejc.63.1710429959482; Thu, 14 Mar 2024 08:25:59 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id jx25-20020a170907761900b00a4661f0f1e7sm793952ejc.205.2024.03.14.08.25.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 08:25:59 -0700 (PDT) Message-ID: Date: Thu, 14 Mar 2024 16:25:55 +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 v2 2/2] dt-bindings: net: add new property st,ext-phyclk in documentation for stm32 Content-Language: en-US To: Christophe ROULLIER , "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 Cc: 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 References: <20240307135957.303481-1-christophe.roullier@foss.st.com> <20240307135957.303481-3-christophe.roullier@foss.st.com> <578f421c-ca06-45d4-8380-8b2b423d4d47@linaro.org> <50ee6122-b160-48ea-8c44-1046b5907d7c@foss.st.com> <51531046-ee83-4d99-836b-af4dc5d7add9@foss.st.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFh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zlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <51531046-ee83-4d99-836b-af4dc5d7add9@foss.st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14/03/2024 16:10, Christophe ROULLIER wrote: > Hi, > > On 3/13/24 14:06, Krzysztof Kozlowski wrote: >> On 13/03/2024 11:39, Christophe ROULLIER wrote: >>> On 3/8/24 09:28, Krzysztof Kozlowski wrote: >>>> On 07/03/2024 14:59, 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 >>>>> >>>> Nothing improved here. You say you add new property (wrote it explicitly >>>> in the subject), but where is it? Where is the user? >>>> >>>> I think we talked about this. Rob also asked quite clear: >>>> >>>>> 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. >>>> How did you solve it? >>> Hi, >>> >>> I do not understand your questions. >> OK, I will clarify some questions, but are you sure that this question: >> "How did you solve it?" >> needs clarification? >> >> If so, then let me clarify: >> Rob pointed issue. How did you resolve Rob's comment? How did you >> address it? What changed in your patch, that Rob's comment should be >> considered as addressed/resolved/done? > This property was introduced in 2020 in order to simplify management of > all STM32 platforms without Ethernet cristal/quartz PHY. I fail to see how this answers how did you resolve the comment. You now described some sort of history, but I am asking: what did you change in your patches, so Rob's comment is considered resolved? >> >> Now about my other question: >> "but where is it? Where is the user?" >> >> Your subject and commit message claim you add new property. This means >> such property was not existing so far in the Linux kernel. If you add >> new property in the binding, then I expect adding the user of that >> binding, thus my question: where is the user of that binding? >> > I'm preparing glue and DTS to upstream for STM32MP13 platform, this > platform will use with property. > > Since 2020, this property is available in the driver in kernel.org, so > it is also possible that someone who has not upstreamed their This should be explained in commit msg (although not kernel.org, website does not matter here). > > code also uses it. > >>> That I would like to do, it is property "st,ext-phyclk" was introduced >>> in driver >>> >>> "drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c" in 2020, and YAML >>> was not updated at the time. >> Are you saying you document existing property or add a new one? > Yes, existing property, since 2020 in kernel.org. Drop the website. We talk here about Linux kernel. Commit msg fails to explain it in a clear way. >> >>> Goal of this patch it is to update YAML to avoid dtbs check issue if >>> someone use this property : >>> >>> dtbs check issue : views/kernel/upstream/net-next/arch/arm/boot/dts/st/stm32mp157c-dk2.dtb: >>> ethernet@5800a000: Unevaluated properties are not allowed >>> ('st,ext-phyclk' was unexpected) >> So DTS uses it? > Here it was example, if someone wants to use this property, but today > this property is not yet present in DTS in kernel.org Best regards, Krzysztof