Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 2 | # |
| 3 | # PPS support configuration |
| 4 | # |
| 5 | |
Vincent Legoll | 98e959d | 2017-04-11 16:26:41 +0200 | [diff] [blame] | 6 | menuconfig PPS |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 7 | tristate "PPS support" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 8 | help |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 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. Day | ab4f526 | 2017-09-08 16:17:22 -0700 | [diff] [blame] | 23 | if PPS |
| 24 | |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 25 | config PPS_DEBUG |
| 26 | bool "PPS debugging messages" |
Rodolfo Giometti | eae9d2b | 2009-06-17 16:28:37 -0700 | [diff] [blame] | 27 | 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 Gordeev | 025b40a | 2011-01-12 17:00:56 -0800 | [diff] [blame] | 32 | config NTP_PPS |
| 33 | bool "PPS kernel consumer support" |
Robert P. J. Day | ab4f526 | 2017-09-08 16:17:22 -0700 | [diff] [blame] | 34 | depends on !NO_HZ_COMMON |
Alexander Gordeev | 025b40a | 2011-01-12 17:00:56 -0800 | [diff] [blame] | 35 | help |
| 36 | This option adds support for direct in-kernel time |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 37 | synchronization using an external PPS signal. |
Alexander Gordeev | 025b40a | 2011-01-12 17:00:56 -0800 | [diff] [blame] | 38 | |
| 39 | It doesn't work on tickless systems at the moment. |
| 40 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 41 | source "drivers/pps/clients/Kconfig" |
Rodolfo Giometti | 697fb85 | 2010-03-10 15:23:45 -0800 | [diff] [blame] | 42 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 43 | source "drivers/pps/generators/Kconfig" |
Robert P. J. Day | ab4f526 | 2017-09-08 16:17:22 -0700 | [diff] [blame] | 44 | |
| 45 | endif # PPS |