xref: /OK3568_Linux_fs/kernel/drivers/pps/clients/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# PPS clients configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyuncomment "PPS clients support"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig PPS_CLIENT_KTIMER
9*4882a593Smuzhiyun	tristate "Kernel timer client (Testing client, use for debug)"
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  If you say yes here you get support for a PPS debugging client
12*4882a593Smuzhiyun	  which uses a kernel timer to generate the PPS signal.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	  This driver can also be built as a module.  If so, the module
15*4882a593Smuzhiyun	  will be called pps-ktimer.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig PPS_CLIENT_LDISC
18*4882a593Smuzhiyun	tristate "PPS line discipline"
19*4882a593Smuzhiyun	depends on TTY
20*4882a593Smuzhiyun	help
21*4882a593Smuzhiyun	  If you say yes here you get support for a PPS source connected
22*4882a593Smuzhiyun	  with the CD (Carrier Detect) pin of your serial port.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig PPS_CLIENT_PARPORT
25*4882a593Smuzhiyun	tristate "Parallel port PPS client"
26*4882a593Smuzhiyun	depends on PARPORT
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  If you say yes here you get support for a PPS source connected
29*4882a593Smuzhiyun	  with the interrupt pin of your parallel port.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunconfig PPS_CLIENT_GPIO
32*4882a593Smuzhiyun	tristate "PPS client using GPIO"
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  If you say yes here you get support for a PPS source using
35*4882a593Smuzhiyun	  GPIO. To be useful you must also register a platform device
36*4882a593Smuzhiyun	  specifying the GPIO pin and other options, usually in your board
37*4882a593Smuzhiyun	  setup.
38