diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2013-11-25 09:43:37 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-03 04:08:46 -0500 |
| commit | e9c9489f1077880cb8332f3e1600bf8edba3e86a (patch) | |
| tree | d470a662b2f8307fd36c2dcab6d7dbbb19c7c93f /include/linux/pinctrl | |
| parent | b4a87c9b966f71922e54a336e90b485a5fba19b8 (diff) | |
pinctrl: provide documentation pointer
The PIN_CONFIG_OUTPUT parameter is really tricky to understand
and needs an explicit pointer to the documentation.
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h index fb90ef5eb038..282309d7c4dc 100644 --- a/include/linux/pinctrl/pinconf-generic.h +++ b/include/linux/pinctrl/pinconf-generic.h | |||
| @@ -82,8 +82,10 @@ | |||
| 82 | * operation, if several modes of operation are supported these can be | 82 | * operation, if several modes of operation are supported these can be |
| 83 | * passed in the argument on a custom form, else just use argument 1 | 83 | * passed in the argument on a custom form, else just use argument 1 |
| 84 | * to indicate low power mode, argument 0 turns low power mode off. | 84 | * to indicate low power mode, argument 0 turns low power mode off. |
| 85 | * @PIN_CONFIG_OUTPUT: this will configure the pin in output, use argument | 85 | * @PIN_CONFIG_OUTPUT: this will configure the pin as an output. Use argument |
| 86 | * 1 to indicate high level, argument 0 to indicate low level. | 86 | * 1 to indicate high level, argument 0 to indicate low level. (Please |
| 87 | * see Documentation/pinctrl.txt, section "GPIO mode pitfalls" for a | ||
| 88 | * discussion around this parameter.) | ||
| 87 | * @PIN_CONFIG_END: this is the last enumerator for pin configurations, if | 89 | * @PIN_CONFIG_END: this is the last enumerator for pin configurations, if |
| 88 | * you need to pass in custom configurations to the pin controller, use | 90 | * you need to pass in custom configurations to the pin controller, use |
| 89 | * PIN_CONFIG_END+1 as the base offset. | 91 | * PIN_CONFIG_END+1 as the base offset. |
