]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95d3d5bafa45cfc05e0960d2135d8a15a7cb9d36
treef96d87ceceb297a717f6d62e66f910c3c53e86c5
parentc03bd9aaea260cd0d03e8810e2888f350dfc1bbe
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