summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2011-09-17 11:42:43 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-10-03 08:42:22 +0900
commit6ca3f8bdf8253504426935c97cabb44bdc6f5888 (patch)
treeb9044b129b1a1e38bd54b2314ffdc5d09cee4bba
parentc86cfdd012498ddab2b2eb23fad201637a77acf4 (diff)
ARM: EXYNOS4: Add HDMI support for ORIGEN
This patch adds HDMI (TVout) support for ORIGEN board. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-exynos4/Kconfig2
-rw-r--r--arch/arm/mach-exynos4/mach-origen.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig
index 00c645426d3..257dbaaf149 100644
--- a/arch/arm/mach-exynos4/Kconfig
+++ b/arch/arm/mach-exynos4/Kconfig
@@ -229,7 +229,9 @@ config MACH_ORIGEN
select S5P_DEV_FIMC1
select S5P_DEV_FIMC2
select S5P_DEV_FIMC3
+ select S5P_DEV_I2C_HDMIPHY
select S5P_DEV_USB_EHCI
+ select S5P_DEV_TV
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_PWM
select EXYNOS4_SETUP_SDHCI
diff --git a/arch/arm/mach-exynos4/mach-origen.c b/arch/arm/mach-exynos4/mach-origen.c
index 3d67140aaea..c8121fcf198 100644
--- a/arch/arm/mach-exynos4/mach-origen.c
+++ b/arch/arm/mach-exynos4/mach-origen.c
@@ -164,6 +164,9 @@ static struct platform_device *origen_devices[] __initdata = {
&s5p_device_fimc1,
&s5p_device_fimc2,
&s5p_device_fimc3,
+ &s5p_device_hdmi,
+ &s5p_device_i2c_hdmiphy,
+ &s5p_device_mixer,
&origen_device_gpiokeys,
};
@@ -197,6 +200,8 @@ static void __init origen_machine_init(void)
origen_ehci_init();
clk_xusbxti.rate = 24000000;
+ s5p_i2c_hdmiphy_set_platdata(NULL);
+
platform_add_devices(origen_devices, ARRAY_SIZE(origen_devices));
samsung_bl_set(&origen_bl_gpio_info, &origen_bl_data);