u-boot/arch
Jonas Karlman 6737771600 rockchip: rk3588: Add support for sdmmc clocks in SPL
Booting from sdmmc on RK3588 currently works because of a workaround in
the device tree, clocks are reordered so that the driver use ciu-sample
instead of ciu, and the BootRom initializes sdmmc clocks before SPL is
loaded into DRAM.

The sdmmc clocks are normally controlled by TF-A using SCMI. However,
there is a need to control these clocks in SPL, before TF-A has started.

This adds a rk3588_scru driver to control the sdmmc clocks in SPL before
TF-A has started, using scru regs. It also adds a small glue driver to
bind the scmi clock node to the rk3588_scru driver in SPL.

Fixes: 7a474df740 ("clk: rockchip: Add rk3588 clk support")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-04-21 15:16:01 +08:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm rockchip: rk3588: Add support for sdmmc clocks in SPL 2023-04-21 15:16:01 +08:00
m68k arch: m68k: Add QEMU specific RAMBAR workaround 2023-04-15 21:36:07 +02:00
microblaze microblaze: drop remnants of manual reloc 2023-03-13 11:46:17 +01:00
mips dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
nios2 dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
powerpc mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related 2023-03-29 13:30:29 -04:00
riscv riscv: semihosting: replace inline assembly with assembly file 2023-03-06 19:24:34 -05:00
sandbox sandbox: video: Fix building without SDL 2023-04-07 17:43:36 +02:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 Merge branch 'master' into next 2023-03-27 15:19:57 -04:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig arch: enable private libgcc for m68k 2023-03-15 01:38:19 +01:00
Kconfig.nxp nxp: Finish migration of SYS_FSL_SRDS_[12] to Kconfig 2023-01-20 12:27:23 -05:00
u-boot-elf.lds