Commit 1ae963143e34edaa14ab8855e0b0018c4fc77a83
Committed by
Linus Walleij
1 parent
71fde00095
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
gpio: Document device_node's det_debounce
This patch adds documentation for set_debounce in struct device_node. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
include/asm-generic/gpio.h
... | ... | @@ -60,6 +60,8 @@ |
60 | 60 | * @get: returns value for signal "offset"; for output signals this |
61 | 61 | * returns either the value actually sensed, or zero |
62 | 62 | * @direction_output: configures signal "offset" as output, or returns error |
63 | + * @set_debounce: optional hook for setting debounce time for specified gpio in | |
64 | + * interrupt triggered gpio chips | |
63 | 65 | * @set: assigns output value for signal "offset" |
64 | 66 | * @to_irq: optional hook supporting non-static gpio_to_irq() mappings; |
65 | 67 | * implementation may not sleep |