diff options
author | Sherman Yin <syin@broadcom.com> | 2013-12-11 10:37:17 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-16 10:55:03 +0100 |
commit | 8ba3f4d00078e7a49c60c0bd6298f29402c3a0a0 (patch) | |
tree | d4c5a00b8d5835506ff811620a5ae793e10a200a /include/linux/pinctrl | |
parent | b31d100e9225d013b7b9b4162a2bd3c6724954bd (diff) | |
download | linux-stable-8ba3f4d00078e7a49c60c0bd6298f29402c3a0a0.tar.gz linux-stable-8ba3f4d00078e7a49c60c0bd6298f29402c3a0a0.tar.bz2 linux-stable-8ba3f4d00078e7a49c60c0bd6298f29402c3a0a0.zip |
pinctrl: Adds slew-rate, input-enable/disable
This commit adds slew-rate and input-enable/disable support for pinconf
-generic.
Signed-off-by: Sherman Yin <syin@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl')
-rw-r--r-- | include/linux/pinctrl/pinconf-generic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h index 282309d7c4dc..a15f10727eb8 100644 --- a/include/linux/pinctrl/pinconf-generic.h +++ b/include/linux/pinctrl/pinconf-generic.h @@ -61,6 +61,9 @@ * argument is ignored. * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current * passed as argument. The argument is in mA. + * @PIN_CONFIG_INPUT_ENABLE: enable the pin's input. Note that this does not + * affect the pin's ability to drive output. 1 enables input, 0 disables + * input. * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin. * If the argument != 0, schmitt-trigger mode is enabled. If it's 0, * schmitt-trigger mode is disabled. @@ -101,6 +104,7 @@ enum pin_config_param { PIN_CONFIG_DRIVE_OPEN_DRAIN, PIN_CONFIG_DRIVE_OPEN_SOURCE, PIN_CONFIG_DRIVE_STRENGTH, + PIN_CONFIG_INPUT_ENABLE, PIN_CONFIG_INPUT_SCHMITT_ENABLE, PIN_CONFIG_INPUT_SCHMITT, PIN_CONFIG_INPUT_DEBOUNCE, |