Loading arch/arm/boot/dts/overlays/README +4 −1 Original line number Diff line number Diff line Loading @@ -1287,7 +1287,10 @@ Info: Configures the pps-gpio (pulse-per-second time signal via GPIO). Load: dtoverlay=pps-gpio,<param>=<val> Params: gpiopin Input GPIO (default "18") assert_falling_edge When present, assert is indicated by a falling edge, rather than by a rising edge edge, rather than by a rising edge (default off) capture_clear Generate clear events on the trailing edge (default off) Name: pwm Loading arch/arm/boot/dts/overlays/pps-gpio-overlay.dts +1 −0 Original line number Diff line number Diff line Loading @@ -33,5 +33,6 @@ <&pps_pins>,"brcm,pins:0", <&pps_pins>,"reg:0"; assert_falling_edge = <&pps>,"assert-falling-edge?"; capture_clear = <&pps>,"capture-clear?"; }; }; drivers/pps/clients/pps-gpio.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading
arch/arm/boot/dts/overlays/README +4 −1 Original line number Diff line number Diff line Loading @@ -1287,7 +1287,10 @@ Info: Configures the pps-gpio (pulse-per-second time signal via GPIO). Load: dtoverlay=pps-gpio,<param>=<val> Params: gpiopin Input GPIO (default "18") assert_falling_edge When present, assert is indicated by a falling edge, rather than by a rising edge edge, rather than by a rising edge (default off) capture_clear Generate clear events on the trailing edge (default off) Name: pwm Loading
arch/arm/boot/dts/overlays/pps-gpio-overlay.dts +1 −0 Original line number Diff line number Diff line Loading @@ -33,5 +33,6 @@ <&pps_pins>,"brcm,pins:0", <&pps_pins>,"reg:0"; assert_falling_edge = <&pps>,"assert-falling-edge?"; capture_clear = <&pps>,"capture-clear?"; }; };
drivers/pps/clients/pps-gpio.c +3 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading