net: mvpp2x: Add GPIO configuration support
authorStefan Chulski <stefanc@marvell.com>
Wed, 9 Aug 2017 07:37:43 +0000 (10:37 +0300)
committerStefan Roese <sr@denx.de>
Thu, 10 Aug 2017 06:33:02 +0000 (08:33 +0200)
commit4189373a3d7e3604f4b3991cdbfd0ea4c23a3002
tree261dadbbaf8eb8a6691805f1d4727db6073bcf3e
parentd529124fdcf941c34074fd1ce600f4b1b4a7dd07
net: mvpp2x: Add GPIO configuration support

This patch add GPIO configuration support in mvpp2x driver.
Driver will handle 10G SFP gpio reset and SFP TX disable. GPIO pins should
be set in device tree.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/net/mvpp2.c