pinctrl: pinctrl-imx7ulp: add gpio_set_direction support
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 25 Jul 2017 13:41:56 +0000 (21:41 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:01 +0000 (15:01 +0200)
commit26d1f4382225dfdcafd5d63d06531a90cba47c0f
tree1c10aaab0736e7e821d7f739209f4189cf45cb9b
parent3be6f65102a859d0a4b1b6448df8f4214f3d45ae
pinctrl: pinctrl-imx7ulp: add gpio_set_direction support

Add gpio_set_direction support. This makes the driver support
GPIO input/output dynamically change from userspace.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Fugang Duan <fugang.duan@nxp.com>
Cc: Bai Ping <ping.bai@nxp.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx7ulp.c