697fb85fcf
Each PPS source can be registered/deregistered into the system by using special modules called "clients". They simply define the PPS sources' attributes and implement the time signal registration mechanism. This patch adds a special directory for such clients and adds a dummy client that can be useful to test system integrity on real systems. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Rodolfo Giometti <giometti@linux.it> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Greg KH <greg@kroah.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
35 lines
1,011 B
Text
35 lines
1,011 B
Text
#
|
|
# PPS support configuration
|
|
#
|
|
|
|
menu "PPS support"
|
|
|
|
config PPS
|
|
tristate "PPS support"
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
PPS (Pulse Per Second) is a special pulse provided by some GPS
|
|
antennae. Userland can use it to get a high-precision time
|
|
reference.
|
|
|
|
Some antennae's PPS signals are connected with the CD (Carrier
|
|
Detect) pin of the serial line they use to communicate with the
|
|
host. In this case use the SERIAL_LINE client support.
|
|
|
|
Some antennae's PPS signals are connected with some special host
|
|
inputs so you have to enable the corresponding client support.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called pps_core.ko.
|
|
|
|
config PPS_DEBUG
|
|
bool "PPS debugging messages"
|
|
depends on PPS
|
|
help
|
|
Say Y here if you want the PPS support to produce a bunch of debug
|
|
messages to the system log. Select this if you are having a
|
|
problem with PPS support and want to see more of what is going on.
|
|
|
|
source drivers/pps/clients/Kconfig
|
|
|
|
endmenu
|