pinctrl: pinconf-generic: add "input-schmitt" DT property
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 30 Sep 2015 12:07:18 +0000 (21:07 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Oct 2015 22:09:11 +0000 (15:09 -0700)
PIN_CONFIG_INPUT_SCHMITT is defined in enum_pin_config_param,
but the corresponding DT property is missing.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf-generic.c

index a88a559..099a344 100644 (file)
@@ -163,6 +163,7 @@ static const struct pinconf_generic_params dt_params[] = {
        { "input-debounce", PIN_CONFIG_INPUT_DEBOUNCE, 0 },
        { "input-disable", PIN_CONFIG_INPUT_ENABLE, 0 },
        { "input-enable", PIN_CONFIG_INPUT_ENABLE, 1 },
+       { "input-schmitt", PIN_CONFIG_INPUT_SCHMITT, 0 },
        { "input-schmitt-disable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 0 },
        { "input-schmitt-enable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 1 },
        { "low-power-disable", PIN_CONFIG_LOW_POWER_MODE, 0 },