]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
clk/exynos5420: assign dout_pixel id to pixel clock divider
authorRahul Sharma <rahul.sharma@samsung.com>
Thu, 29 Aug 2013 05:37:09 +0000 (11:07 +0530)
committerMike Turquette <mturquette@linaro.org>
Fri, 30 Aug 2013 00:48:12 +0000 (17:48 -0700)
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: Rahul Sharma <rahul.sharma@samsung.com>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/exynos5420-clock.txt
drivers/clk/samsung/clk-exynos5420.c

index 343430bd5573303da70965930141880459191686..32aa34ecad364f6d3d0c613c471ec5752096b6ba 100644 (file)
@@ -187,6 +187,11 @@ clock which they consume.
 
   mout_hdmi            640
 
+  Divider              ID
+  ----------------------------
+
+  dout_pixel           768
+
 Example 1: An example of a clock controller node is listed below.
 
        clock: clock-controller@0x10010000 {
index 78465a5aa8e92a09da2c2191b0ffba13cb3ac0b2..48c4a9350b91172d6222ed74b95862e223f802ad 100644 (file)
@@ -143,6 +143,9 @@ enum exynos5420_clks {
        /* mux clocks */
        mout_hdmi = 640,
 
+       /* divider clocks */
+       dout_pixel = 768,
+
        nr_clks,
 };
 
@@ -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_mipi1", "mout_mipi1", DIV_DISP10, 16, 8),
        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 */
        DIV(none, "dout_maudio0", "mout_maudio0", DIV_MAU, 20, 4),