clk/exynos5420: add sclk_hdmiphy to the list of special clocks
authorRahul Sharma <rahul.sharma@samsung.com>
Thu, 29 Aug 2013 05:37:05 +0000 (11:07 +0530)
committerMike Turquette <mturquette@linaro.org>
Fri, 30 Aug 2013 00:46:57 +0000 (17:46 -0700)
Add sclk_hdmiphy to the list of exposed clocks. This is required
by hdmi driver to change the parent of hdmi clock.

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 9bcc4b1bff51c74b091c2decea3b134c2d34fdde..596a36868a564fc17e0e31f942ff38b8e2327ef9 100644 (file)
@@ -59,6 +59,7 @@ clock which they consume.
   sclk_pwm             155
   sclk_gscl_wa         156
   sclk_gscl_wb         157
+  sclk_hdmiphy         158
 
    [Peripheral Clock Gates]
 
index e035fd0afbc71fc226a00f6c0b722c756400ba32..a86cadc766501a8329959039ae9652d76ae39eec 100644 (file)
@@ -120,7 +120,7 @@ enum exynos5420_clks {
        sclk_i2s2, sclk_pcm1, sclk_pcm2, sclk_spdif, sclk_hdmi, sclk_pixel,
        sclk_dp1, sclk_mipi1, sclk_fimd1, sclk_maudio0, sclk_maupcm0,
        sclk_usbd300, sclk_usbd301, sclk_usbphy300, sclk_usbphy301, sclk_unipro,
-       sclk_pwm, sclk_gscl_wa, sclk_gscl_wb,
+       sclk_pwm, sclk_gscl_wa, sclk_gscl_wb, sclk_hdmiphy,
 
        /* gate clocks */
        aclk66_peric = 256, uart0, uart1, uart2, uart3, i2c0, i2c1, i2c2, i2c3,
@@ -297,7 +297,7 @@ static struct samsung_fixed_rate_clock exynos5420_fixed_rate_ext_clks[] __initda
 
 /* fixed rate clocks generated inside the soc */
 static struct samsung_fixed_rate_clock exynos5420_fixed_rate_clks[] __initdata = {
-       FRATE(none, "sclk_hdmiphy", NULL, CLK_IS_ROOT, 24000000),
+       FRATE(sclk_hdmiphy, "sclk_hdmiphy", NULL, CLK_IS_ROOT, 24000000),
        FRATE(none, "sclk_pwi", NULL, CLK_IS_ROOT, 24000000),
        FRATE(none, "sclk_usbh20", NULL, CLK_IS_ROOT, 48000000),
        FRATE(none, "mphy_refclk_ixtal24", NULL, CLK_IS_ROOT, 48000000),