Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4217101pxf; Tue, 23 Mar 2021 05:53:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcauRlcE3X74SWcHYQNdnxbHZB4EQCiaw+z8+n682P2Vp5LeeIuzAzUSO5O2GqbfvMphlr X-Received: by 2002:a17:906:5e4a:: with SMTP id b10mr4818959eju.116.1616503992817; Tue, 23 Mar 2021 05:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616503992; cv=none; d=google.com; s=arc-20160816; b=y30AifNflr+1QWvAV1F8o1VbElWPPqm6j7MAvy1OyE0e5IfeS4oBXBDsKiwO4rzWR6 HvBA61UuOMnwW0BxlgOQMigkWUZSpIVpT7mKBPfjYeI6Dm/AWQVvRMRvtz55pq1RqiQ8 9EIm1haDd6GTkwAIMfehXV6ftbI5CyBTbDKf3kPb5BM4z9BbcCcxd1P3X7pMTUn3aeHy VA1uzSuS8M3VXWYhqzFdH/JuhtIdm70WCv//y8m2NsFg6v9sKjXA9hhxDwcjrFWNR93/ DSzHaGiO0ji4kpTIA0I300Ae777XBlxSSvhuH9y6YnVMEgLth8dqG0iyLGkFshVDewcF My+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=W73swV/Q5he3Tzf+ydT8yObURaAc6JinvwZwIKuuRdE=; b=zuZxoZ/oQBjRVBBbd1dZYqGU75pRrnYMB2L6o419gupSGX7v11e1OQ0HgbS7cP2IQd UYouAtN6TCCMopwT8ahTVPlFJOklOs+hnH8KVaPN9R6Hjpw40Ad3+aH4X5XDRjyJ2A96 F1IEcmmzCKDC7ZlxQ8IMCl2BanfLidh9qvRHYmI1P/r3auEMT6ORWWQZZWYPxIo19gbj DRP3+NJvfBl6YLQnPXEhjb6PINIiYdFAiNRroJZviRjfcSX9yFwflrf+Xv0KW2rfvUE4 PhrvAkMJwN8k0vgC29Osm8BXwn1NNXk25ro5qgkp4bxpnCbh0dzXm3rdBVikf7eIkSVv V1iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dZYXUHWi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si12929439eds.123.2021.03.23.05.52.50; Tue, 23 Mar 2021 05:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dZYXUHWi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231304AbhCWMvy (ORCPT + 99 others); Tue, 23 Mar 2021 08:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230335AbhCWMvi (ORCPT ); Tue, 23 Mar 2021 08:51:38 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50DF8C061574; Tue, 23 Mar 2021 05:51:38 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id v186so11590561pgv.7; Tue, 23 Mar 2021 05:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=W73swV/Q5he3Tzf+ydT8yObURaAc6JinvwZwIKuuRdE=; b=dZYXUHWijoTrxu0O/MxB9jXvMLnVbXkMw04Grjg2u6tC73cWCd8bN/k1W5QL2SA9TK cgk1feBNa6NS3UvdpbsMJ+DbgsNB8z8G0GstjudfCuoar/PO+v/Ww8KsqUyu6acBZFzH Ldg3koMQYMCKTWI+iaZd5e787+InPTq/NOlAIQ6PaY0tCww0/kZpSwCL4orjxRzVQF1g sNiTTiNnJMEaXQ/bK5gM04dVcwSm8uqXe+pFE2TO3BwrNCQWvq8VryHylHzqmJNJMOWd DEzimEf9EhRHfj9NNaNtIVjBHCxU9lCge5e++yYmYQc0lAOGvMRmTkPkcvmwNvpBnuE8 KYRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=W73swV/Q5he3Tzf+ydT8yObURaAc6JinvwZwIKuuRdE=; b=RR5JpdlHPN3PD4VZoqpNfd/9PzFBnkwJjf+zpDOEIa4cuKHyvqTnzKdbP16wrvPsQj QwXRUI9sV2Vl/MRMMqG66cSEpBAahcc/jN6vbxBv9ThjMPLKTJuO0/MTYbuYb6UsoFka AwwrpaQQ3HvpNHKmo+1AyvnAdgwwMwcp2Y2EmAR4Ehgv5YuRXazVwBeMdCND50wJe29N Yq5XQL7yGYIO+IqVXoC573pRb1295BD0ZYpgJKxZKgCax3mgjZVwxgZlGWRGt0ECp5fo 0mxqMX4x+L/Ozm4/yA0G66pLIABb1Wsr4FPnhuyykAy+6GDwUBSyEUGbYDtzIg/HtNC6 +Mtg== X-Gm-Message-State: AOAM532DoIT99ztzWsqGeQJJYtm7QkJ5Y6DbkytrYtWtw4+X45sgIocF kxpDkj9PkJsBAAyXanfndL4= X-Received: by 2002:a17:903:3053:b029:e6:5cde:bef with SMTP id u19-20020a1709033053b02900e65cde0befmr5320783pla.81.1616503897889; Tue, 23 Mar 2021 05:51:37 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:645:c000:48:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id d6sm16606592pfq.109.2021.03.23.05.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 05:51:37 -0700 (PDT) Date: Tue, 23 Mar 2021 05:51:34 -0700 From: Richard Cochran To: Thierry Reding Cc: Dipen Patel , Arnd Bergmann , Linus Walleij , Kent Gibson , "linux-kernel@vger.kernel.org" , Jon Hunter , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , linux-tegra , Thomas Gleixner , Networking Subject: Re: GTE - The hardware timestamping engine Message-ID: <20210323125134.GA29209@hoboy.vegasvil.org> References: <4c46726d-fa35-1a95-4295-bca37c8b6fe3@nvidia.com> <20210320153855.GA29456@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 23, 2021 at 10:03:18AM +0100, Thierry Reding wrote: > I agree. My understanding is the the TSC is basically an SoC-wide clock > that can be (and is) used by several hardware blocks. There's an > interface for software to read out the value, but it's part of a block > called TKE (time-keeping engine, if I recall correctly) that implements > various clock sources and watchdog functionality. ... > Anyway, I think given that the GTE doesn't provide that clock itself but > rather just a means of taking a snapshot of that clock and stamping > certain events with that, it makes more sense to provide that clock from > the TKE driver. It sounds like TKE + GTE together act like a PHC, and GTE doesn't need/want its own SW interface. Thanks, Richard