• Linus Torvalds's avatar
    Merge tag 'hte/for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux · 29814363
    Linus Torvalds authored
    Pull hardware timestamping subsystem from Thierry Reding:
     "This contains the new HTE (hardware timestamping engine) subsystem
      that has been in the works for a couple of months now.
    
      The infrastructure provided allows for drivers to register as hardware
      timestamp providers, while consumers will be able to request events
      that they are interested in (such as GPIOs and IRQs) to be timestamped
      by the hardware providers.
    
      Note that this currently supports only one provider, but there seems
      to be enough interest in this functionality and we expect to see more
      drivers added once this is merged"
    
    [ Linus Walleij mentions the Intel PMC in the Elkhart and Tiger Lake
      platforms as another future timestamp provider ]
    
    * tag 'hte/for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
      dt-bindings: timestamp: Correct id path
      dt-bindings: Renamed hte directory to timestamp
      hte: Uninitialized variable in hte_ts_get()
      hte: Fix off by one in hte_push_ts_ns()
      hte: Fix possible use-after-free in tegra_hte_test_remove()
      hte: Remove unused including <linux/version.h>
      MAINTAINERS: Add HTE Subsystem
      hte: Add Tegra HTE test driver
      tools: gpio: Add new hardware clock type
      gpiolib: cdev: Add hardware timestamp clock type
      gpio: tegra186: Add HTE support
      gpiolib: Add HTE support
      dt-bindings: Add HTE bindings
      hte: Add Tegra194 HTE kernel provider
      drivers: Add hardware timestamp engine (HTE) subsystem
      Documentation: Add HTE subsystem guide
    29814363
gpiolib.c 123 KB