From: Quentin Schulz <[email protected]> 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 <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> --- 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 <[email protected]> To: Sean Anderson <[email protected]> To: Simon Glass <[email protected]> To: Philipp Tomsich <[email protected]> To: Kever Yang <[email protected]> Cc: [email protected] --- 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 <[email protected]>

