diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-01-26 23:02:03 +0300 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2023-02-02 03:49:20 +0300 |
commit | 326e05c5e21752f23f1f6090d4c546867211b823 (patch) | |
tree | bdb7fe427bce70fab0f1dd08b0c4a03241204dea /arch | |
parent | d1c886f563f44c920332da5f78105d0be73804b5 (diff) | |
download | u-boot-326e05c5e21752f23f1f6090d4c546867211b823.tar.xz |
clk: renesas: Add and enable CPG reset driver
Add trivial reset driver extension to the CPG clock driver. The change
turns current CPG UCLASS_CLK driver instance into an UCLASS_NOP proxy
driver, which in turn binds both generic rcar3_clk UCLASS_CLK clock
driver as well as generic rcar_rst UCLASS_RESET reset driver to the
CPG DT node. This way, any other drivers which use the 'reset' DT
property can now obtain valid reset handle backed by a reset driver.
The clock tables have been updated to represent the CPG driver and only
implement the generic CPG proxy driver bind call, which binds the clock
and reset drivers.
The DM_RESET is now enabled for all R-Car Gen3 platforms.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-rmobile/Kconfig.64 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 index bf12b21ecf..8e617e5824 100644 --- a/arch/arm/mach-rmobile/Kconfig.64 +++ b/arch/arm/mach-rmobile/Kconfig.64 @@ -201,4 +201,7 @@ config MULTI_DTB_FIT_USER_DEF_ADDR config SYS_MALLOC_F_LEN default 0x8000 if RCAR_GEN3 +config DM_RESET + default y if RCAR_GEN3 + endif |