blob: afbf5e2b06b706595a276537f04fa7cb167655b8 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -07002#
3# PPS support configuration
4#
5
Vincent Legoll98e959d2017-04-11 16:26:41 +02006menuconfig PPS
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -07007 tristate "PPS support"
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -07008 ---help---
9 PPS (Pulse Per Second) is a special pulse provided by some GPS
10 antennae. Userland can use it to get a high-precision time
11 reference.
12
13 Some antennae's PPS signals are connected with the CD (Carrier
14 Detect) pin of the serial line they use to communicate with the
15 host. In this case use the SERIAL_LINE client support.
16
17 Some antennae's PPS signals are connected with some special host
18 inputs so you have to enable the corresponding client support.
19
20 To compile this driver as a module, choose M here: the module
21 will be called pps_core.ko.
22
Robert P. J. Dayab4f5262017-09-08 16:17:22 -070023if PPS
24
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -070025config PPS_DEBUG
26 bool "PPS debugging messages"
Rodolfo Giomettieae9d2b2009-06-17 16:28:37 -070027 help
28 Say Y here if you want the PPS support to produce a bunch of debug
29 messages to the system log. Select this if you are having a
30 problem with PPS support and want to see more of what is going on.
31
Alexander Gordeev025b40a2011-01-12 17:00:56 -080032config NTP_PPS
33 bool "PPS kernel consumer support"
Robert P. J. Dayab4f5262017-09-08 16:17:22 -070034 depends on !NO_HZ_COMMON
Alexander Gordeev025b40a2011-01-12 17:00:56 -080035 help
36 This option adds support for direct in-kernel time
Lucas De Marchi25985ed2011-03-30 22:57:33 -030037 synchronization using an external PPS signal.
Alexander Gordeev025b40a2011-01-12 17:00:56 -080038
39 It doesn't work on tickless systems at the moment.
40
Masahiro Yamada8636a1f2018-12-11 20:01:04 +090041source "drivers/pps/clients/Kconfig"
Rodolfo Giometti697fb852010-03-10 15:23:45 -080042
Masahiro Yamada8636a1f2018-12-11 20:01:04 +090043source "drivers/pps/generators/Kconfig"
Robert P. J. Dayab4f5262017-09-08 16:17:22 -070044
45endif # PPS