mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
added capture_clear option to pps-gpio via dtoverlay (#2433)
This commit is contained in:
committed by
popcornmix
parent
a055de96f5
commit
f3fe83cbef
@@ -119,6 +119,9 @@ static int pps_gpio_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
if (of_get_property(np, "assert-falling-edge", NULL))
|
if (of_get_property(np, "assert-falling-edge", NULL))
|
||||||
data->assert_falling_edge = true;
|
data->assert_falling_edge = true;
|
||||||
|
|
||||||
|
if (of_get_property(np, "capture-clear", NULL))
|
||||||
|
data->capture_clear = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GPIO setup */
|
/* GPIO setup */
|
||||||
|
|||||||
Reference in New Issue
Block a user