clk: samsung: exynos5433: Move CLK_SCLK_HDMI_SPDIF_DISP clock to CMU_TOP domain
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 4 Feb 2015 01:12:59 +0000 (10:12 +0900)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 5 Feb 2015 18:31:09 +0000 (19:31 +0100)
This patch fixes the bug of CLK_SCLK_HDMI_SPDIF_DISP clock because this clock
should be included in CMU_TOP domain. So, this patch moves the CLK_SCLK_HDMI_
SPDIF_DISP clock from CMU_MIF to CMU_TOP domain.

Reported-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5433.c
include/dt-bindings/clock/exynos5433.h

index 1a005c1f7c4b028e887263a4f76edce6599f7401..387e3e39e63519d401cbfe87c949308d64db5897 100644 (file)
@@ -661,6 +661,11 @@ static struct samsung_gate_clock top_gate_clks[] __initdata = {
        GATE(CLK_SCLK_ISP_SPI0_CAM1, "sclk_isp_spi0_cam1", "div_sclk_isp_spi0_b",
                        ENABLE_SCLK_TOP_CAM1, 0, 0, 0),
 
+       /* ENABLE_SCLK_TOP_DISP */
+       GATE(CLK_SCLK_HDMI_SPDIF_DISP, "sclk_hdmi_spdif_disp",
+                       "mout_sclk_hdmi_spdif", ENABLE_SCLK_TOP_DISP, 0,
+                       CLK_IGNORE_UNUSED, 0),
+
        /* ENABLE_SCLK_TOP_FSYS */
        GATE(CLK_SCLK_PCIE_100_FSYS, "sclk_pcie_100_fsys", "div_sclk_pcie_100",
                        ENABLE_SCLK_TOP_FSYS, 7, 0, 0),
@@ -1521,11 +1526,6 @@ static struct samsung_gate_clock mif_gate_clks[] __initdata = {
                        ENABLE_SCLK_MIF, 1, CLK_IGNORE_UNUSED, 0),
        GATE(CLK_SCLK_BUS_PLL_ATLAS, "sclk_bus_pll_atlas", "sclk_bus_pll",
                        ENABLE_SCLK_MIF, 0, CLK_IGNORE_UNUSED, 0),
-
-       /* ENABLE_SCLK_TOP_DISP */
-       GATE(CLK_SCLK_HDMI_SPDIF_DISP, "sclk_hdmi_spdif_disp",
-                       "mout_sclk_hdmi_spdif", ENABLE_SCLK_TOP_DISP, 0,
-                       CLK_IGNORE_UNUSED, 0),
 };
 
 static struct samsung_cmu_info mif_cmu_info __initdata = {
index 4853bc598b57bd78979e74f14a582785cbee082f..5bd80d5ecd0f85c34c1d01e83b697f460d3323c7 100644 (file)
 #define CLK_SCLK_ISP_UART_CAM1         250
 #define CLK_SCLK_ISP_SPI1_CAM1         251
 #define CLK_SCLK_ISP_SPI0_CAM1         252
+#define CLK_SCLK_HDMI_SPDIF_DISP       253
 
-#define TOP_NR_CLK                     253
+#define TOP_NR_CLK                     254
 
 /* CMU_CPIF */
 #define CLK_FOUT_MPHY_PLL              1
 #define CLK_SCLK_BUS_PLL               198
 #define CLK_SCLK_BUS_PLL_APOLLO                199
 #define CLK_SCLK_BUS_PLL_ATLAS         200
-#define CLK_SCLK_HDMI_SPDIF_DISP       201
 
-#define MIF_NR_CLK                     202
+#define MIF_NR_CLK                     201
 
 /* CMU_PERIC */
 #define CLK_PCLK_SPI2                  1