summaryrefslogtreecommitdiff
path: root/drivers/reset/Makefile
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2023-05-15 13:55:04 +0300
committerKever Yang <[email protected]>2023-05-17 17:36:18 +0800
commitbb52f1c604d09b0c378addfa5c75c82efc219b03 (patch)
treeaf0eb7040455d593aecce1fd8ce250afa45d868b /drivers/reset/Makefile
parent6891bdf711126425f33890ba23fb02ba84b9b698 (diff)
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 <[email protected]> Signed-off-by: Eugen Hristev <[email protected]>
Diffstat (limited to 'drivers/reset/Makefile')
-rw-r--r--drivers/reset/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile
index 68012681809..e2239a250a3 100644
--- a/drivers/reset/Makefile
+++ b/drivers/reset/Makefile
@@ -16,7 +16,7 @@ obj-$(CONFIG_RESET_BCM6345) += reset-bcm6345.o
obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o
obj-$(CONFIG_RESET_AST2500) += reset-ast2500.o
obj-$(CONFIG_RESET_AST2600) += reset-ast2600.o
-obj-$(CONFIG_RESET_ROCKCHIP) += reset-rockchip.o
+obj-$(CONFIG_RESET_ROCKCHIP) += reset-rockchip.o rst-rk3588.o
obj-$(CONFIG_RESET_MESON) += reset-meson.o
obj-$(CONFIG_RESET_SOCFPGA) += reset-socfpga.o
obj-$(CONFIG_RESET_MEDIATEK) += reset-mediatek.o