mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvidia-oot: add nvpps and ptp driver
Using this patch we are adding support for ptp and nvpps driver in oot kernel. JIRA ESLC-6885 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Id47ac5602d11ce417f9d421b4f672578922ca94f Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785318 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: David Tao <tehyut@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
77001d121e
commit
a2fdb986b0
20
include/linux/nvpps.h
Normal file
20
include/linux/nvpps.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __NVPPS_H__
|
||||
#define __NVPPS_H__
|
||||
|
||||
/*
|
||||
* Get PTP time
|
||||
* Clients may call the API every and anytime PTP time is needed.
|
||||
* If PTP time source is not registered, returns -EINVAL
|
||||
*
|
||||
* This API is available irrespective of nvpps dt availablity
|
||||
* When nvpps dt node is not present, interface name will
|
||||
* default to "eth0".
|
||||
*/
|
||||
int nvpps_get_ptp_ts(void *ts);
|
||||
|
||||
#endif /* __NVPPS_H__ */
|
||||
Reference in New Issue
Block a user