xref: /linux/drivers/pps/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2eae9d2baSRodolfo Giometti#
3eae9d2baSRodolfo Giometti# PPS support configuration
4eae9d2baSRodolfo Giometti#
5eae9d2baSRodolfo Giometti
698e959d4SVincent Legollmenuconfig PPS
7eae9d2baSRodolfo Giometti	tristate "PPS support"
8eae9d2baSRodolfo Giometti	---help---
9eae9d2baSRodolfo Giometti	  PPS (Pulse Per Second) is a special pulse provided by some GPS
10eae9d2baSRodolfo Giometti	  antennae. Userland can use it to get a high-precision time
11eae9d2baSRodolfo Giometti	  reference.
12eae9d2baSRodolfo Giometti
13eae9d2baSRodolfo Giometti	  Some antennae's PPS signals are connected with the CD (Carrier
14eae9d2baSRodolfo Giometti	  Detect) pin of the serial line they use to communicate with the
15eae9d2baSRodolfo Giometti	  host. In this case use the SERIAL_LINE client support.
16eae9d2baSRodolfo Giometti
17eae9d2baSRodolfo Giometti	  Some antennae's PPS signals are connected with some special host
18eae9d2baSRodolfo Giometti	  inputs so you have to enable the corresponding client support.
19eae9d2baSRodolfo Giometti
20eae9d2baSRodolfo Giometti	  To compile this driver as a module, choose M here: the module
21eae9d2baSRodolfo Giometti	  will be called pps_core.ko.
22eae9d2baSRodolfo Giometti
23ab4f5260SRobert P. J. Dayif PPS
24ab4f5260SRobert P. J. Day
25eae9d2baSRodolfo Giometticonfig PPS_DEBUG
26eae9d2baSRodolfo Giometti	bool "PPS debugging messages"
27eae9d2baSRodolfo Giometti	help
28eae9d2baSRodolfo Giometti	  Say Y here if you want the PPS support to produce a bunch of debug
29eae9d2baSRodolfo Giometti	  messages to the system log.  Select this if you are having a
30eae9d2baSRodolfo Giometti	  problem with PPS support and want to see more of what is going on.
31eae9d2baSRodolfo Giometti
32025b40abSAlexander Gordeevconfig NTP_PPS
33025b40abSAlexander Gordeev	bool "PPS kernel consumer support"
34ab4f5260SRobert P. J. Day	depends on !NO_HZ_COMMON
35025b40abSAlexander Gordeev	help
36025b40abSAlexander Gordeev	  This option adds support for direct in-kernel time
3725985edcSLucas De Marchi	  synchronization using an external PPS signal.
38025b40abSAlexander Gordeev
39025b40abSAlexander Gordeev	  It doesn't work on tickless systems at the moment.
40025b40abSAlexander Gordeev
418636a1f9SMasahiro Yamadasource "drivers/pps/clients/Kconfig"
42697fb85fSRodolfo Giometti
438636a1f9SMasahiro Yamadasource "drivers/pps/generators/Kconfig"
44ab4f5260SRobert P. J. Day
45ab4f5260SRobert P. J. Dayendif # PPS
46