OSDN Git Service

net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy
authorFrank Sae <Frank.Sae@motor-comm.com>
Thu, 2 Feb 2023 03:00:35 +0000 (11:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2023 09:34:51 +0000 (09:34 +0000)
commita6e68f0f8769f79c67cdcfb6302feecd36197dec
tree5ec1700ef36fdbfb2b6c7230d2e15ade143f1cc7
parent4869a146cd60fc8115230f0a45e15e534c531922
net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy

Add dts support for Motorcomm yt8521 gigabit ethernet phy.
 Add ytphy_rgmii_clk_delay_config function to support dst config for
 the delay of rgmii clk. This funciont is common for yt8521, yt8531s
 and yt8531.
 This patch has been verified on AM335x platform.

Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/motorcomm.c