pinctrl: armada-37xx: Add gpio support
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 17 May 2017 15:05:25 +0000 (17:05 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 May 2017 05:33:50 +0000 (07:33 +0200)
commitd2d92bd71cfc78802e7af7585a3ef0f57bd99b24
treeebc8cde4973ae849ed364a0ffccc325c88c1ce37
parent0871806629b595429695b78ad053d279afbaea95
pinctrl: armada-37xx: Add gpio support

GPIO management is pretty simple and is part of the same IP than the pin
controller for the Armada 37xx SoCs.  This patch adds the GPIO support to
the pinctrl-armada-37xx.c file, it also allows sharing common functions
between the gpio and the pinctrl drivers.

Ported to U-Boot based on the Linux version by Stefan Roese.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Konstantin Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c