]> git.karo-electronics.de Git - karo-tx-linux.git/commit
This client driver allows you to use a GPIO pin as a source for PPS
authorJames Nuss <jamesnuss@nanometrics.ca>
Wed, 24 Aug 2011 23:47:54 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 Sep 2011 08:26:35 +0000 (18:26 +1000)
commitaaf8d2778fed313417c805550d9f43a65a5cec38
treef7e8c868593a08d936a4b60b68f2efe7cc043f41
parent2a70b4f4af2b76ba5264ec0afe53d30231b61826
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

Signed-off-by: James Nuss <jamesnuss@nanometrics.ca>
Cc: Ricardo Martins <rasm@fe.up.pt>
Acked-by: Rodolfo Giometti <giometti@linux.it>
Cc: 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>
drivers/pps/clients/Kconfig
drivers/pps/clients/Makefile
drivers/pps/clients/pps-gpio.c [new file with mode: 0644]
include/linux/pps-gpio.h [new file with mode: 0644]