diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-09-12 15:16:41 +0200 |
---|---|---|
committer | Sylwester Nawrocki <snawrocki@kernel.org> | 2018-10-05 13:36:36 +0200 |
commit | defadcc956cacfb36ecf9902bd56dc5a14fdec49 (patch) | |
tree | 2df57999d6c2d5c8e56326813aff4ab02e74cdc7 | |
parent | clk: samsung: Remove obsolete code for Exynos4412 ISP clocks (diff) | |
download | linux-defadcc956cacfb36ecf9902bd56dc5a14fdec49.tar.xz linux-defadcc956cacfb36ecf9902bd56dc5a14fdec49.zip |
clk: samsung: exynos5433: Keep sclk_uart clocks enabled in suspend
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>
-rw-r--r-- | drivers/clk/samsung/clk-exynos5433.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 13384f4911c7..751e2c4fb65b 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -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 */ |