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 7478BC7618A for ; Thu, 16 Mar 2023 11:36:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230162AbjCPLgL (ORCPT ); Thu, 16 Mar 2023 07:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjCPLgJ (ORCPT ); Thu, 16 Mar 2023 07:36:09 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C3F9C6431 for ; Thu, 16 Mar 2023 04:35:48 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id h8so6281707ede.8 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=EurZ1m420gVG77NPKRjz0tqPxidzOUjXaNgj1s22D/EvNuzWzyvuoSJaEebywhe/Xm fhY6vFCLFCAud+WUye1h1Uz1ijFrpI6lGC34ialR2LLW8LvW9nekhDakkIvS1xPxK8dp bgLHxQn1mPvgF25O6Vg4X2VoA9lpThdHV3ubPSywpKo/XgjJ0kfa3yuL8DoPtbvuNo3J /Tf4zEsAHr/bkDwQ/0fgZ4hokk/P+VjaaQXFMDZwxTN4sL7m+r82RB3o4uHVsIONSZm1 aVKI28nq0/SH2kYhT3Cr135lTwN1YweE+CFd9jEUIQasYvM7iZw0hzPJKPgywgo6g7zw 4mdA== X-Gm-Message-State: AO0yUKVptkryeneltGt7ADyGmru+NOQr4VL/oXix/YDHl82kQzYwofXB cJAXorPBorMaK+RJ2uaQ+be9nQ== 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: linux-kernel@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