net: phy: xilinx-gmii2rgmii: Adopt clock support
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>
Tue, 28 May 2024 06:20:08 +0000 (11:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2024 12:10:57 +0000 (13:10 +0100)
commitdaab0ac53e774f14ea78a1849358dbefb0d3efd2
tree399f80c74d888887b2599b7861f79f8bf98cfa1b
parentc1d96671088f03e7a685ce1fd3d745af85193141
net: phy: xilinx-gmii2rgmii: Adopt clock support

Add clock support to the gmii_to_rgmii IP.
Make clk optional to keep DTB backward compatibility.

Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/xilinx_gmii2rgmii.c