mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:12:45 +07:00
161520451d
This client driver allows you to use a GPIO pin as a source for PPS signals. Platform data [1] are used to specify the GPIO pin number, label, assert event edge type, and whether clear events are captured. This driver is based on the work by Ricardo Martins who submitted an initial implementation [2] of a PPS IRQ client driver to the linuxpps mailing-list on Dec 3 2010. [1] include/linux/pps-gpio.h [2] http://ml.enneenne.com/pipermail/linuxpps/2010-December/004155.html [akpm@linux-foundation.org: remove unneeded cast of void*] Signed-off-by: James Nuss <jamesnuss@nanometrics.ca> Cc: Ricardo Martins <rasm@fe.up.pt> Acked-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Ricardo Martins <rasm@fe.up.pt> Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su> Cc: Igor Plyatov <plyatov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 lines
261 B
Makefile
11 lines
261 B
Makefile
#
|
|
# Makefile for PPS clients.
|
|
#
|
|
|
|
obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
|
|
obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
|
|
obj-$(CONFIG_PPS_CLIENT_PARPORT) += pps_parport.o
|
|
obj-$(CONFIG_PPS_CLIENT_GPIO) += pps-gpio.o
|
|
|
|
ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG
|