]> git.baikalelectronics.ru Git - uboot.git/commit
net: fec_mxc: Add ref clock setup support for i.MX8M Mini/Nano/Plus
authorMarek Vasut <marex@denx.de>
Mon, 6 Mar 2023 14:53:50 +0000 (15:53 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 11:47:04 +0000 (13:47 +0200)
commitd4ca03b1bc649a4449493be607197e152eadba81
tree4581b5694ef7fbbc360947d505e7087e9ee114b1
parent955cf2d426aa4c29a1c61d1ec6827f461a08a786
net: fec_mxc: Add ref clock setup support for i.MX8M Mini/Nano/Plus

The FEC ref clock frequency on i.MX8M Mini/Nano/Plus was so far configured
via ad-hoc board code. Replace that with DM clock clk_set_rate() instead.
This way, the driver claims all its required clock and sets the ref clock
rate, without any need of architecture specific register fiddling.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/net/fec_mxc.c