Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

Add Intel Timed I/O PPS usage instructions.

Co-developed-by: Pandith N <pandith.n@intel.com>
Signed-off-by: Pandith N <pandith.n@intel.com>
Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Subramanian Mohan <subramanian.mohan@intel.com>
Link: https://lore.kernel.org/r/20250219040618.70962-4-subramanian.mohan@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Subramanian Mohan and committed by
Greg Kroah-Hartman
6b22c3de c89755d1

+24
+24
Documentation/driver-api/pps.rst
··· 285 285 latencies. But if it is too small slave won't be able to capture clear edge 286 286 transition. The default of 30us should be good enough in most situations. 287 287 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