Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9108896rwi; Tue, 25 Oct 2022 15:26:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6b2Uro86nFwylaSRxa5syW2Rq+nTNJAK+kMiYp61H3naw8WJWHrcNtuQ2DuX65PcCl5kS3 X-Received: by 2002:a17:907:3d91:b0:78e:11cc:3bc7 with SMTP id he17-20020a1709073d9100b0078e11cc3bc7mr34917510ejc.655.1666736786231; Tue, 25 Oct 2022 15:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666736786; cv=none; d=google.com; s=arc-20160816; b=RZazJNaBbfWP3XdC6IwxUZld9hJvC0zjJvCHCl09W0UnMiWqTloi+ZazG5dloQahcY Q1UP3Jm28tOrXmvJtgI59/dqBh4I73Ee8BVSeEidjyz/Dy8VzsFr9qTp5K2nvP9xkCdF RYxJlnmELYpGL06Tvhs5RKxqYezjgiXl2kQHLsBKklelbUVWsi0Mw9FQpRsVWCkJfaeL GnljdzLjoF+E0gkeygZ0dINVV7zVwDw+NlPOeuOP3I3ZbHlz2WE29Chqp05K1SNXbSSi UxljGQzkx9eiK2Rl5s7IjyAz/jNsb/S+6YmhxRlMhErsQMAAuNemyRucZeXzRb/b8NPu FaUQ== 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=B5TwB3HwahgA/DvlgI1SO+JR6TGYUK+JWhOPn24MHF0=; b=SnxvjtT/kTQbsNQgWFhGfxHzyGsmZYn/vZ9KTS5wuW6gIMB/WyKxBc5ze4xtdMFwqR UKB9VMM8tOqJTZ63e4p4/KNmqQCOt9ubwtKMJW8acgv5+oE2OQg+oNqZxGuz2moQEQmQ iZ0t/5wxqa65Bg2hQFjKonvsFqnWKjCM9PMpHbVOlxDLfTt6LpatZipI0P+feffDIGKd C9sFZ3EW3GaVR40ZfNQJSmxRsnEqwNhgDD6oXr6AtS7rRVf/DXPxdKHxexUJIpTNVne5 KgpLh4YDmmeZbGgYep8yR6sMUxEZDNNpPwkvK1zWoAPHqoOPMEDbSWU0FN4c3mCJsW5Z 3RNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p7YTe7u3; 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 e2-20020a170906504200b007809c50fd78si3621720ejk.262.2022.10.25.15.26.00; Tue, 25 Oct 2022 15:26:26 -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=p7YTe7u3; 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 S232207AbiJYWDD (ORCPT + 99 others); Tue, 25 Oct 2022 18:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiJYWC7 (ORCPT ); Tue, 25 Oct 2022 18:02:59 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 209EC26D8; Tue, 25 Oct 2022 15:02:58 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id b12so38565744edd.6; Tue, 25 Oct 2022 15:02:58 -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=B5TwB3HwahgA/DvlgI1SO+JR6TGYUK+JWhOPn24MHF0=; b=p7YTe7u30t+3wLVC4on7U1c71rPI4CrZqHI5DQkoHELmnlDvpjydeOPWiCA8eVfhV2 DUXq3wOnR/TXRGLkGp/Jr6hEU6Hpv0fS2FkBpEVRR1vE62xHJZjCglHXCRGwPH0RFdJI +h8qr/Z2VX+X75+ugv8x7SFtcXVhom/3Q1107MN9aSk5pczjy2ipe8LyublfYgVgvrR1 gEs0zQQlnwtY5eWiBDerpaZYcyLGsOG3/V9xmVorqjvWUiEfaz/G1+LkzoeOlDF365cJ /gezABV4ssoMCo6gzRkE9V5xO2CAYVFlOmRS9Q4khn4VEhCTCi34X+cW4DeV0pXE78cy SuSA== 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=B5TwB3HwahgA/DvlgI1SO+JR6TGYUK+JWhOPn24MHF0=; b=R2IpioQU8d3n+O3okdJ3fsyDHUQP1DjLdl+nLUMJhwjcVMWkodvzxI/PAFBD/Iipm5 Ln2VapqdQlefEw0Meu5NjyJFbxaoRJZHfP6AIwKs2DvdVK7fbBBOn7nBjM4oAIqM9FTZ PwLfcvYpz35pATXPWzC7YvyLKQM6Y+vuui78uglQPSolcDvphwIqAgYglU/6xBSxaV2L xJiJMFq/mZG4WDaraeocQ9w1itJbRYGg0kNCVwqWbAYGHwHEIaZsRt3AEZuZOOM4xgOK ZyB2Pnc4uzmGLEJiFC+VY7efQyNjI7l9PyZroXKF2l6ylAeHb+XAsNnC+V4PmkAgJVJE lqhQ== X-Gm-Message-State: ACrzQf1iAMDGeNZudIaNqdeP++yN5oqzNs0CnO7icru6pwtOFex0pkwv gGnkKwfiEIEeUFwmaymKTl4= X-Received: by 2002:a50:ed03:0:b0:461:9f73:b8d9 with SMTP id j3-20020a50ed03000000b004619f73b8d9mr14573439eds.140.1666735376681; Tue, 25 Oct 2022 15:02:56 -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 kk20-20020a170907767400b0077d37a5d401sm2003091ejc.33.2022.10.25.15.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 15:02:56 -0700 (PDT) Date: Tue, 25 Oct 2022 15:02:53 -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: 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 Tue, Oct 25, 2022 at 02:46:08PM -0700, Richard Cochran wrote: > 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. > > That is different. It goes from: > > MAC -> time stamp generator actually: PHY -> time stamp generator > The proposed binding goes from: > > MAC (with built in time stamp generator) -> PTP Hardware Clock (with get/settime etc) > > > Thanks, > Richard