From patchwork Wed Sep 7 10:54:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3961 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6298623E54 for ; Wed, 7 Sep 2011 10:58:08 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 4906BA18128 for ; Wed, 7 Sep 2011 10:58:08 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 18so608024fxd.11 for ; Wed, 07 Sep 2011 03:58:08 -0700 (PDT) Received: by 10.223.24.21 with SMTP id t21mr40586fab.24.1315393087127; Wed, 07 Sep 2011 03:58:07 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.11.8 with SMTP id m8cs135075lab; Wed, 7 Sep 2011 03:58:06 -0700 (PDT) Received: by 10.150.214.8 with SMTP id m8mr5305456ybg.197.1315393086032; Wed, 07 Sep 2011 03:58:06 -0700 (PDT) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by mx.google.com with ESMTPS id d39si2857638ybl.23.2011.09.07.03.58.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 03:58:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by yxl31 with SMTP id 31so4168730yxl.37 for ; Wed, 07 Sep 2011 03:58:05 -0700 (PDT) Received: by 10.68.12.101 with SMTP id x5mr12531433pbb.249.1315393085131; Wed, 07 Sep 2011 03:58:05 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id h5sm4572384pbq.11.2011.09.07.03.58.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 03:58:04 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org, sachin.kamat@linaro.org Subject: [PATCH] ARM: EXYNOS4: Add HDMI support for Origen Date: Wed, 7 Sep 2011 16:24:38 +0530 Message-Id: <1315392878-4267-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 This patch adds HDMI (TVout) support for Origen board. This patch is based on for-next branch of Kukjin Kim's tree: http://git.kernel.org/?p=linux/kernel/git/kgene/linux-samsung.git;a=summary This patch is tested using Hatim's patch: http://www.spinics.net/lists/linux-samsung-soc/msg06367.html Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos4/Kconfig | 2 ++ arch/arm/mach-exynos4/mach-origen.c | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index 181fb04..4f908f7 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig @@ -225,6 +225,8 @@ config MACH_ORIGEN select S3C_DEV_WDT select S3C_DEV_HSMMC2 select EXYNOS4_SETUP_SDHCI + select S5P_DEV_I2C_HDMIPHY + select S5P_DEV_TV help Machine support for ORIGEN based on Samsung EXYNOS4210 diff --git a/arch/arm/mach-exynos4/mach-origen.c b/arch/arm/mach-exynos4/mach-origen.c index ed59f86..6ec68ee 100644 --- a/arch/arm/mach-exynos4/mach-origen.c +++ b/arch/arm/mach-exynos4/mach-origen.c @@ -81,8 +81,11 @@ static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = { static struct platform_device *origen_devices[] __initdata = { &s3c_device_hsmmc2, + &s5p_device_i2c_hdmiphy, &s3c_device_rtc, &s3c_device_wdt, + &s5p_device_hdmi, + &s5p_device_mixer, }; static void __init origen_map_io(void) @@ -95,6 +98,7 @@ static void __init origen_map_io(void) static void __init origen_machine_init(void) { s3c_sdhci2_set_platdata(&origen_hsmmc2_pdata); + s5p_i2c_hdmiphy_set_platdata(NULL); platform_add_devices(origen_devices, ARRAY_SIZE(origen_devices)); }