]> www.infradead.org Git - users/hch/misc.git/commitdiff
clk: ti: am33xx: keep WKUP_DEBUGSS_CLKCTRL enabled
authorMatthias Schiffer <matthias.schiffer@tq-group.com>
Mon, 25 Aug 2025 14:08:11 +0000 (16:08 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 20 Sep 2025 05:27:48 +0000 (22:27 -0700)
As described in AM335x Errata Advisory 1.0.42, WKUP_DEBUGSS_CLKCTRL
can't be disabled - the clock module will just be stuck in transitioning
state forever, resulting in the following warning message after the wait
loop times out:

    l3-aon-clkctrl:0000:0: failed to disable

Just add the clock to enable_init_clks, so no attempt is made to disable
it.

Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk-33xx.c

index 85c50ea39e6da07048133a07a3203ce90026a56d..9269e6a0db6a4e348f059f30cb529e6bcc91d2c3 100644 (file)
@@ -258,6 +258,8 @@ static const char *enable_init_clks[] = {
        "dpll_ddr_m2_ck",
        "dpll_mpu_m2_ck",
        "l3_gclk",
+       /* WKUP_DEBUGSS_CLKCTRL - disable fails, AM335x Errata Advisory 1.0.42 */
+       "l3-aon-clkctrl:0000:0",
        /* AM3_L3_L3_MAIN_CLKCTRL, needed during suspend */
        "l3-clkctrl:00bc:0",
        "l4hs_gclk",