mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
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>
21 lines
519 B
C
21 lines
519 B
C
/* 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__ */
|