Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1675003pxb; Fri, 1 Oct 2021 16:48:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrmuC7bzLxQ12q0n48gGO+wH/oxZbvtTwdF6hOoFB6taLcA3j6TOqGvRx9ua2yAk8IDG2E X-Received: by 2002:a17:907:3d9f:: with SMTP id he31mr936151ejc.255.1633132086661; Fri, 01 Oct 2021 16:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633132086; cv=none; d=google.com; s=arc-20160816; b=Nu0PvH2tn9EE1DR+KRS6Es27HRsNlk0tkFmSWUzMXtuItWW6vtEJIa8dtG+eCtOJTU tEHrqZT33fKjGdESOa73WueSYSyr91BjBHv7gb5Kf6N8kP4x3RSitRypIuy7G6cogUga xhU3EmAvOaYWWk/nVrBNOJo6HtfJRBkcXmzcfc/1YEa54svfqpxhCbQjqCxRZ+W24ZpH VC4Tlh6CLgLBNkjaxKIdDbGUQ0qLLvwRInT6ne6AZhwQAzYWa0n8EiRklM/hucrnmGIj DFMP1ikBHzH8EtQtEe7glDDZzfSj1K3oBACKR7yyG0RTMg1R3cVb4pH5SOlM1KkkBQGI JQgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=RMYHColBopcvyuHn4kHSlDz8z/ORk1+XyuKRN8J5Sm0=; b=f00skQovD/58s+yEJUzXSzVPxafLSe3tSKlJ0Decl+ShP95anP6oxdggbyrDbgIBv2 ZY+TFzZCOkJU5xigdXydGDrRXsZXV7pOxWaks04wp5t/4PMP5GbqBrpr5o2up72ltMyz ++JCmrdCKTF+obcnGXc8XTulvQ6Q9eDG3SGNyvbau2ocP50GHcNTs0Zag5pnS4oM41n4 ewlT820kjlMNmCMooMlK/TnqgBNXjYsATSfTaiMQi276b1cyDI4PVpoILMTtCwhDRzUY qhDRk/osdXVMej840I3pGbYyPG5qR2XLykpu0gnXQ9FGMfaeTY/nRSd7+q2YH3hQTPBH 8gAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=bIdgvkWk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ig2si6070953ejc.323.2021.10.01.16.47.42; Fri, 01 Oct 2021 16:48:06 -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=@infradead.org header.s=bombadil.20210309 header.b=bIdgvkWk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231956AbhJAXpz (ORCPT + 99 others); Fri, 1 Oct 2021 19:45:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbhJAXpy (ORCPT ); Fri, 1 Oct 2021 19:45:54 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13E26C061775; Fri, 1 Oct 2021 16:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=RMYHColBopcvyuHn4kHSlDz8z/ORk1+XyuKRN8J5Sm0=; b=bIdgvkWkyCG4m1R5OCBXp1Ji8E xlG1775vhz67aITqA5sHQw0XHwdrNot7/T4q2cwALiRN3wsXq54g0FvjOUIguhaMXNms2bBXfiJ7Q 9eTVP6T6aBiTpwIvrPeF9nB1OthrWyScT8Z2WvlLuM/dg4ehWI9N3fHy7+eWejd/1VcUYcErjxl1H apxd8UjpbZtD+M2+vimkConOw10/ku/b/9YnbVtiK1ZYXY7XXHIdJ+YRaU49FkYxY4fPxctYwH21Y BXBBbFr3nfLbmjkGpz0VFLPcWlXhshe1ny1JtebC0kLED9KJ6kL/FRLK2E7APUIVeY2OPL9C17u2v eeiJwEag==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWSCE-001UFE-RV; Fri, 01 Oct 2021 23:44:07 +0000 Subject: Re: [RFC v2 03/11] hte: Add tegra194 HTE kernel provider To: Dipen Patel , thierry.reding@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, warthog618@gmail.com, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, robh+dt@kernel.org References: <20210930232617.6396-1-dipenp@nvidia.com> <20210930232617.6396-4-dipenp@nvidia.com> From: Randy Dunlap Message-ID: Date: Fri, 1 Oct 2021 16:44:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210930232617.6396-4-dipenp@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/21 4:26 PM, Dipen Patel wrote: > +----------- > +The Nvidia tegra194 HTE provider driver implements two GTE > +(Generic Timestamping Engine) instances 1) GPIO GTE and 2) LIC IRQ GTE. The > +both GTEs instances get the timestamp from the system counter TSC which has > +31.25MHz clock rate, and the driver converts clock tick rate to nano seconds > +before storing it as timestamp value. > + > +GPIO GTE > +-------- > + > +This GTE instance timestamps GPIO in real time, for that to happen GPIO > +needs to be configured as input and IRQ needs to ba enabled. The only always on > +(AON) gpio controller instance supports timestamping GPIOs in realtime and it Here we have text that tells what AON means, but in the first paragraph above, there is nothing that tells us what LIC means. Please add that. -- ~Randy