Skip to content
Snippets Groups Projects
Commit 2068339a authored by Dipen Patel's avatar Dipen Patel Committed by Thierry Reding
Browse files

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: default avatarDipen Patel <dipenp@nvidia.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 10e4afd6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment