mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
bb52f1c604
The current DT bindings for the rk3588 clock use a different ID than the one that is supposed to be written to the hardware registers. Thus, we cannot use directly the id provided in the phandle, but rather use a lookup table to correctly setup the hardware. This approach has been implemented already in Linux, by commit : f1c506d152ff ("clk: rockchip: add clock controller for the RK3588") Hence, implement a similar approach using the lookup table, and adapt the existing reset driver to work with SoCs using lookup table. The file rst-rk3588.c has been copied as much as possible from Linux. Adapt the clk rk3588 driver as well to bind the reset driver with the lookup table. Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Eugen Hristev <eugen.hristev@collabora.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 |