summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/gpio.h
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-09-25 09:56:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-09-30 10:27:01 +0200
commit1ae963143e34edaa14ab8855e0b0018c4fc77a83 (patch)
treeb6328dcfdb8db411429ec51f91dc88ede110ade0 /include/asm-generic/gpio.h
parent71fde00095dc25f74a2e7ba013747348ae6883cd (diff)
downloadop-kernel-dev-1ae963143e34edaa14ab8855e0b0018c4fc77a83.zip
op-kernel-dev-1ae963143e34edaa14ab8855e0b0018c4fc77a83.tar.gz
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>
Diffstat (limited to 'include/asm-generic/gpio.h')
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 365ea09..a9432fc 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -60,6 +60,8 @@ struct device_node;
* @get: returns value for signal "offset"; for output signals this
* returns either the value actually sensed, or zero
* @direction_output: configures signal "offset" as output, or returns error
+ * @set_debounce: optional hook for setting debounce time for specified gpio in
+ * interrupt triggered gpio chips
* @set: assigns output value for signal "offset"
* @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
* implementation may not sleep
OpenPOWER on IntegriCloud