net: netcp: ethss: use of_get_phy_mode() to support different RGMII modes
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 17 Apr 2018 21:30:38 +0000 (17:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:00:57 +0000 (21:00 -0400)
commit7b647b93b359d590094e0787fc86a6a9d57b25f7
treef96d87ceceb297a717f6d62e66f910c3c53e86c5
parentdc07ec97368f064102a78bddbfba4574ed7cb73d
net: netcp: ethss: use of_get_phy_mode() to support different RGMII modes

The phy used for K2G allows for internal delays to be added optionally
to the clock circuitry based on board desing. To add this support,
enhance the driver to use of_get_phy_mode() to read the phy-mode from
the phy device and pass the same to phy through of_phy_connect().

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c