mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
added capture_clear option to pps-gpio via dtoverlay (#2433)
This commit is contained in:
committed by
popcornmix
parent
13e96e76ad
commit
0bda5bf289
@@ -145,6 +145,8 @@ static int pps_gpio_setup(struct platform_device *pdev)
|
|||||||
|
|
||||||
if (of_property_read_bool(np, "assert-falling-edge"))
|
if (of_property_read_bool(np, "assert-falling-edge"))
|
||||||
data->assert_falling_edge = true;
|
data->assert_falling_edge = true;
|
||||||
|
if (of_property_read_bool(np, "capture-clear"))
|
||||||
|
data->capture_clear = true;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user