From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C6EFC433F5 for ; Sun, 3 Oct 2021 22:01:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B908611CE for ; Sun, 3 Oct 2021 22:01:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbhJCWDa (ORCPT ); Sun, 3 Oct 2021 18:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbhJCWDa (ORCPT ); Sun, 3 Oct 2021 18:03:30 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38C5BC061780 for ; Sun, 3 Oct 2021 15:01:42 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id y26so63704561lfa.11 for ; Sun, 03 Oct 2021 15:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SRVyXOWt8mtWnh8G8lJe1b0B8K7o+vzNCzCuZppoeFY=; b=UDdv8wy81dZshSCHMsMUGGkkoe7F62j5Oc3ivfQ2gglLlCiEpPAM8Qjhq6vgr4SET8 t7BsQOt+U8D4dBUn5CSJpMr/AAcXh0L/ZXWyYbtvtOfiJn19rWyAkySe/U7fA5wA56S5 XKFijSIaUB6Wy9bo5j2YjyUCuLlMPip0R3CgJ32eX63IsZz0RReD7n6rrsYzZu0mxfRn 8X3ay3BVSBl4kkD1b2/eP/lpaIOvls13ll+sxXMbCcn5L3BiShjUBpQwSYZ7+Vme035r xRcIFEBRtIpRuS09YBaHbSELcLsSnCNWqKNewWZuDakqbQlmMEm7PAGR1a3jrLHKecRv hjMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SRVyXOWt8mtWnh8G8lJe1b0B8K7o+vzNCzCuZppoeFY=; b=Efqxq5IDjYjF8BWBW9BiKgKap1UXPHEkYeOOg+aYc9mhF5eqRXuBQFLOuBPDAZQggj N5sPu/fCkKtnTYLVD1V/fxh3Ups+NjfLqtfLdf3g5202n11T+zu8zvfzhgWT+xw69Ahp wq3oWqV2X+rj1y/2rfXpnEnP/rc/rEgjbVHa5Dp6VkMMW6dcFjvGCeWrz6vpxSry/fJZ renuZ6/D9dBnJbB+fcPXk8diVZSiMNQqVz8+/JpHHsa+bNpo95IhvCEyFoP5EzI5VDre Z4ljR1FNqsTnRdjV9vcFwMWr1wsR3p75dRBasp9cz6JHvVaArJ4EUJukEFWCNr8fkyH3 NKvw== X-Gm-Message-State: AOAM533htQeRM2LFEUCAGwFbUQ+SPnPLHbIQXVzXbXtjWBDACkVONdiG /GbEfwM1UPbDM4ZHGYO3zULeaW000xuLO6h4/0XdRg== X-Google-Smtp-Source: ABdhPJwU6BYO1GlIKyiXf6kB7vXBupuW2rZNjpSs4uhugAZi6XlfLxoLWKJqpFoHQcAxQrzVJQWf/ubSB89t2TdMy3o= X-Received: by 2002:a2e:7f14:: with SMTP id a20mr12507373ljd.259.1633298500413; Sun, 03 Oct 2021 15:01:40 -0700 (PDT) MIME-Version: 1.0 References: <20210930232617.6396-1-dipenp@nvidia.com> <20210930232617.6396-7-dipenp@nvidia.com> In-Reply-To: <20210930232617.6396-7-dipenp@nvidia.com> From: Linus Walleij Date: Mon, 4 Oct 2021 00:01:29 +0200 Message-ID: Subject: Re: [RFC v2 06/11] gpiolib: Add HTE support To: Dipen Patel Cc: "thierry.reding@gmail.com" , Jon Hunter , linux-kernel , linux-tegra , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , Kent Gibson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Doc Mailing List , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Fri, Oct 1, 2021 at 1:26 AM Dipen Patel wrote: > Some GPIO chip can provide hardware timestamp support on its GPIO lines > , in order to support that additional API needs to be added which > can talk to both GPIO chip and HTE (hardware timestamping engine) > subsystem. This patch introduces APIs which gpio consumer can use > to request hardware assisted timestamping. Below is the list of the APIs > that are added in gpiolib subsystem. > > - gpiod_req_hw_timestamp_ns - Request HTE on specified GPIO line. > - gpiod_rel_hw_timestamp_ns - Release HTE functionality on GPIO line. > > Signed-off-by: Dipen Patel > --- > Changes in v2: > - removed get timestamp and is timestamp enabled APIs Pretty straight forward IMO Reviewed-by: Linus Walleij Yours, Linus Walleij