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
<&pps_pins>,"brcm,pins:0",
<&pps_pins>,"reg:0";
assert_falling_edge = <&pps>,"assert-falling-edge?";
+ capture_clear = <&pps>,"capture-clear?";
};
};
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 */