Commit 0044cbcd authored by Rahul Sharma's avatar Rahul Sharma Committed by Mike Turquette

clk/exynos5420: assign dout_pixel id to pixel clock divider

dout_pixel is a new ID allocated for pixel clock divider. It is
queried in the driver to pass as the parent to hdmi clock while
switching between parents.
Signed-off-by: default avatarRahul Sharma <rahul.sharma@samsung.com>
Acked-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 4625f1b5
...@@ -187,6 +187,11 @@ clock which they consume. ...@@ -187,6 +187,11 @@ clock which they consume.
mout_hdmi 640 mout_hdmi 640
Divider ID
----------------------------
dout_pixel 768
Example 1: An example of a clock controller node is listed below. Example 1: An example of a clock controller node is listed below.
clock: clock-controller@0x10010000 { clock: clock-controller@0x10010000 {
......
...@@ -143,6 +143,9 @@ enum exynos5420_clks { ...@@ -143,6 +143,9 @@ enum exynos5420_clks {
/* mux clocks */ /* mux clocks */
mout_hdmi = 640, mout_hdmi = 640,
/* divider clocks */
dout_pixel = 768,
nr_clks, nr_clks,
}; };
...@@ -463,7 +466,7 @@ static struct samsung_div_clock exynos5420_div_clks[] __initdata = { ...@@ -463,7 +466,7 @@ static struct samsung_div_clock exynos5420_div_clks[] __initdata = {
DIV(none, "dout_fimd1", "mout_fimd1", DIV_DISP10, 0, 4), DIV(none, "dout_fimd1", "mout_fimd1", DIV_DISP10, 0, 4),
DIV(none, "dout_mipi1", "mout_mipi1", DIV_DISP10, 16, 8), DIV(none, "dout_mipi1", "mout_mipi1", DIV_DISP10, 16, 8),
DIV(none, "dout_dp1", "mout_dp1", DIV_DISP10, 24, 4), DIV(none, "dout_dp1", "mout_dp1", DIV_DISP10, 24, 4),
DIV(none, "dout_hdmi_pixel", "mout_pixel", DIV_DISP10, 28, 4), DIV(dout_pixel, "dout_hdmi_pixel", "mout_pixel", DIV_DISP10, 28, 4),
/* Audio Block */ /* Audio Block */
DIV(none, "dout_maudio0", "mout_maudio0", DIV_MAU, 20, 4), DIV(none, "dout_maudio0", "mout_maudio0", DIV_MAU, 20, 4),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment