net: cpsw: Add support to drive gpios for ethernet to be functional
authorVignesh R <vigneshr@ti.com>
Tue, 2 Aug 2016 04:44:27 +0000 (10:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Aug 2016 17:32:54 +0000 (13:32 -0400)
commit2e205ef7eb9e7793e922d0b6cd0fe4181309c058
tree8e7d0037527602e72feb703fd028b4b9f9d98cfa
parent06974ea0e3357823d38da0e18921c5ed5fe6d510
net: cpsw: Add support to drive gpios for ethernet to be functional

On DRA72 EVM, cpsw slaves may be muxed with other modules. This
selection is controlled by a pcf gpio line. Add support for cpsw driver
to acquire mode-gpios and select the appropriate slave using gpio APIs.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/cpsw.c