clk: samsung: exynos5433: Add suspend state for TOP, CPIF & PERIC CMUs
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 29 Aug 2018 16:00:13 +0000 (18:00 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:04 +0000 (14:58 +0900)
commit4b00d51975f910631898eabbada0c099e16abc71
tree579bf1234c75f3314259f00022fee8b7598b932c
parent32f3e105998bedce04c5a120756c573928feb271
clk: samsung: exynos5433: Add suspend state for TOP, CPIF & PERIC CMUs

Before entering system suspend, one has to ensure that some clocks from
TOP, CPIF and PERIC CMUs are enabled. This is needed by the firmware
to properly perform system suspend operation. Instead of adding more and
more clocks with CRITICAL flag, simply enable those clocks directly in
respective CMU registers using 'suspend_regs' feature.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Change-Id: I1dab71d4834fcbd13634411d44ecb11775c46cde
drivers/clk/samsung/clk-exynos5433.c