mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
716ed2a8c0
The CRU is being probed with a default set of assigned clocks, which are not implemented in the driver at all. Hence, when clk_set_defaults is called, it fails with ENOENT. This would not be a problem, as the CRU still handles all the required clocks, and the assigned clocks are default configs which are preprogrammed or not required for Uboot operations. However, the rockchip reset driver is being bound by the same DT node as CRU, as the reset driver has no DT node. But, when probing the reset node, it will call again the clk_set_defaults for the CRU node, and failing because of missing those specific clocks in the rk3588 clock driver. To avoid this, simply implement a basic set/get that will just return success and the default corresponding rate for the required assigned clocks. As those clocks were not supported in Uboot, not required for Uboot operations, there is no need to do any different kind of initialization. Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> |
||
---|---|---|
.. | ||
clk_pll.c | ||
clk_px30.c | ||
clk_rk322x.c | ||
clk_rk3036.c | ||
clk_rk3066.c | ||
clk_rk3128.c | ||
clk_rk3188.c | ||
clk_rk3288.c | ||
clk_rk3308.c | ||
clk_rk3328.c | ||
clk_rk3368.c | ||
clk_rk3399.c | ||
clk_rk3568.c | ||
clk_rk3588.c | ||
clk_rv1108.c | ||
clk_rv1126.c | ||
Makefile |