]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: rockchip: rk3568: Add dummy support for GMAC speed clocks
authorJonas Karlman <jonas@kwiboo.se>
Fri, 4 Aug 2023 09:34:00 +0000 (09:34 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 12 Aug 2023 02:35:35 +0000 (10:35 +0800)
commit9296f9a8d7ffc96b8a8220a0e74c7dacb1934b2e
tree72f5913890a5c7f2fe780e0221c517ddf35a9183
parentff46cd56318015133e92140b31083eab68e701f7
clk: rockchip: rk3568: Add dummy support for GMAC speed clocks

Pine64 Quartz64 boards DT reference SCLK_GMAC1_RGMII_SPEED in the
assigned-clocks property of the gmac1 node. This result in a ENOENT
error when driver core tries to set a parent for this clock.

The clock speed in rgmii/rmii mode is changed using clk_set_rate of the
tx_rx clock and not using clk_set_parent of the speed clock.

Add dummy support for SCLK_GMAC1_RGMII_SPEED and similar clocks to clk
driver to allow a driver for gmac node to probe.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_rk3568.c