]> 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>
Fri, 16 Sep 2011 06:09:10 +0000 (16:09 +1000)
commit63a7a21c483e7d251460b6a020e72c77a94eb188
tree6372e1c9d9c30afb8e6ab69b6275dc119148ccab
parentda4f757788db44012e464bf59778536361cfb831
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]