u-boot/arch
Eugen Hristev bb52f1c604 reset: rockchip: implement rk3588 lookup table
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>
2023-05-17 17:36:18 +08:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +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: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc Merge branch 'for-2023.07-2' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-05-07 09:44:27 -04:00
riscv dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
sandbox drivers: core: ofnode: fix typo in panel timing decode 2023-05-15 17:14:46 -04:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 x86: samus: Don't include audio and SATA in TPL 2023-05-11 10:25:29 +08:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08: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