Commit 4625f1b5d44c7f38801c0553fa90b33577307843

Authored by Rahul Sharma
Committed by Mike Turquette
1 parent 14d87cda8d

clk/exynos5420: add hdmi mux to change parents in hdmi driver

hdmi driver needs to change the parent of hdmi clock
to pixel clock or hdmiphy clock, based on the stability
of hdmiphy. This patch is exposing the mux for changing
the parent.

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>

Showing 2 changed files with 9 additions and 1 deletions Side-by-side Diff

Documentation/devicetree/bindings/clock/exynos5420-clock.txt
... ... @@ -182,6 +182,11 @@
182 182 g3d 501
183 183 smmu_mixer 502
184 184  
  185 + Mux ID
  186 + ----------------------------
  187 +
  188 + mout_hdmi 640
  189 +
185 190 Example 1: An example of a clock controller node is listed below.
186 191  
187 192 clock: clock-controller@0x10010000 {
drivers/clk/samsung/clk-exynos5420.c
... ... @@ -140,6 +140,9 @@
140 140 aclk333_g2d = 480, g2d, aclk333_432_gscl = 490, smmu_3aa, smmu_fimcl0,
141 141 smmu_fimcl1, smmu_fimcl3, fimc_lite3, aclk_g3d = 500, g3d, smmu_mixer,
142 142  
  143 + /* mux clocks */
  144 + mout_hdmi = 640,
  145 +
143 146 nr_clks,
144 147 };
145 148  
... ... @@ -400,7 +403,7 @@
400 403 MUX(none, "mout_mipi1", group2_p, SRC_DISP10, 16, 3),
401 404 MUX(none, "mout_dp1", group2_p, SRC_DISP10, 20, 3),
402 405 MUX(none, "mout_pixel", group2_p, SRC_DISP10, 24, 3),
403   - MUX(none, "mout_hdmi", hdmi_p, SRC_DISP10, 28, 1),
  406 + MUX(mout_hdmi, "mout_hdmi", hdmi_p, SRC_DISP10, 28, 1),
404 407  
405 408 /* MAU Block */
406 409 MUX(none, "mout_maudio0", maudio0_p, SRC_MAU, 28, 3),