Skip to content
Commit 3ef64444 authored by Bin Meng's avatar Bin Meng Committed by Joe Hershberger
Browse files

dm: net: macb: Implement link speed change callback



At present the link speed change callback is a nop. According to
macb device tree bindings, an optional "tx_clk" is used to clock
the ethernet controller's TX_CLK under different link speed.

In 10/100 MII mode, transmit logic must be clocked from a free
running clock generated by the external PHY. In gigabit GMII mode,
the controller, not the external PHY, must generate the 125 MHz
transmit clock towards the PHY.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarLukas Auer <lukas.auer@aisec.fraunhofer.de>
Tested-by: default avatarLukas Auer <lukas.auer@aisec.fraunhofer.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent a5e3d235
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