]> git.kernelconcepts.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, 1 Sep 2011 03:29:02 +0000 (13:29 +1000)
commitc98dedbb3b9038a200c08d5737e2537f59e80890
tree5ec2ea20d2dc00b98bbc2639e333df8e3e1a737f
parentda8bd5d6843662ec5cb71b5e06e4ef37e2358cff
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]