* [PATCH] clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume
@ 2019-10-29 0:50 ` Marian Mihailescu
2019-10-29 10:36 ` Sylwester Nawrocki
0 siblings, 1 reply; 2+ messages in thread
From: Marian Mihailescu @ 2019-10-29 0:50 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: Marian Mihailescu
Save and restore top PLL related configuration registers for big (APLL)
and LITTLE (KPLL) cores during suspend/resume cycle. So far, CPU clocks
were reset to default values after suspend/resume cycle and performance
after system resume was affected when performance governor has been selected.
Fixes: 773424326b51 ("clk: samsung: exynos5420: add more registers to restore list")
Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
---
drivers/clk/samsung/clk-exynos5420.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
index 403b5a367a5b..3a991ca1ee36 100644
--- a/drivers/clk/samsung/clk-exynos5420.c
+++ b/drivers/clk/samsung/clk-exynos5420.c
@@ -165,6 +165,8 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {
GATE_BUS_CPU,
GATE_SCLK_CPU,
CLKOUT_CMU_CPU,
+ APLL_CON0,
+ KPLL_CON0,
CPLL_CON0,
DPLL_CON0,
EPLL_CON0,
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume
2019-10-29 0:50 ` [PATCH] clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume Marian Mihailescu
@ 2019-10-29 10:36 ` Sylwester Nawrocki
0 siblings, 0 replies; 2+ messages in thread
From: Sylwester Nawrocki @ 2019-10-29 10:36 UTC (permalink / raw)
To: Marian Mihailescu; +Cc: linux-samsung-soc, linux-clk
On 10/29/19 01:50, Marian Mihailescu wrote:
> Save and restore top PLL related configuration registers for big (APLL)
> and LITTLE (KPLL) cores during suspend/resume cycle. So far, CPU clocks
> were reset to default values after suspend/resume cycle and performance
> after system resume was affected when performance governor has been selected.
>
> Fixes: 773424326b51 ("clk: samsung: exynos5420: add more registers to restore list")
> Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
Patch applied, thank you.
Please remember to also Cc in future any clk patches to the linux-clk@vger.kernel.org
mailing list.
> ---
> drivers/clk/samsung/clk-exynos5420.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
> index 403b5a367a5b..3a991ca1ee36 100644
> --- a/drivers/clk/samsung/clk-exynos5420.c
> +++ b/drivers/clk/samsung/clk-exynos5420.c
> @@ -165,6 +165,8 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {
> GATE_BUS_CPU,
> GATE_SCLK_CPU,
> CLKOUT_CMU_CPU,
> + APLL_CON0,
> + KPLL_CON0,
> CPLL_CON0,
> DPLL_CON0,
> EPLL_CON0,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-29 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20191029005041epcas3p3be88dd1df53b124f5642259784d8b1c6@epcas3p3.samsung.com>
2019-10-29 0:50 ` [PATCH] clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume Marian Mihailescu
2019-10-29 10:36 ` Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).