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

Add dts support for Motorcomm yt8531s gigabit ethernet phy.
 Change yt8521_probe to support clk config of yt8531s. Becase
 yt8521_probe does the things which yt8531s is needed, so
 removed yt8531s function.
 This patch has been verified on AM335x platform with yt8531s board.

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