clk: samsung: exynos5433: Keep sclk_uart clocks enabled in suspend
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 12 Sep 2018 13:16:41 +0000 (15:16 +0200)
committerSylwester Nawrocki <snawrocki@kernel.org>
Fri, 5 Oct 2018 11:36:36 +0000 (13:36 +0200)
All sclk_uart clocks in TOP CMU have to be kept enabled for suspend/resume
cycle, otherwise TM2(e) boards hangs before entering the suspend mode.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <snawrocki@kernel.org>
drivers/clk/samsung/clk-exynos5433.c

index 13384f4..751e2c4 100644 (file)
@@ -180,6 +180,8 @@ static const unsigned long top_clk_regs[] __initconst = {
 static const struct samsung_clk_reg_dump top_suspend_regs[] = {
        /* force all aclk clocks enabled */
        { ENABLE_ACLK_TOP, 0x67ecffed },
+       /* force all sclk_uart clocks enabled */
+       { ENABLE_SCLK_TOP_PERIC, 0x38 },
        /* ISP PLL has to be enabled for suspend: reset value + ENABLE bit */
        { ISP_PLL_CON0, 0x85cc0502 },
        /* ISP PLL has to be enabled for suspend: reset value + ENABLE bit */