clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume
authorMarian Mihailescu <mihailescu2m@gmail.com>
Tue, 29 Oct 2019 00:50:25 +0000 (11:20 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:19:35 +0000 (08:19 +0100)
commit0d39e3f0eb13ff67b395afb0d986f9f6ebb80225
treec07c431ae7f1d14a49493a86ba4643b1b77fccb4
parent66998c4e9508b5f5d2bab26c4fcf0799f832da44
clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume

commit e21be0d1d7bd7f78a77613f6bcb6965e72b22fc1 upstream.

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>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/samsung/clk-exynos5420.c