From e9783303bce7a5761ecb6971a9e77fdb945f6a2c Mon Sep 17 00:00:00 2001 From: Sheetal Tigadoli Date: Thu, 24 Apr 2025 10:22:43 +0000 Subject: [PATCH] dt-bindings:nvpps:Add ts-capture-interval property Add documentation for 'ts-capture-interval' property. This property allows configuring the interval between timestamp captures in milliseconds (valid range: 100ms-1000ms), determining how frequently the driver collects timestamp data. If unspecified, timestamps are collected every 1000ms (1s) by default. Bug 5242056 Change-Id: I12412d67d6eb3885d15a73ed1d40210fcc33d64e Signed-off-by: Sheetal Tigadoli Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3348871 (cherry picked from commit 742ac3220d0af4cc5bbac873bc4743a3b437efc0) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3361721 Reviewed-by: Sumeet Gupta Reviewed-by: svcacv GVS: buildbot_gerritrpt --- Documentation/devicetree/bindings/nvpps/nvpps.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/nvpps/nvpps.txt b/Documentation/devicetree/bindings/nvpps/nvpps.txt index 0f5f6622..805766d7 100644 --- a/Documentation/devicetree/bindings/nvpps/nvpps.txt +++ b/Documentation/devicetree/bindings/nvpps/nvpps.txt @@ -43,6 +43,10 @@ Optional properties: - nvpps-gpios: specifies GPIO number for PPS input signal. - timestamps: specifies timestamp for the GPIO provided by HTE. - timestamp-names: specifies name for GPIO timestamp. +- ts-capture-interval: Defines the interval between timestamp captures in milliseconds. + Valid range is from 100ms to 1000ms. This property determines how often + the driver collects timestamp data. If this property is not specified, + the driver will collect timestamps every 1000ms(1s) by default. Example: Timer mode on Orin. @@ -112,4 +116,5 @@ nvpps { reg = <0x0 0xc6a0000 0x0 0x1000>; ptp_tsc_lock_threshold = /bits/ 16 <0x26C>; ptp_tsc_sync_dis; + ts-capture-interval = <1000>; };