Skip to content
Commit 15845608 authored by Marek Vasut's avatar Marek Vasut Committed by Stefano Babic
Browse files

net: dwc_eth_qos: Add DM CLK support for i.MX8M Plus



The DWMAC clock in i.MX8M Plus were so far configured via ad-hoc
architecture code. Replace that with DM clock instead. This way,
the driver claims all its required clock, enables and disables
them, and even gets the CSR clock rate and sets the TX clock rate,
without any need of architecture specific register fiddling. Drop
the architecture specific code while at it too.

The adjustment here is modeled after STM32MP15xx clock handling
in this driver.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent a79de080
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment