]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: clk: add watchdog clock to px30_clk_enable
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 14 Nov 2022 10:33:46 +0000 (11:33 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 16 Jan 2023 10:01:10 +0000 (18:01 +0800)
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>
drivers/clk/rockchip/clk_px30.c

index 5d467447a175ff69c2d2aee0bab3479092065ea9..33a7348b9fc92d546d53177eceb046cf91a60710 100644 (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);