]> 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>
Mon, 26 Sep 2011 07:03:12 +0000 (17:03 +1000)
commit5c76e2e10231b1d696ed98058347394de5bab191
treed32e6ddbf4d80f8d125ad1f328f5fb6b92d82a91
parent6e37a200cfe36187c929f1f3ea5d91ed23b1ca42
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]