]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ethernet: stmmac: dwmac-rk: Make the clk_phy could be used for external phy
authorChaoyi Chen <chaoyi.chen@rock-chips.com>
Fri, 15 Aug 2025 02:35:15 +0000 (10:35 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Aug 2025 13:57:28 +0000 (15:57 +0200)
commitda114122b83149d1f1db0586b1d67947b651aa20
tree6833ea5db17e2df30624fe1b699527682b19864b
parent0283b8f134e499a51bb972403eb47cda6b960f7c
net: ethernet: stmmac: dwmac-rk: Make the clk_phy could be used for external phy

For external phy, clk_phy should be optional, and some external phy
need the clock input from clk_phy. This patch adds support for setting
clk_phy for external phy.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Link: https://patch.msgid.link/20250815023515.114-1-kernel@airkyi.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c