diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2016-10-28 03:54:10 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-10-31 04:16:46 -0400 |
commit | 96bb12deadac74ad1053d6bb704aaa33417b85a6 (patch) | |
tree | e35e6f3b5a8419de01e38db4668f9d431baa1cc7 /Documentation | |
parent | e11dee2e98f8abc99ad5336796576a827853ccfa (diff) |
pinctrl: at91: add support for OUTPUT config
Add support for pin output control through the pinctrl config:
- support enabling/disabling output on a given pin
- support output level setting (high or low)
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt index b7a93e80a302..9a8a45d9d8ab 100644 --- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | |||
@@ -98,6 +98,8 @@ DRIVE_STRENGTH (3 << 5): indicate the drive strength of the pin using the | |||
98 | 01 - Low | 98 | 01 - Low |
99 | 10 - Medium | 99 | 10 - Medium |
100 | 11 - High | 100 | 11 - High |
101 | OUTPUT (1 << 7): indicate this pin need to be configured as an output. | ||
102 | OUTPUT_VAL (1 << 8): output val (1 = high, 0 = low) | ||
101 | DEBOUNCE (1 << 16): indicate this pin needs debounce. | 103 | DEBOUNCE (1 << 16): indicate this pin needs debounce. |
102 | DEBOUNCE_VAL (0x3fff << 17): debounce value. | 104 | DEBOUNCE_VAL (0x3fff << 17): debounce value. |
103 | 105 | ||