提交 cf3a97b4 编写于 作者: R Rahul Sharma 提交者: Kukjin Kim

ARM: EXYNOS: add clocks for exynos5 hdmi

This patch adds support for clocks for hdmi, hdmiphy and mixer.
Signed-off-by: NRahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 62a1f83f
...@@ -196,6 +196,11 @@ static int exynos5_clk_ip_isp1_ctrl(struct clk *clk, int enable) ...@@ -196,6 +196,11 @@ static int exynos5_clk_ip_isp1_ctrl(struct clk *clk, int enable)
return s5p_gatectrl(EXYNOS5_CLKGATE_IP_ISP1, clk, enable); return s5p_gatectrl(EXYNOS5_CLKGATE_IP_ISP1, clk, enable);
} }
static int exynos5_clk_hdmiphy_ctrl(struct clk *clk, int enable)
{
return s5p_gatectrl(S5P_HDMI_PHY_CONTROL, clk, enable);
}
/* Core list of CMU_CPU side */ /* Core list of CMU_CPU side */
static struct clksrc_clk exynos5_clk_mout_apll = { static struct clksrc_clk exynos5_clk_mout_apll = {
...@@ -669,12 +674,17 @@ static struct clk exynos5_init_clocks_off[] = { ...@@ -669,12 +674,17 @@ static struct clk exynos5_init_clocks_off[] = {
.ctrlbit = (1 << 0), .ctrlbit = (1 << 0),
}, { }, {
.name = "hdmi", .name = "hdmi",
.devname = "exynos4-hdmi", .devname = "exynos5-hdmi",
.enable = exynos5_clk_ip_disp1_ctrl, .enable = exynos5_clk_ip_disp1_ctrl,
.ctrlbit = (1 << 6), .ctrlbit = (1 << 6),
}, {
.name = "hdmiphy",
.devname = "exynos5-hdmi",
.enable = exynos5_clk_hdmiphy_ctrl,
.ctrlbit = (1 << 0),
}, { }, {
.name = "mixer", .name = "mixer",
.devname = "s5p-mixer", .devname = "exynos5-mixer",
.enable = exynos5_clk_ip_disp1_ctrl, .enable = exynos5_clk_ip_disp1_ctrl,
.ctrlbit = (1 << 5), .ctrlbit = (1 << 5),
}, { }, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册