Skip to content

Commit 6b22c3d

Browse files
subbu-m37gregkh
authored andcommitted
Documentation: driver-api: pps: Add Intel Timed I/O PPS generator
Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N <[email protected]> Signed-off-by: Pandith N <[email protected]> Signed-off-by: Lakshmi Sowjanya D <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Signed-off-by: Subramanian Mohan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c89755d commit 6b22c3d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Documentation/driver-api/pps.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,27 @@ delay between assert and clear edge as small as possible to reduce system
285285
latencies. But if it is too small slave won't be able to capture clear edge
286286
transition. The default of 30us should be good enough in most situations.
287287
The delay can be selected using 'delay' pps_gen_parport module parameter.
288+
289+
290+
Intel Timed I/O PPS signal generator
291+
------------------------------------
292+
293+
Intel Timed I/O is a high precision device, present on 2019 and newer Intel
294+
CPUs, that can generate PPS signals.
295+
296+
Timed I/O and system time are both driven by same hardware clock. The signal
297+
is generated with a precision of ~20 nanoseconds. The generated PPS signal
298+
is used to synchronize an external device with system clock. For example,
299+
it can be used to share your clock with a device that receives PPS signal,
300+
generated by Timed I/O device. There are dedicated Timed I/O pins to deliver
301+
the PPS signal to an external device.
302+
303+
Usage of Intel Timed I/O as PPS generator:
304+
305+
Start generating PPS signal::
306+
307+
$echo 1 > /sys/class/pps-gen/pps-genx/enable
308+
309+
Stop generating PPS signal::
310+
311+
$echo 0 > /sys/class/pps-gen/pps-genx/enable

0 commit comments

Comments
 (0)