xref: /openbmc/linux/drivers/pps/clients/Kconfig (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2697fb85fSRodolfo Giometti#
3697fb85fSRodolfo Giometti# PPS clients configuration
4697fb85fSRodolfo Giometti#
5697fb85fSRodolfo Giometti
6697fb85fSRodolfo Giometticomment "PPS clients support"
7697fb85fSRodolfo Giometti
8697fb85fSRodolfo Giometticonfig PPS_CLIENT_KTIMER
9697fb85fSRodolfo Giometti	tristate "Kernel timer client (Testing client, use for debug)"
10697fb85fSRodolfo Giometti	help
11697fb85fSRodolfo Giometti	  If you say yes here you get support for a PPS debugging client
12697fb85fSRodolfo Giometti	  which uses a kernel timer to generate the PPS signal.
13697fb85fSRodolfo Giometti
14697fb85fSRodolfo Giometti	  This driver can also be built as a module.  If so, the module
15697fb85fSRodolfo Giometti	  will be called pps-ktimer.
16697fb85fSRodolfo Giometti
17a0880df0SRodolfo Giometticonfig PPS_CLIENT_LDISC
18a0880df0SRodolfo Giometti	tristate "PPS line discipline"
19ab4f5260SRobert P. J. Day	depends on TTY
20a0880df0SRodolfo Giometti	help
21a0880df0SRodolfo Giometti	  If you say yes here you get support for a PPS source connected
22a0880df0SRodolfo Giometti	  with the CD (Carrier Detect) pin of your serial port.
23a0880df0SRodolfo Giometti
24a10203c6SAlexander Gordeevconfig PPS_CLIENT_PARPORT
25a10203c6SAlexander Gordeev	tristate "Parallel port PPS client"
26ab4f5260SRobert P. J. Day	depends on PARPORT
27a10203c6SAlexander Gordeev	help
28a10203c6SAlexander Gordeev	  If you say yes here you get support for a PPS source connected
29a10203c6SAlexander Gordeev	  with the interrupt pin of your parallel port.
30a10203c6SAlexander Gordeev
3116152045SJames Nussconfig PPS_CLIENT_GPIO
3216152045SJames Nuss	tristate "PPS client using GPIO"
3316152045SJames Nuss	help
3416152045SJames Nuss	  If you say yes here you get support for a PPS source using
3516152045SJames Nuss	  GPIO. To be useful you must also register a platform device
3616152045SJames Nuss	  specifying the GPIO pin and other options, usually in your board
3716152045SJames Nuss	  setup.
38