diff options
author | Rahul Sharma <rahul.sharma@samsung.com> | 2012-10-29 08:51:51 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-10-29 08:51:51 -0400 |
commit | cf3a97b4e4c4601d043ca1549c27e5fe18f55dde (patch) | |
tree | 5f241b3e6863c5160926ccd32caf797e3de83058 /arch/arm/mach-exynos | |
parent | 62a1f83f0cbbc9c2e2776b4ad91ccb2f500b6a0b (diff) |
ARM: EXYNOS: add clocks for exynos5 hdmi
This patch adds support for clocks for hdmi, hdmiphy and mixer.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/clock-exynos5.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c index c44ca1ee1b8d..a86f20fb05a1 100644 --- a/arch/arm/mach-exynos/clock-exynos5.c +++ b/arch/arm/mach-exynos/clock-exynos5.c | |||
@@ -196,6 +196,11 @@ static int exynos5_clk_ip_isp1_ctrl(struct clk *clk, int enable) | |||
196 | return s5p_gatectrl(EXYNOS5_CLKGATE_IP_ISP1, clk, enable); | 196 | return s5p_gatectrl(EXYNOS5_CLKGATE_IP_ISP1, clk, enable); |
197 | } | 197 | } |
198 | 198 | ||
199 | static int exynos5_clk_hdmiphy_ctrl(struct clk *clk, int enable) | ||
200 | { | ||
201 | return s5p_gatectrl(S5P_HDMI_PHY_CONTROL, clk, enable); | ||
202 | } | ||
203 | |||
199 | /* Core list of CMU_CPU side */ | 204 | /* Core list of CMU_CPU side */ |
200 | 205 | ||
201 | static struct clksrc_clk exynos5_clk_mout_apll = { | 206 | static struct clksrc_clk exynos5_clk_mout_apll = { |
@@ -669,12 +674,17 @@ static struct clk exynos5_init_clocks_off[] = { | |||
669 | .ctrlbit = (1 << 0), | 674 | .ctrlbit = (1 << 0), |
670 | }, { | 675 | }, { |
671 | .name = "hdmi", | 676 | .name = "hdmi", |
672 | .devname = "exynos4-hdmi", | 677 | .devname = "exynos5-hdmi", |
673 | .enable = exynos5_clk_ip_disp1_ctrl, | 678 | .enable = exynos5_clk_ip_disp1_ctrl, |
674 | .ctrlbit = (1 << 6), | 679 | .ctrlbit = (1 << 6), |
675 | }, { | 680 | }, { |
681 | .name = "hdmiphy", | ||
682 | .devname = "exynos5-hdmi", | ||
683 | .enable = exynos5_clk_hdmiphy_ctrl, | ||
684 | .ctrlbit = (1 << 0), | ||
685 | }, { | ||
676 | .name = "mixer", | 686 | .name = "mixer", |
677 | .devname = "s5p-mixer", | 687 | .devname = "exynos5-mixer", |
678 | .enable = exynos5_clk_ip_disp1_ctrl, | 688 | .enable = exynos5_clk_ip_disp1_ctrl, |
679 | .ctrlbit = (1 << 5), | 689 | .ctrlbit = (1 << 5), |
680 | }, { | 690 | }, { |