From patchwork Fri Aug 26 09:38:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3718 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 9A52423F22 for ; Fri, 26 Aug 2011 09:41:50 +0000 (UTC) Received: from mail-gw0-f52.google.com (mail-gw0-f52.google.com [74.125.83.52]) by fiordland.canonical.com (Postfix) with ESMTP id 6CE5BA18A15 for ; Fri, 26 Aug 2011 09:41:50 +0000 (UTC) Received: by gwj15 with SMTP id 15so3715631gwj.11 for ; Fri, 26 Aug 2011 02:41:50 -0700 (PDT) Received: by 10.150.166.7 with SMTP id o7mr2015513ybe.98.1314351709923; Fri, 26 Aug 2011 02:41:49 -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.151.27.20 with SMTP id e20cs276461ybj; Fri, 26 Aug 2011 02:41:49 -0700 (PDT) Received: by 10.213.33.11 with SMTP id f11mr1505331ebd.106.1314351708517; Fri, 26 Aug 2011 02:41:48 -0700 (PDT) Received: from mail-ew0-f50.google.com (mail-ew0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id p55si1454890eef.136.2011.08.26.02.41.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Aug 2011 02:41:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.215.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by ewy10 with SMTP id 10so1590153ewy.37 for ; Fri, 26 Aug 2011 02:41:46 -0700 (PDT) Received: by 10.142.154.6 with SMTP id b6mr439500wfe.378.1314351705422; Fri, 26 Aug 2011 02:41:45 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id z1sm1748700pbz.6.2011.08.26.02.41.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Aug 2011 02:41:44 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: linaro-dev@lists.linaro.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 3/3] ARM: EXYNOS4: Add support for 8-bit bus width in SDHCI for ORIGEN Date: Fri, 26 Aug 2011 15:08:44 +0530 Message-Id: <1314351524-10942-4-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314351524-10942-1-git-send-email-tushar.behera@linaro.org> References: <1314351524-10942-1-git-send-email-tushar.behera@linaro.org> Platform data for SDHCI controller on ORIGEN board is missing the support for 8-bit bus width. The platform data is extended in sync with other EXYNOS4 machines. Signed-off-by: Tushar Behera --- arch/arm/mach-exynos4/mach-origen.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-origen.c b/arch/arm/mach-exynos4/mach-origen.c index ae18812..6b6cd77 100644 --- a/arch/arm/mach-exynos4/mach-origen.c +++ b/arch/arm/mach-exynos4/mach-origen.c @@ -75,11 +75,19 @@ static struct s3c2410_uartcfg origen_uartcfgs[] __initdata = { static struct s3c_sdhci_platdata origen_hsmmc0_pdata __initdata = { .cd_type = S3C_SDHCI_CD_INTERNAL, .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, +#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT + .max_width = 8, + .host_caps = MMC_CAP_8_BIT_DATA, +#endif }; static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = { .cd_type = S3C_SDHCI_CD_INTERNAL, .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, +#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT + .max_width = 8, + .host_caps = MMC_CAP_8_BIT_DATA, +#endif }; static struct platform_device *origen_devices[] __initdata = {