projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a27c5
)
added capture_clear option to pps-gpio via dtoverlay (#2433)
author
hdoverobinson
<hdoverobinson@gmail.com>
Tue, 13 Mar 2018 10:58:39 +0000
(06:58 -0400)
committer
popcornmix
<popcornmix@gmail.com>
Mon, 13 May 2019 23:08:01 +0000
(
00:08
+0100)
drivers/pps/clients/pps-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/pps/clients/pps-gpio.c
b/drivers/pps/clients/pps-gpio.c
index
333ad7d
..
ec9c4de
100644
(file)
--- a/
drivers/pps/clients/pps-gpio.c
+++ b/
drivers/pps/clients/pps-gpio.c
@@
-119,6
+119,9
@@
static int pps_gpio_probe(struct platform_device *pdev)
if (of_get_property(np, "assert-falling-edge", NULL))
data->assert_falling_edge = true;
+
+ if (of_get_property(np, "capture-clear", NULL))
+ data->capture_clear = true;
}
/* GPIO setup */