Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: ti: am33xx: keep WKUP_DEBUGSS_CLKCTRL enabled

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>

authored by

Matthias Schiffer and committed by
Stephen Boyd
1e0d7525 8f5ae30d

+2
+2
drivers/clk/ti/clk-33xx.c
··· 258 258 "dpll_ddr_m2_ck", 259 259 "dpll_mpu_m2_ck", 260 260 "l3_gclk", 261 + /* WKUP_DEBUGSS_CLKCTRL - disable fails, AM335x Errata Advisory 1.0.42 */ 262 + "l3-aon-clkctrl:0000:0", 261 263 /* AM3_L3_L3_MAIN_CLKCTRL, needed during suspend */ 262 264 "l3-clkctrl:00bc:0", 263 265 "l4hs_gclk",