]> www.infradead.org Git - users/willy/linux.git/commit
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>
Tue, 4 Dec 2018 09:25:27 +0000 (14:55 +0530)
commit786385dc29896154c5769f4262a1947d2d39a0c5
treea1b965891b0d80883e165202b8ec049ca6c67d30
parentd15fc0fca5de0a67b4c30006aaf0acf4933fdb9c
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