From: Quentin Schulz <quentin.sch...@theobroma-systems.com> 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+ub...@0leil.net> Signed-off-by: Quentin Schulz <quentin.sch...@theobroma-systems.com> --- rockchip: clk: add watchdog clock to px30_clk_enable This is required for px30 to be able to probe the Designware watchdog device. To: Lukasz Majewski <lu...@denx.de> To: Sean Anderson <sean...@gmail.com> To: Simon Glass <s...@chromium.org> To: Philipp Tomsich <philipp.toms...@vrull.eu> To: Kever Yang <kever.y...@rock-chips.com> Cc: u-boot@lists.denx.de --- drivers/clk/rockchip/clk_px30.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/rockchip/clk_px30.c b/drivers/clk/rockchip/clk_px30.c index 5d467447a1..38cb90e512 100644 --- a/drivers/clk/rockchip/clk_px30.c +++ b/drivers/clk/rockchip/clk_px30.c @@ -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); --- base-commit: 0cbeed4f6648e0e4966475e3544280a69ecb59d3 change-id: 20221114-px30-wdt-clk-58c875b33d37 Best regards, -- Quentin Schulz <quentin.sch...@theobroma-systems.com>