OpenCloudOS-Kernel/drivers/clk/samsung
Marek Szyprowski 5dcbeca615 clk: samsung: exynos4: Enable VPLL and EPLL clocks for suspend/resume cycle
Commit 6edfa11cb3 ("clk: samsung: Add enable/disable operation for
PLL36XX clocks") added enable/disable operations to PLL clocks. Prior that
VPLL and EPPL clocks were always enabled because the enable bit was never
touched. Those clocks have to be enabled during suspend/resume cycle,
because otherwise board fails to enter sleep mode. This patch enables them
unconditionally before entering system suspend state. System restore
function will set them to the previous state saved in the register cache
done before that unconditional enable.

Fixes: 6edfa11cb3 ("clk: samsung: Add enable/disable operation for PLL36XX clocks")
CC: stable@vger.kernel.org # v4.13
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-10-04 09:19:13 -07:00
..
Kconfig clk: samsung: Allow modular build of the Audio Subsystem CLKCON driver 2016-07-13 14:59:53 -07:00
Makefile clk: samsung: Remove Exynos4415 driver (SoC not supported anymore) 2017-01-16 11:33:38 +01:00
clk-cpu.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk-cpu.h clk: samsung: cpu: prepare for adding Exynos5433 CPU clocks 2016-06-02 11:18:20 +02:00
clk-exynos-audss.c clk: samsung: Add CLK_SET_RATE_PARENT to some AUDSS CLK CON clocks 2017-08-09 17:17:04 +02:00
clk-exynos-clkout.c clk: samsung: exynos-clkout: Convert to the new clk_hw API 2017-06-09 11:10:47 +02:00
clk-exynos4.c clk: samsung: exynos4: Enable VPLL and EPLL clocks for suspend/resume cycle 2017-10-04 09:19:13 -07:00
clk-exynos7.c clk: samsung: exynos7: Constify all clock initializers 2016-06-02 11:18:09 +02:00
clk-exynos3250.c clk: samsung: Suppress unbinding to prevent theoretical attacks 2016-06-02 11:18:18 +02:00
clk-exynos5250.c clk: samsung: exynos5250: Move sleep init function to init section 2016-06-02 11:18:12 +02:00
clk-exynos5260.c clk: samsung: exynos5260: Move struct samsung_cmu_info to init section 2016-09-09 17:34:34 +02:00
clk-exynos5260.h clk/exynos5260: add clock file for exynos5260 2014-05-14 19:16:55 +02:00
clk-exynos5410.c clk: samsung: Add support for EPLL on exynos5410 2016-09-09 17:35:13 +02:00
clk-exynos5420.c clk/samsung updates for 4.14 2017-08-23 15:30:29 -07:00
clk-exynos5433.c Exporting clock IDs for Exynos5433 SoC MIPI DSI DPHY, 2017-01-27 11:53:06 -08:00
clk-exynos5440.c clk: samsung: Use common registration function for pll2550x 2016-09-09 17:35:10 +02:00
clk-pll.c clk: samsung: Add enable/disable operation for PLL36XX clocks 2017-06-09 13:12:42 +02:00
clk-pll.h clk: samsung: Remove dead code 2017-06-07 22:47:55 +02:00
clk-s3c64xx.c clk: samsung: mark s3c...._clk_sleep_init() as __init 2017-01-27 13:30:00 +01:00
clk-s3c2410-dclk.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk-s3c2410.c clk: samsung: mark s3c...._clk_sleep_init() as __init 2017-01-27 13:30:00 +01:00
clk-s3c2412.c clk: samsung: mark s3c...._clk_sleep_init() as __init 2017-01-27 13:30:00 +01:00
clk-s3c2443.c clk: samsung: mark s3c...._clk_sleep_init() as __init 2017-01-27 13:30:00 +01:00
clk-s5pv210-audss.c clk: samsung: s5pv210-audss: Convert to the new clk_hw API 2017-06-09 12:27:49 +02:00
clk-s5pv210.c clk: samsung: Remove useless check for return value of samsung_clk_init 2016-06-02 11:17:57 +02:00
clk.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk.h clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00