Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9143378rwi; Tue, 25 Oct 2022 15:59:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lTttfDQ9hKnbwDRG3AZ0L8ZwZCVWApFGamWtem8aRpvHDCr3rueaO7j+0FxeJVNkEuVHN X-Received: by 2002:a05:6a00:14d3:b0:567:6e2c:2f0a with SMTP id w19-20020a056a0014d300b005676e2c2f0amr37779538pfu.57.1666738769872; Tue, 25 Oct 2022 15:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666738769; cv=none; d=google.com; s=arc-20160816; b=Es3N3459x6cyugGVFmd7WIjkZrxa6VZxEswKSJLpFZeo3Dl0rEzJ/dvktnP8p8hVwn VvC4Z9CFSRgAYneZP4chSszR4pXh1UTitvNablH5eAIRCdcijxLbF6r5Xr1IKGyyhGAX R2Cj2nYZo/xZn11cIQ9NgrG0CDqBX8wE+rUOZnmyAQUgrPj4uM5S2NRAHrYjO2wE3uUE I6E8Oeaf8YXHfUWkqQCFywaSyIjIAQ7c8ZQrDovkAb7r4T4ZQEyqLsylaP1CF+k8SGuG mxWOPgaTy4gm2FD9bxCb+zZqUVDS2CM6Lw92r+qflOKN25S0k/B5XjYlLn2lKjvqap0E SCzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QQH4TaYIF6o38h7xbsFuFuW1teTfoq+Fiszi+NsDgAM=; b=AxF42wvxue8E6xfsMm3Sg56JfSaUZDO7Sb5e9Wu7aoNQzw+jNSzT0OP9uvnGRZtRhC G9jpUMpeFfMyCBdyTtvnGBQkHwC96Xc/BOACT7fX9Y5hAaw6wdAT3D1nWFbmcQ5WfTwh M9qAjsxYuqwkT0DXUFtAgVxKXRJTMr3KuyT3IUCQyUW4BgCCyBfIzspR/Iy1VXHf1CRo Vo2917a1wEDAhBi0vf8PeY0lYzbPxfuxbXdLPsZPUC9p2sNx5ZhyD+iQkG9OQfEZSpoz B2tIk2lZJwRbpDJui0yFlNr21F9xOdX8qESuB7jWx5OP15DEkwP9Xf0B0NJh0kaOsOlm 7OuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iEqpYCwY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m33-20020a635821000000b00451b094d74bsi4700027pgb.454.2022.10.25.15.59.18; Tue, 25 Oct 2022 15:59:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iEqpYCwY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230453AbiJYW15 (ORCPT + 99 others); Tue, 25 Oct 2022 18:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbiJYW1z (ORCPT ); Tue, 25 Oct 2022 18:27:55 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BFF01ADAC; Tue, 25 Oct 2022 15:27:54 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id sc25so16457354ejc.12; Tue, 25 Oct 2022 15:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QQH4TaYIF6o38h7xbsFuFuW1teTfoq+Fiszi+NsDgAM=; b=iEqpYCwY/QVTnjy4gBWJRmoe3Liq1KuoPKwrWuNlpEGzeZXOhDJpUiEj3kT9vW7NA/ n7Bldio0YTQRAJrAB5UJF391QPEcFHf93zLfCQ0Gvn6osvR1S4etwVwMlBSiuZWwPKG+ HM5tUBIMYq0PHOguc3cpA8ZjYjgHg5D+iycaQrxBSFsoGsqiKbuXvxAbCqB1q+LAtCVF SS7DgOEA5Vn8bCi7EQGT0teXoRjIT32KudE2spuo4w+yApmVbwFSd1M4ghPtYIP+b/Fv GWFR3Ffp75tp3SNFEdrgXr1XGD/RBidr1h4LT1eoCSv0raqElEqQx37Og87uy5Y9JjOU b3CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QQH4TaYIF6o38h7xbsFuFuW1teTfoq+Fiszi+NsDgAM=; b=nzPBE1zPK876xpAY8ESupVgY6tlBT/wT6de4uwmnRNaL+9PFFpETA/68wfPvdC1TPH D7vYKOKSSgf/fFcyaPhH4VvkN353XiJNYxp9eKGzF4vek3ao+lEXYbbtRyQy3DgLV7EE rB3r8E5BR6pXiimuhu86l4HRD1HDBFm9dI9TdTaxQQXnqKQsnqS1mBT0KiYkBREUI3G5 ifccLKwfidAIAL1Tme8T+B/N9+P581rB6oPwADYhnMoVF6Ll84oUlQgBKQz6Uopm55dn MhjMyY2F9OFQoTFLeytAjdHH0K6vOWPHyjhDae+mvRX3l645QerZMoMUJ07tlLA+ZXq+ Zwgg== X-Gm-Message-State: ACrzQf3ivpHrBnRc7/WhEkKvVQKu+WcnhOXWdcglzWhsJ57xs1qZCeF0 8K3Jir6B/Yn/3Nfd5RAcWYQ= X-Received: by 2002:a17:907:e93:b0:78d:46b3:3a76 with SMTP id ho19-20020a1709070e9300b0078d46b33a76mr33905029ejc.133.1666736872599; Tue, 25 Oct 2022 15:27:52 -0700 (PDT) Received: from hoboy.vegasvil.org (81-223-89-254.static.upcbusiness.at. [81.223.89.254]) by smtp.gmail.com with ESMTPSA id m8-20020a509308000000b0045bd257b307sm2302860eda.22.2022.10.25.15.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 15:27:51 -0700 (PDT) Date: Tue, 25 Oct 2022 15:27:49 -0700 From: Richard Cochran To: Rob Herring Cc: Sarath Babu Naidu Gaddam , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, krzysztof.kozlowski+dt@linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yangbo.lu@nxp.com, radhey.shyam.pandey@amd.com, anirudha.sarangi@amd.com, harini.katakam@amd.com, git@amd.com Subject: Re: [PATCH net-next V2] dt-bindings: net: ethernet-controller: Add ptp-hardware-clock Message-ID: References: <20221021054111.25852-1-sarath.babu.naidu.gaddam@amd.com> <20221024165723.GA1896281-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024165723.GA1896281-robh@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 24, 2022 at 11:57:23AM -0500, Rob Herring wrote: > On Thu, Oct 20, 2022 at 11:41:10PM -0600, 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. > > > > 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. > > Seems like this does the same thing as > Documentation/devicetree/bindings/ptp/timestamper.txt. > > Or perhaps what we have in bindings/timestamp/ which unfortunately does > about the same thing. > > The latter one is more flexible and follows standard provider/consumer > patterns. So timestamper.txt should probably be deprecated. I don't see how you can do that. The provider/consumer semantics are completely opposite. The three (including present patch) bindings specify three different relationships. Thanks, Richard