aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2013-07-25 01:07:34 -0400
committerMike Turquette <mturquette@linaro.org>2013-07-30 17:09:41 -0400
commit4a453314883d9d0a500107b508500ffffdca2f6d (patch)
tree7b8a1260d9ff977bc58428ea733f5f70e2d10331 /drivers/clk
parent93b10d1b94341afc87f1bd0efe9b516b9d0fe00f (diff)
clk/exynos5250: add mout_hdmi mux clock for hdmi
hdmi driver needs to change the parent of hdmi clock frequently between pixel clock and hdmiphy clock. hdmiphy is not stable after power on and for a short interval while changing the phy configuration. For this duration pixel clock is used to clock hdmi. This patch is exposing the mux for changing parent. Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/samsung/clk-exynos5250.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c
index e6a4be16272a..397f1ca41b97 100644
--- a/drivers/clk/samsung/clk-exynos5250.c
+++ b/drivers/clk/samsung/clk-exynos5250.c
@@ -102,6 +102,9 @@ enum exynos5250_clks {
102 tzpc2, tzpc3, tzpc4, tzpc5, tzpc6, tzpc7, tzpc8, tzpc9, hdmi_cec, mct, 102 tzpc2, tzpc3, tzpc4, tzpc5, tzpc6, tzpc7, tzpc8, tzpc9, hdmi_cec, mct,
103 wdt, rtc, tmu, fimd1, mie1, dsim0, dp, mixer, hdmi, g2d, 103 wdt, rtc, tmu, fimd1, mie1, dsim0, dp, mixer, hdmi, g2d,
104 104
105 /* mux clocks */
106 mout_hdmi = 1024,
107
105 nr_clks, 108 nr_clks,
106}; 109};
107 110
@@ -234,7 +237,7 @@ static struct samsung_mux_clock exynos5250_mux_clks[] __initdata = {
234 MUX(none, "mout_fimd1", mout_group1_p, SRC_DISP1_0, 0, 4), 237 MUX(none, "mout_fimd1", mout_group1_p, SRC_DISP1_0, 0, 4),
235 MUX(none, "mout_mipi1", mout_group1_p, SRC_DISP1_0, 12, 4), 238 MUX(none, "mout_mipi1", mout_group1_p, SRC_DISP1_0, 12, 4),
236 MUX(none, "mout_dp", mout_group1_p, SRC_DISP1_0, 16, 4), 239 MUX(none, "mout_dp", mout_group1_p, SRC_DISP1_0, 16, 4),
237 MUX(none, "mout_hdmi", mout_hdmi_p, SRC_DISP1_0, 20, 1), 240 MUX(mout_hdmi, "mout_hdmi", mout_hdmi_p, SRC_DISP1_0, 20, 1),
238 MUX(none, "mout_audio0", mout_audio0_p, SRC_MAU, 0, 4), 241 MUX(none, "mout_audio0", mout_audio0_p, SRC_MAU, 0, 4),
239 MUX(none, "mout_mmc0", mout_group1_p, SRC_FSYS, 0, 4), 242 MUX(none, "mout_mmc0", mout_group1_p, SRC_FSYS, 0, 4),
240 MUX(none, "mout_mmc1", mout_group1_p, SRC_FSYS, 4, 4), 243 MUX(none, "mout_mmc1", mout_group1_p, SRC_FSYS, 4, 4),