Skip to content

Commit e9323b6

Browse files
mszyprowSylwester Nawrocki
authored andcommitted
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
Properly save and restore all top PLL related configuration registers during suspend/resume cycle. So far driver only handled EPLL and RPLL clocks, all other were reset to default values after suspend/resume cycle. This caused for example lower G3D (MALI Panfrost) performance after system resume, even if performance governor has been selected. Reported-by: Reported-by: Marian Mihailescu <[email protected]> Fixes: 7734243 ("clk: samsung: exynos5420: add more registers to restore list") Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]>
1 parent c9f7567 commit e9323b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/clk/samsung/clk-exynos5420.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,18 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {
165165
GATE_BUS_CPU,
166166
GATE_SCLK_CPU,
167167
CLKOUT_CMU_CPU,
168+
CPLL_CON0,
169+
DPLL_CON0,
168170
EPLL_CON0,
169171
EPLL_CON1,
170172
EPLL_CON2,
171173
RPLL_CON0,
172174
RPLL_CON1,
173175
RPLL_CON2,
176+
IPLL_CON0,
177+
SPLL_CON0,
178+
VPLL_CON0,
179+
MPLL_CON0,
174180
SRC_TOP0,
175181
SRC_TOP1,
176182
SRC_TOP2,

0 commit comments

Comments
 (0)