aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pinctrl/pinconf-generic.h
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-06-25 08:56:11 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-25 09:34:44 -0400
commit256aeb648741bf095e884793862d3dfa6b1c1fb5 (patch)
tree46ab2935a1eb06a9974422c8fa3e2002982b99ee /include/linux/pinctrl/pinconf-generic.h
parent70637a6dcaa6e4cb707d0d50a7ea448f13438786 (diff)
pinctrl: set unit for debounce time pinconfig to usec
Currently the debounce time pinconfig option uses an unspecified "time units" unit. As pinconfig options should use SI units and a real unit is also necessary for generic dt bindings, change it to usec. Currently no driver is using the generic pinconfig option for this, so the unit change is safe to do. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl/pinconf-generic.h')
-rw-r--r--include/linux/pinctrl/pinconf-generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h
index 48aa4ba7b089..bf7e989abcb5 100644
--- a/include/linux/pinctrl/pinconf-generic.h
+++ b/include/linux/pinctrl/pinconf-generic.h
@@ -70,7 +70,7 @@
70 * setting pins to this mode. 70 * setting pins to this mode.
71 * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode, 71 * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode,
72 * which means it will wait for signals to settle when reading inputs. The 72 * which means it will wait for signals to settle when reading inputs. The
73 * argument gives the debounce time on a custom format. Setting the 73 * argument gives the debounce time in usecs. Setting the
74 * argument to zero turns debouncing off. 74 * argument to zero turns debouncing off.
75 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power 75 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power
76 * supplies, the argument to this parameter (on a custom format) tells 76 * supplies, the argument to this parameter (on a custom format) tells