]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit6212797fddef9d9322b5c27a9d846133166a1d15
treeebc8cde4973ae849ed364a0ffccc325c88c1ce37
parent694c25c7058a96c4aca25ef1696988ecc34ab3eb
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