| From 60048167293c62d58ecc4ac6af32a356ddb2cb3f Mon Sep 17 00:00:00 2001 |
| From: Marek Szyprowski <m.szyprowski@samsung.com> |
| Date: Mon, 24 Sep 2018 13:01:20 +0200 |
| Subject: clk: samsung: exynos5420: Enable PERIS clocks for suspend |
| |
| [ Upstream commit b33228029d842269e17bba591609e83ed422005d ] |
| |
| Ensure that clocks for core SoC modules (including TZPC0..9 modules) |
| are enabled for suspend/resume cycle. This fixes suspend/resume |
| support on Exynos5422-based Odroid XU3/XU4 boards. |
| |
| Suggested-by: Joonyoung Shim <jy0922.shim@samsung.com> |
| Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> |
| Signed-off-by: Sylwester Nawrocki <snawrocki@kernel.org> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/clk/samsung/clk-exynos5420.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c |
| index 95e1bf69449b..d4f77c4eb277 100644 |
| --- a/drivers/clk/samsung/clk-exynos5420.c |
| +++ b/drivers/clk/samsung/clk-exynos5420.c |
| @@ -281,6 +281,7 @@ static const struct samsung_clk_reg_dump exynos5420_set_clksrc[] = { |
| { .offset = GATE_BUS_TOP, .value = 0xffffffff, }, |
| { .offset = GATE_BUS_DISP1, .value = 0xffffffff, }, |
| { .offset = GATE_IP_PERIC, .value = 0xffffffff, }, |
| + { .offset = GATE_IP_PERIS, .value = 0xffffffff, }, |
| }; |
| |
| static int exynos5420_clk_suspend(void) |
| -- |
| 2.17.1 |
| |