linux_dsm_epyc7002/drivers/clk/samsung
Javier Martinez Canillas 97372e5a99 clk: exynos5420: Restore GATE_BUS_TOP on suspend
Commit ae43b32891 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power
Management support v12") added pm support for the pl330 dma driver but
it makes the clock for the Exynos5420 MDMA0 DMA controller to be gated
during suspend and this in turn makes its parent clock aclk266_g2d to
be gated. But the clock needs to be ungated prior suspend to allow the
system to be suspend and resumed correctly.

Add GATE_BUS_TOP register to the list of registers to be restored when
the system enters into a suspend state so aclk266_g2d will be ungated.

Thanks to Abhilash Kesavan for figuring out that this was the issue.

Fixes: ae43b32 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12")
Cc: stable@vger.kernel.org # 3.19+
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Abhilash Kesavan <a.kesavan@samsung.com>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2015-05-05 10:51:04 +02:00
..
clk-exynos4.c clk: samsung: exynos4: Disable ARMCLK down feature on Exynos4210 SoC 2015-04-12 20:58:54 -07:00
clk-exynos7.c clk: samsung: exynos7: add clocks for audio block 2015-01-15 15:18:51 +01:00
clk-exynos3250.c clk: samsung: exynos3250: Add driver for CMU_ISP clock domain 2015-03-30 15:18:53 -07:00
clk-exynos4415.c clk: samsung: exynos4415: Use samsung_cmu_register_one() to simplify code 2014-12-23 14:26:27 +01:00
clk-exynos5250.c clk: samsung: Make of_device_id array const 2014-07-26 02:49:58 +02:00
clk-exynos5260.c clk: samsung: Factor out the common code to clk.c 2014-10-31 10:45:45 +01:00
clk-exynos5260.h clk/exynos5260: add clock file for exynos5260 2014-05-14 19:16:55 +02:00
clk-exynos5410.c clk: samsung: Register clk provider only after registering its all clocks 2014-06-30 15:07:55 +02:00
clk-exynos5420.c clk: exynos5420: Restore GATE_BUS_TOP on suspend 2015-05-05 10:51:04 +02:00
clk-exynos5433.c clk: exynos5433: Fix wrong PMS value of exynos5433_pll_rates 2015-04-29 14:11:35 +02:00
clk-exynos5440.c clk: exynos5440: move restart code into clock driver 2014-11-22 23:07:21 +09:00
clk-exynos-audss.c clk: exynos-audss: Fix memory leak on driver unbind or probe failure 2015-01-17 13:52:41 -08:00
clk-exynos-clkout.c clk: samsung: Add CLKOUT driver support for Exynos3250 SoC 2015-03-30 15:18:52 -07:00
clk-pll.c clk: samsung: add support for 145xx and 1460x PLLs 2014-10-31 10:45:35 +01:00
clk-pll.h clk: samsung: add support for 145xx and 1460x PLLs 2014-10-31 10:45:35 +01:00
clk-s3c64xx.c clk: samsung: Register clk provider only after registering its all clocks 2014-06-30 15:07:55 +02:00
clk-s3c2410-dclk.c clk: Remove .owner field for driver 2014-09-25 17:43:31 -07:00
clk-s3c2410.c clk: samsung: Register clk provider only after registering its all clocks 2014-06-30 15:07:55 +02:00
clk-s3c2412.c clk: samsung: register restart handlers for s3c2412 and s3c2443 2014-10-01 14:14:46 +02:00
clk-s3c2443.c clk: samsung: register restart handlers for s3c2412 and s3c2443 2014-10-01 14:14:46 +02:00
clk-s5pv210-audss.c clk: samsung: drop owner assignment from platform_drivers 2014-10-20 16:20:22 +02:00
clk-s5pv210.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk.c clk: samsung: Change the return value of samsung_cmu_register_one() 2014-12-23 14:24:59 +01:00
clk.h clk: samsung: Change the return value of samsung_cmu_register_one() 2014-12-23 14:24:59 +01:00
Kconfig ARM: S3C24XX: move S3C24XX clock Kconfig options to Samsung clock Kconfig file 2014-05-14 19:41:15 +02:00
Makefile clk: Use CONFIG_ARCH_EXYNOS instead of CONFIG_ARCH_EXYNOS5433 2015-04-29 13:19:28 +02:00