net: ethernet: ti: cpsw: add support for port interface mode selection phy
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 26 Nov 2018 00:15:25 +0000 (18:15 -0600)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:42 +0000 (10:01 +0530)
commit3ff18849eb658b16ff4a22da9360bba5dc68a2d2
treedf62a5c0896247b81452b85e94b5cdada9fe8a4f
parentad57b78579ab477d105b3349dad73af8633fe49a
net: ethernet: ti: cpsw: add support for port interface mode selection phy

Add support for port interface mode selection phy (phy-gmii-sel):
- try to request interface mode selection phy from Port DT node and fail
silently if not defined and old CONFIG_TI_CPSW_PHY_SEL driver enabled.
- use new phy if requested successfully.

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/net/ethernet/ti/cpsw.c