aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
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 /drivers/pinctrl
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 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinconf-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 794dad7d68d8..2b271d5d90bf 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -49,7 +49,7 @@ static struct pin_config_item conf_items[] = {
49 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA"), 49 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA"),
50 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT_ENABLE, "input schmitt enabled", NULL), 50 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT_ENABLE, "input schmitt enabled", NULL),
51 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL), 51 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL),
52 PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "time units"), 52 PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "usec"),
53 PCONFDUMP(PIN_CONFIG_POWER_SOURCE, "pin power source", "selector"), 53 PCONFDUMP(PIN_CONFIG_POWER_SOURCE, "pin power source", "selector"),
54 PCONFDUMP(PIN_CONFIG_SLEW_RATE, "slew rate", NULL), 54 PCONFDUMP(PIN_CONFIG_SLEW_RATE, "slew rate", NULL),
55 PCONFDUMP(PIN_CONFIG_LOW_POWER_MODE, "pin low power", "mode"), 55 PCONFDUMP(PIN_CONFIG_LOW_POWER_MODE, "pin low power", "mode"),