^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # PPS support configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) menuconfig PPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "PPS support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) PPS (Pulse Per Second) is a special pulse provided by some GPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) antennae. Userland can use it to get a high-precision time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Some antennae's PPS signals are connected with the CD (Carrier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Detect) pin of the serial line they use to communicate with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) host. In this case use the SERIAL_LINE client support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Some antennae's PPS signals are connected with some special host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) inputs so you have to enable the corresponding client support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) will be called pps_core.ko.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) if PPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) config PPS_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) bool "PPS debugging messages"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Say Y here if you want the PPS support to produce a bunch of debug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) messages to the system log. Select this if you are having a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) problem with PPS support and want to see more of what is going on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config NTP_PPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) bool "PPS kernel consumer support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) depends on !NO_HZ_COMMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) This option adds support for direct in-kernel time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) synchronization using an external PPS signal.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) It doesn't work on tickless systems at the moment.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) source "drivers/pps/clients/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) source "drivers/pps/generators/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) endif # PPS