diff options
author | Dipen Patel <dipenp@nvidia.com> | 2022-04-22 23:52:18 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-05-04 12:06:13 +0300 |
commit | 2068339a6c35147847ba433fd0da67b313779059 (patch) | |
tree | 0afe504d45dce232acf40ade38c5af10c8ea2a91 /tools/gpio/gpio-event-mon.c | |
parent | 10e4afd6cc4bf1b6cc21ad9418bcebdcc18abefb (diff) | |
download | linux-2068339a6c35147847ba433fd0da67b313779059.tar.xz |
gpiolib: cdev: Add hardware timestamp clock type
This patch adds new clock type for the GPIO controller which can
timestamp gpio lines in using hardware means. To expose such
functionalities to the userspace, code has been added where
during line create or set config API calls, it checks for new
clock type and if requested, calls HTE API. During line change
event, the HTE subsystem pushes timestamp data to userspace
through gpiolib-cdev.
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/gpio/gpio-event-mon.c')
0 files changed, 0 insertions, 0 deletions