From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tushar Behera Subject: Re: [PATCH 3/3] ARM: EXYNOS4: Add support for 8-bit bus width in SDHCI for ORIGEN Date: Fri, 02 Sep 2011 08:52:35 +0530 Message-ID: <4E604BFB.2050307@linaro.org> References: <1314351524-10942-1-git-send-email-tushar.behera@linaro.org> <1314351524-10942-4-git-send-email-tushar.behera@linaro.org> <000601cc6779$7fe130b0$7fa39210$%kim@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pz0-f42.google.com ([209.85.210.42]:58365 "EHLO mail-pz0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933111Ab1IBDWs (ORCPT ); Thu, 1 Sep 2011 23:22:48 -0400 Received: by pzk37 with SMTP id 37so3934505pzk.1 for ; Thu, 01 Sep 2011 20:22:48 -0700 (PDT) In-Reply-To: <000601cc6779$7fe130b0$7fa39210$%kim@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org, linaro-dev@lists.linaro.org, patches@linaro.org Hi Kukjin, On Wednesday 31 August 2011 06:31 AM, Kukjin Kim wrote: > Tushar Behera wrote: >> >> 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 = { >> -- >> 1.7.4.1 > > Hi Tushar, > > I wonder the bus width of SDHCI controller can be changed manually on ORIGEN > like SMDK board. > I will do further test and update you about the results. > Thanks. > > Best regards, > Kgene. > -- > Kukjin Kim, Senior Engineer, > SW Solution Development Team, Samsung Electronics Co., Ltd. > -- Tushar Behera