mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
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:
parent
4b56446002
commit
23b71addf9
@ -1415,6 +1415,9 @@ static int px30_clk_enable(struct clk *clk)
|
|||||||
case SCLK_GMAC_RMII:
|
case SCLK_GMAC_RMII:
|
||||||
/* Required to successfully probe the Designware GMAC driver */
|
/* Required to successfully probe the Designware GMAC driver */
|
||||||
return 0;
|
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);
|
debug("%s: unsupported clk %ld\n", __func__, clk->id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user