From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBAD8C6FD1F for ; Thu, 16 Mar 2023 11:36:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230058AbjCPLgK (ORCPT ); Thu, 16 Mar 2023 07:36:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjCPLgJ (ORCPT ); Thu, 16 Mar 2023 07:36:09 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C725C6436 for ; Thu, 16 Mar 2023 04:35:48 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id x3so6245754edb.10 for ; Thu, 16 Mar 2023 04:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678966546; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1rJrmS0fAGcKERGUg+zMb/pgvpZMkI4IZdMSp2WXIOY=; b=L2lPCgZh08p5G/m9Ds1die1D8hmsjqruS+G8lxFQH3R6ekNdBgt+zVHUldZM0+YBla 2qf+eTErQ7YEi6uwwhxA344ZoOshJtLWfbGbZIUSyjgjVARxWsH95qIz0dTlMWw7U8tX W+xZZYH2OWR0eTn2MHlvJHX1BxROForMNLS70M6aVTiAJAPfErg/fRBdOXN5Tud9o53M qN7XtUK/v0AxcRcP9NINLXMSAjzO/92NzJkuXHmvXumXTwRgjYkq9ry7xGtuJpQZwyf0 mS3k0KHd25506W8x9IvYn52vVDR4T5Jfp9qckFFlaihNfFPFDlldQf1s4N61j/33QZdE eZ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678966546; h=content-transfer-encoding:in-reply-to: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=1rJrmS0fAGcKERGUg+zMb/pgvpZMkI4IZdMSp2WXIOY=; b=O9VcsIOGYFayXRLGSS5xJJ0r+pISAAeE3LpreZxu3/p0cwLANT2Fmg55Hxpdz3okWr IvAu3ZkIOb45SBWvbdw+UJ8AkcLB5b6nBlwgVyX1CJyMTHzeHKGPKCDDf7U9PKqnbiHe HHZrTSsIaHjXpBzQSZ4mwMNbDaecQi+hLZ7cC97dW5pVAEbjWZB1PwuNrEQ3ZZqX7JKc NQdl+9zziyNmXU/XZdnEDPbn4rYTMVjvfrBGXEsolurrmWwna4I7ZW+OhqrnvAWBTdID sKIXQN1E0mBJuQdLtnZ6Neb2/OUzOZ9cIamekXcNuibVI72yzf020bnzo7ShEjZSazcx J7gA== X-Gm-Message-State: AO0yUKU6+eJg2xViB7sUwBt2Nj7mjC6eQnbqANXI0JFMvccG6I7rrVLF ZsN2HIyxhvnu7FULNQWbo3Fvvg== X-Google-Smtp-Source: AK7set+L96y4SUPx/KRqRAwTHybgvhAlOOMGD/TPuy6dnDpvs7HyqzfePsld4tlxWGomtSMEDPiuVg== X-Received: by 2002:a17:907:7ba6:b0:8af:ef00:b853 with SMTP id ne38-20020a1709077ba600b008afef00b853mr11405773ejc.73.1678966546515; Thu, 16 Mar 2023 04:35:46 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:9827:5f65:8269:a95f? ([2a02:810d:15c0:828:9827:5f65:8269:a95f]) by smtp.gmail.com with ESMTPSA id vs6-20020a170907a58600b0092bef8ad0basm3687886ejc.183.2023.03.16.04.35.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Mar 2023 04:35:46 -0700 (PDT) Message-ID: Date: Thu, 16 Mar 2023 12:35:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH net-next V3] dt-bindings: net: ethernet-controller: Add ptp-hardware-clock Content-Language: en-US To: "Gaddam, Sarath Babu Naidu" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh+dt@kernel.org" , "richardcochran@gmail.com" Cc: "krzysztof.kozlowski+dt@linaro.org" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "yangbo.lu@nxp.com" , "Pandey, Radhey Shyam" , "Sarangi, Anirudha" , "Katakam, Harini" , "git (AMD-Xilinx)" References: <20230308054408.1353992-1-sarath.babu.naidu.gaddam@amd.com> <20230308054408.1353992-2-sarath.babu.naidu.gaddam@amd.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 16/03/2023 11:53, Gaddam, Sarath Babu Naidu wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Tuesday, March 14, 2023 9:16 PM >> To: Gaddam, Sarath Babu Naidu >> ; davem@davemloft.net; >> edumazet@google.com; kuba@kernel.org; pabeni@redhat.com; >> robh+dt@kernel.org; richardcochran@gmail.com >> Cc: krzysztof.kozlowski+dt@linaro.org; netdev@vger.kernel.org; >> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; >> yangbo.lu@nxp.com; Pandey, Radhey Shyam >> ; Sarangi, Anirudha >> ; Katakam, Harini >> ; git (AMD-Xilinx) >> Subject: Re: [PATCH net-next V3] dt-bindings: net: ethernet-controller: >> Add ptp-hardware-clock >> >> On 08/03/2023 06:44, Sarath Babu Naidu Gaddam wrote: >>> There is currently no standard property to pass PTP device index >>> information to ethernet driver when they are independent. >>> >>> ptp-hardware-clock property will contain phandle to PTP clock node. >>> >>> Its a generic (optional) property name to link to PTP phandle to >>> Ethernet node. Any future or current ethernet drivers that need a >>> reference to the PHC used on their system can simply use this generic >>> property name instead of using custom property implementation in >> their >>> device tree nodes." >>> >>> Signed-off-by: Sarath Babu Naidu Gaddam >>> >>> Acked-by: Richard Cochran >>> --- >>> >>> Freescale driver currently has this implementation but it will be good >>> to agree on a generic (optional) property name to link to PTP phandle >>> to Ethernet node. In future or any current ethernet driver wants to >>> use this method of reading the PHC index,they can simply use this >>> generic name and point their own PTP clock node, instead of creating >>> separate property names in each ethernet driver DT node. >> >> Again, I would like to see an user of this. I asked about this last time and >> nothing was provided. >> >> So basically you send the same thing hoping this time will be accepted... > > Apologies for miscommunication. As of now, we see only freescale driver > has this type of implementation but with different binding name. we do Then the freescale binding (and driver) should be adjusted to use new property. Deprecate then the old one. Best regards, Krzysztof