mbox series

[0/2] Exynos5250: Fix suspend/resume support

Message ID 20180803065155eucas1p1ab44ee847e1020f0fb9cad361e707e41~HTTtQrGti1217712177eucas1p1Z@eucas1p1.samsung.com
Headers show
Series Exynos5250: Fix suspend/resume support | expand

Message

Marek Szyprowski Aug. 3, 2018, 6:51 a.m. UTC
Hi All,

Exynos5250 uses generic cpufreq-dt driver since v4.3 kernel release. This
change however broke suspend/resume support if cpufreq support is enabled,
because CPU boots at 1GHz after suspend/resume cycle, what needs proper
configuration of CPU voltage regulators.

Previously used exynos-cpufreq driver stored initial boot CPU operation
point and switched to it for the suspend/resume cycle. To achieve similar
result with generic cpufreq-dt driver, the 1GHz operation point has to be
specially marked as 'suspend opp'. This is possible only in v2 of the OPP
bindings, so convert exynos5250.dtsi first to the newer version of the
binding.

Best regards
Marek Szyprowski


Patch summary:

Marek Szyprowski (2):
  ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
  ARM: dts: exynos: Mark 1GHz CPU OPP as suspend OPP

 arch/arm/boot/dts/exynos5250.dtsi | 131 ++++++++++++++++++++----------
 1 file changed, 89 insertions(+), 42 deletions(-)

-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html