From: James Hogan Date: Fri, 24 May 2013 16:21:11 +0000 (+0100) Subject: pinconf-generic: add drive strength to debugfs output X-Git-Tag: firefly_0821_release~6474 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d8bcadc119f7d90c690694bfd9a0976d766db03;p=firefly-linux-kernel-4.4.55.git pinconf-generic: add drive strength to debugfs output Add the drive strength pinconf to debugfs output (with the unit "mA"). Signed-off-by: James Hogan Cc: Linus Walleij Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index d6479631fae8..c65291c6aa6b 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -43,6 +43,7 @@ static struct pin_config_item conf_items[] = { PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL), PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL), PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL), + PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA"), PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT_ENABLE, "input schmitt enabled", NULL), PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL), PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "time units"),