net: phy: microchip_t1: add lan87xx_config_rgmii_delay for lan87xx phy
authorYuiko Oshino <yuiko.oshino@microchip.com>
Mon, 1 Nov 2021 16:21:19 +0000 (12:21 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Nov 2021 00:16:27 +0000 (17:16 -0700)
commit26499499cae642a906e7d501ac5342ca148ea8b1
treed296a727b6a40636505ada9124ef07c06b640bb7
parentcc0356d6a02e064387c16a83cb96fe43ef33181e
net: phy: microchip_t1: add lan87xx_config_rgmii_delay for lan87xx phy

Add a function to initialize phy rgmii delay according to phydev->interface.

Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20211101162119.29275-1-yuiko.oshino@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/microchip_t1.c