From: hdoverobinson Date: Tue, 13 Mar 2018 10:58:39 +0000 (-0400) Subject: added capture_clear option to pps-gpio via dtoverlay (#2433) X-Git-Tag: accepted/tizen/unified/20210330.111217~783 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bda5bf289b589a23af4b1e2efefe8a72bacdaa8;p=platform%2Fkernel%2Flinux-rpi.git added capture_clear option to pps-gpio via dtoverlay (#2433) --- diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpio.c index e0de1df..ee7d8f4 100644 --- a/drivers/pps/clients/pps-gpio.c +++ b/drivers/pps/clients/pps-gpio.c @@ -145,6 +145,8 @@ static int pps_gpio_setup(struct platform_device *pdev) if (of_property_read_bool(np, "assert-falling-edge")) data->assert_falling_edge = true; + if (of_property_read_bool(np, "capture-clear")) + data->capture_clear = true; return 0; }