From 0f58bdf322733e571f429e232adefb7a89f44235 Mon Sep 17 00:00:00 2001 From: Sheetal Tigadoli Date: Sun, 26 Mar 2023 05:31:36 +0000 Subject: [PATCH] Documentation: bindings: define DT prop to disable PTP TSC sync logic define DT prop to disable PTP TSC sync logic Bug 4044583 Bug 3896607 Change-Id: I51778db4bd4203589c48bf5b3bdb0d49547fec55 Signed-off-by: Sheetal Tigadoli Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2877071 Reviewed-by: Sumeet Gupta GVS: Gerrit_Virtual_Submit --- Documentation/devicetree/bindings/nvpps/nvpps.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvpps/nvpps.txt b/Documentation/devicetree/bindings/nvpps/nvpps.txt index b91a458b..d55c519d 100644 --- a/Documentation/devicetree/bindings/nvpps/nvpps.txt +++ b/Documentation/devicetree/bindings/nvpps/nvpps.txt @@ -29,6 +29,8 @@ Optional properties: The value is a 16bit hexa-decimal value. The minimum value(0x1F) supported correspond to 1us and max value(0xFFFF) supported correspond to approx 2.1ms. If unspecified, NvPPS driver uses 0x26C(corresponding to 20us) by default +- ptp_tsc_sync_dis: boolean flag to indicate if nvpps should disable PTP TSC sync logic. + The default behaviour is to keep PTP TSC sync logic enabled. Example: @@ -57,7 +59,8 @@ nvpps { interface = "mgbe2_0"; sec_interface = "eqos_0"; ptp_tsc_k_int = /bits/ 8 <0x70>; - ptp_tsc_lock_threshold = /bits/ 16 <0x26C> + ptp_tsc_lock_threshold = /bits/ 16 <0x26C>; + ptp_tsc_sync_dis; }; Example: GPIO as optional