OSDN Git Service

clk: exynos5420: Add IDs for clocks used in DISP1 power domain
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Sat, 24 Jan 2015 04:25:01 +0000 (13:25 +0900)
committerKukjin Kim <kgene@kernel.org>
Wed, 28 Jan 2015 23:52:22 +0000 (08:52 +0900)
commit8856010029985ba4d63a8942deb7f9e780285dd2
treeb0f4c8c470d780021e31e5dd072e340a79bddf1d
parent6591a02e17e6d6587c3cf7588d523fa6f26b584a
clk: exynos5420: Add IDs for clocks used in DISP1 power domain

When a power domain is powered off on Exynos5420 SoC, the input clocks of
the devices attached to this power domain are re-parented to oscclk and
restored to the original parent after powering on the power domain.

So a reference to the input and parent clocks for the devices attached to
a power domain are needed to be able to do the re-parenting. The DISP1 pd
includes modules which uses the following clocks:

ACLK_200_DISP1 (MIXER and HDMILINK)
ACLK_300_DISP1 (FIMD1)
ACLK_400_DISP1 (Internal Buses)

Each of these clocks are generated as the output of a clock mux so add an
ID for all of these clock muxes and their parents to be referenced in the
DISP1 power domain device node.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Michael Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
drivers/clk/samsung/clk-exynos5420.c
include/dt-bindings/clock/exynos5420.h