]> git.baikalelectronics.ru Git - uboot.git/commit
clk: renesas: Always select DM_RESET to prevent inobvious failure of rst_gen3 subdriver
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 21:16:02 +0000 (22:16 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 10 Mar 2023 16:46:09 +0000 (17:46 +0100)
commit21c9e61c3b79b43877dd003b08ae85c0392102f6
treebc5bfcb92e219b48261604d862cfa8136e9bec8d
parenteaabd3abd07423db4f2d59ba9658ed80c40ddd33
clk: renesas: Always select DM_RESET to prevent inobvious failure of rst_gen3 subdriver

The CLK_RCAR_GEN3 registers two subdrivers, clk_gen3 and rst_gen3.
The former depends on the clock framework, which is always enabled
in this context of clock framework driver, while the later depends
on reset framework which may not always be enabled.

Ensure the reset framework is also always enabled to prevent inobvious
early boot time bind failure of the CPG driver, which leads to system
showing no activity and is difficult to debug.

Note that one possible approach to debug this is to use CONFIG_DEBUG_UART
and add debug printascii()s into the drivers/clk/renesas/clk-rcar-gen3.c .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/clk/renesas/Kconfig