1. 04 May, 2022 3 commits
    • Dipen Patel's avatar
      dt-bindings: Add HTE bindings · e6a3a65b
      Dipen Patel authored
      Introduces HTE devicetree binding details for the HTE subsystem. It
      includes examples for the consumers, binding details for the providers
      and specific binding details for the Tegra194 based HTE providers.
      Signed-off-by: default avatarDipen Patel <dipenp@nvidia.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      e6a3a65b
    • Dipen Patel's avatar
      hte: Add Tegra194 HTE kernel provider · 09574cca
      Dipen Patel authored
      Tegra194 device has multiple HTE instances also known as GTE (Generic
      Hardware Timestamping Engine) which can timestamp subset of SoC lines
      and signals. This provider driver focuses on IRQ and GPIO lines and
      exposes timestamping ability on those lines to the consumers through
      HTE subsystem.
      
      Also, with this patch, added:
      - documentation about this provider and its capabilities at
      Documentation/hte.
      - Compilation support in Makefile and Kconfig
      Signed-off-by: default avatarDipen Patel <dipenp@nvidia.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      09574cca
    • Dipen Patel's avatar
      drivers: Add hardware timestamp engine (HTE) subsystem · 31ab09b4
      Dipen Patel authored
      Some devices can timestamp system lines/signals/Buses in real-time
      using the hardware counter or other hardware means which can give
      finer granularity and help avoid jitter introduced by software
      timestamping. To utilize such functionality, this patchset creates
      HTE subsystem where devices can register themselves as providers so
      that the consumers devices can request specific line from the
      providers. The patch also adds compilation support in Makefile and
      menu options in Kconfig.
      
      The provider does following:
      - Registers chip with the framework.
      - Provides translation hook to convert logical line id.
      - Provides enable/disable, request/release callbacks.
      - Pushes timestamp data to HTE subsystem.
      
      The consumer does following:
      - Initializes line attribute.
      - Gets HTE timestamp descriptor.
      - Requests timestamp functionality.
      - Puts HTE timestamp descriptor.
      Signed-off-by: default avatarDipen Patel <dipenp@nvidia.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      31ab09b4
  2. 03 May, 2022 1 commit
  3. 03 Apr, 2022 8 commits
  4. 02 Apr, 2022 28 commits