u-boot/drivers/clk/rockchip
Sean Anderson 6e33eba59f clk: Allow force setting clock defaults before relocation
Since 291da96b8e ("clk: Allow clock defaults to be set during re-reloc
state for SPL only") it has been impossible to set clock defaults before
relocation. This is annoying on boards without SPL, since there is no way
to set clock defaults before U-Boot proper. In particular, the aisram rate
must be changed before relocation on the K210, since U-Boot will hang if we
try and change the rate while we are using aisram.

To get around this, extend the stage parameter to allow force setting
defaults, even if they would be otherwise postponed for later. A device
tree property was decided against because of the concerns in the original
commit thread about the overhead of repeatedly parsing the device tree.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-06-17 09:40:57 +08:00
..
clk_pll.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clk_px30.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_rk322x.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3036.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3128.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3188.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3288.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_rk3308.c clk: Allow force setting clock defaults before relocation 2021-06-17 09:40:57 +08:00
clk_rk3328.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3368.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3399.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_rv1108.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile rockchip: clk: Add clk driver for rk3308 2019-11-17 17:22:53 +08:00