stmmac: dwmac-mediatek: add platform level clocks management
authorBiao Huang <biao.huang@mediatek.com>
Mon, 14 Mar 2022 07:57:07 +0000 (15:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2022 12:49:22 +0000 (12:49 +0000)
commit3186bdad97d5f4f4e3b333bb50f9c4b8f51acca6
tree108c9938029ba8edfc26f79bb452b198794ce0a4
parent79b0410841d4407a361d4d6a602267dba5a3eba9
stmmac: dwmac-mediatek: add platform level clocks management

This patch implements clks_config callback for dwmac-mediatek platform,
which could support platform level clocks management.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c