u-boot/drivers/reset
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
..
Kconfig reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC 2023-04-20 16:08:44 +08:00
Makefile reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
reset-ast2500.c reset/aspeed: Implement status callback 2022-07-06 14:30:51 -04:00
reset-ast2600.c reset/aspeed: Implement status callback 2022-07-06 14:30:51 -04:00
reset-at91.c reset: at91: Add reset driver for basic assert/deassert operations 2023-01-05 10:06:35 +02:00
reset-bcm6345.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-dra7.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-hisilicon.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-hsdk.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-imx7.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-jh7110.c reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC 2023-04-20 16:08:44 +08:00
reset-mediatek.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-meson.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-mtmips.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-qcom.c reset: qcom: Add support for QCS404 SoC reset table 2022-08-26 10:55:45 -04:00
reset-raspberrypi.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-rockchip.c reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
reset-scmi.c reset: scmi: support SCMI multi-channel 2022-06-23 13:12:55 -04:00
reset-sifive.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-socfpga.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-sunxi.c reset: sunxi: Reuse the platform data from the clock driver 2022-07-18 09:37:50 +01:00
reset-syscon.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-ti-sci.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-uclass.c reset: Allow reset_get_by_name() with NULL name 2023-02-12 13:44:20 -05:00
reset-uniphier.c reset: uniphier: Add USB glue reset support 2023-02-22 19:40:11 +01:00
reset-zynqmp.c reset: zynqmp: Enable reset driver for Versal NET 2022-09-26 14:23:29 +02:00
rst-rk3588.c reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
sandbox-reset-test.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox-reset.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sti-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
stm32-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
tegra186-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
tegra-car-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00