pinctrl: at91: add support for OUTPUT config
authorBoris BREZILLON <b.brezillon@overkiz.com>
Fri, 28 Oct 2016 07:54:10 +0000 (15:54 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 31 Oct 2016 08:16:46 +0000 (09:16 +0100)
commit96bb12deadac74ad1053d6bb704aaa33417b85a6
treee35e6f3b5a8419de01e38db4668f9d431baa1cc7
parente11dee2e98f8abc99ad5336796576a827853ccfa
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>
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt
drivers/pinctrl/pinctrl-at91.c
include/dt-bindings/pinctrl/at91.h