u-boot/arch/arm
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
..
cpu ARM: armv7: add non-SPL enable for Cortex SMPEN 2023-05-13 04:01:30 +02:00
dts ARM: dts: rk3588-rock-5b-u-boot: add bootph-all to pinctrl for sdmmc 2023-05-17 17:36:18 +08:00
include reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
lib arm64: interrupts: print FAR_ELx on sync exceptions 2023-04-25 15:31:27 -04:00
mach-apple
mach-aspeed
mach-at91 global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
mach-bcm283x mmc: bcm2835-host: let firmware manage the clock divisor 2023-03-24 14:43:20 +00:00
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci global: Migrate CONFIG_MAX_RAM_BANK_SIZE to CFG 2022-12-23 10:14:51 -05:00
mach-exynos Correct SPL use of EXYNOS7420 2023-02-09 16:32:26 -05:00
mach-highbank
mach-histb arm: histb: hi3798mv200: add initial support for Hi3798MV200 HC2910-2AGHD05 board 2023-05-03 09:05:24 -04:00
mach-hpe arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-imx dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
mach-integrator
mach-ipq40xx
mach-k3 Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region 2023-05-04 13:06:22 -04:00
mach-keystone
mach-kirkwood arm: kirkwood: Move internal registers in arch_very_early_init() function 2023-03-24 13:11:47 +01:00
mach-lpc32xx
mach-mediatek arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-meson ARM: meson: switch AXG & GX dwc2 otg to DM 2023-01-20 16:21:31 +01:00
mach-mvebu drivers: fix debug string with fdt_addr_t input 2023-05-06 17:28:18 +08:00
mach-nexell arm: s5p4418: dm_serial: remove old code / add DEBUG_UART 2023-01-02 16:06:08 -05:00
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
mach-orion5x global: Migrate CONFIG_MAX_RAM_BANK_SIZE to CFG 2022-12-23 10:14:51 -05:00
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Add support for Renesas RZ/N1 SoC 2023-05-13 04:01:30 +02:00
mach-rockchip rockchip: handle peripheral as well as otg dr_mode 2023-05-09 22:50:01 +08:00
mach-s5pc1xx exynos: Rework legacy PWM usage 2022-12-23 10:07:03 -05:00
mach-snapdragon clocks: qcs404: Add support for I2C clocks 2023-02-13 10:01:52 -05:00
mach-socfpga Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
mach-sti
mach-stm32
mach-stm32mp arm: stm32mp: spl: fix function with fdt_addr_t input 2023-05-06 17:28:18 +08:00
mach-sunxi sunxi: arm64: boot0.h: runtime check for RVBAR address 2023-04-12 00:17:22 +01:00
mach-tegra ARM: tegra20: implement BCT patching 2023-02-23 12:55:37 -07:00
mach-u8500
mach-uniphier arm: uniphier: use DM_TIMER of arm a9 global timer 2023-01-02 16:01:39 -05:00
mach-versal xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versal-net xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versatile
mach-zynq
mach-zynqmp arm64: zynqmp: Fix issue of apps executing from R5 core 1 2023-05-15 09:33:57 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk arm: Centralize fixed register logic 2023-04-25 15:31:27 -04:00
Kconfig arm: add support for Hisilicon HiSTB family SoCs 2023-05-03 09:05:24 -04:00
Kconfig.debug
Makefile arm: add support for Hisilicon HiSTB family SoCs 2023-05-03 09:05:24 -04:00