rockchip: clk: add watchdog clock to px30_clk_enable

Add the PCLK_WDT_NS clock to px30_clk_enable so that the watchdog driver
can probe since it wants to enable this clock.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Quentin Schulz 2022-11-14 11:33:46 +01:00 committed by Kever Yang
parent 4b56446002
commit 23b71addf9

View File

@ -1415,6 +1415,9 @@ static int px30_clk_enable(struct clk *clk)
case SCLK_GMAC_RMII:
/* Required to successfully probe the Designware GMAC driver */
return 0;
case PCLK_WDT_NS:
/* Required to successfully probe the Designware watchdog driver */
return 0;
}
debug("%s: unsupported clk %ld\n", __func__, clk->id);