summaryrefslogtreecommitdiff
path: root/drivers/hte/Makefile
diff options
context:
space:
mode:
authorDipen Patel <dipenp@nvidia.com>2022-04-22 23:52:13 +0300
committerThierry Reding <treding@nvidia.com>2022-05-04 12:05:54 +0300
commit31ab09b4218879bc394c9faa6da983a82a694600 (patch)
tree381a0c953e6f6838be2989319b3752263f2a2c11 /drivers/hte/Makefile
parent6406ac633d8096d5a05e4a82499a4efac2dd18d5 (diff)
downloadlinux-31ab09b4218879bc394c9faa6da983a82a694600.tar.xz
drivers: Add hardware timestamp engine (HTE) subsystem
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: Dipen Patel <dipenp@nvidia.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/hte/Makefile')
-rw-r--r--drivers/hte/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hte/Makefile b/drivers/hte/Makefile
new file mode 100644
index 000000000000..fc03bdf44427
--- /dev/null
+++ b/drivers/hte/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_HTE) += hte.o
+