clk: samsung: exynos5433: Add suspend_prepare/unprepare callback.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Fri, 3 Apr 2015 05:17:22 +0000 (14:17 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:43:13 +0000 (13:43 +0900)
commitf391fbbc3fd7a8fa2b23ac943a79d78fdd9370f4
treea982f3a898cd6a5a9cd3652ed407eb88ad0d03cc
parent14f96e5e9a0fb4b6078970c0e9d6c41b861d1588
clk: samsung: exynos5433: Add suspend_prepare/unprepare callback.

This patch adds exynos5433 CMU's suspend_prepare/unprepare callback.
Exynos5433 has clocks to be controlled before entering suspend.
There're two types of clocks, one is a clock which has to be turned
on at suspend, and another is a clock which has to be set parent clock
to specified one. It can be defined at device tree with properties,
'suspend-on-clks' and 'suspend-reparent-clks'.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/clk/samsung/clk-exynos5433.c