From patchwork Thu May 23 13:13:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 17126 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A3CE723976 for ; Thu, 23 May 2013 13:15:20 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id s1sf4197098qcw.6 for ; Thu, 23 May 2013 06:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=cylxoCPwla8MbiHKMdEFiw5XtDLaminbllucrNjuB4o=; b=ZO67u/HY4Or3GNZ3qjQtJRnsxMhRl7HmKdX5VSH+S7wuumWBZd/X2Kzh1rEodvwPwO u4rcFcH1YI8lstLbWLvODe8bR8yKgXizmtcjG84waOAaHop5cUn78+kKQSaRTcYlVuUm GyPwPkio/VfXcGt3A5rw8P1SGI3DaqX5Pc8LZvPIWRV37j6ZnMDeu8wDrJWmmof5uH3n /OrlxLPC7u9i2wE3D3aVY1XUeQfloEznHHCG75IJ0r0wIcsz1kHPKYOlnBtvgHD9a4ot H6Oivt6AgZIdNOdWsAgtd+Zjwl5mv5C7xoNYPYpwZl40LiLk1PtJ5TbaD6VKPGps4OG2 vlKQ== X-Received: by 10.224.174.145 with SMTP id t17mr6317690qaz.4.1369314865508; Thu, 23 May 2013 06:14:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.39 with SMTP id z7ls1276623qev.35.gmail; Thu, 23 May 2013 06:14:25 -0700 (PDT) X-Received: by 10.52.249.41 with SMTP id yr9mr4523212vdc.17.1369314865322; Thu, 23 May 2013 06:14:25 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id b5si6275566vcl.91.2013.05.23.06.14.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 06:14:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hr11so2128610vcb.19 for ; Thu, 23 May 2013 06:14:25 -0700 (PDT) X-Received: by 10.52.233.34 with SMTP id tt2mr4361913vdc.70.1369314865189; Thu, 23 May 2013 06:14:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp50831vcs; Thu, 23 May 2013 06:14:24 -0700 (PDT) X-Received: by 10.14.172.195 with SMTP id t43mr31223060eel.34.1369314863883; Thu, 23 May 2013 06:14:23 -0700 (PDT) Received: from eu1sys200aog114.obsmtp.com (eu1sys200aog114.obsmtp.com [207.126.144.137]) by mx.google.com with SMTP id z43si2300850een.123.2013.05.23.06.13.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 May 2013 06:14:23 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.137 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) client-ip=207.126.144.137; Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob114.postini.com ([207.126.147.11]) with SMTP ID DSNKUZ4WFnqaasHK7Vx9qmZcIw16tGTkE59l@postini.com; Thu, 23 May 2013 13:14:23 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id D6AB855; Thu, 23 May 2013 13:12:58 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id C104454; Thu, 23 May 2013 13:13:56 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 6177C24C2E7; Thu, 23 May 2013 15:13:49 +0200 (CEST) Received: from steludxu1397.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.279.5; Thu, 23 May 2013 15:13:56 +0200 From: Ulf Hansson To: , Linus Walleij , Srinidhi Kasagar Cc: Lee Jones , Arnd Bergmann , Ulf Hansson Subject: [PATCH 1/6] ARM: ux500: Enable 100MHz for SD/SDIO/MMC devices Date: Thu, 23 May 2013 15:13:45 +0200 Message-ID: <1369314830-3727-2-git-send-email-ulf.hansson@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1369314830-3727-1-git-send-email-ulf.hansson@stericsson.com> References: <1369314830-3727-1-git-send-email-ulf.hansson@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkGKOC1vyrcGRn70n7sbS2fSVAosj2jaNFqNxkNxvdjBaCVV+i7hr7BBMyGCRnfVMn8ea0e X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Ulf Hansson We are able to cope with an SDMMC clock of 100MHz so let's make use of the full frequency instead of the half. Signed-off-by: Ulf Hansson --- arch/arm/mach-ux500/board-mop500-sdi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 0ef3877..eb9b2de 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c @@ -53,7 +53,7 @@ static struct stedma40_chan_cfg mop500_sdi0_dma_cfg_tx = { struct mmci_platform_data mop500_sdi0_data = { .ocr_mask = MMC_VDD_29_30, - .f_max = 50000000, + .f_max = 100000000, .capabilities = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED, @@ -106,7 +106,7 @@ static struct stedma40_chan_cfg sdi1_dma_cfg_tx = { struct mmci_platform_data mop500_sdi1_data = { .ocr_mask = MMC_VDD_29_30, - .f_max = 50000000, + .f_max = 100000000, .capabilities = MMC_CAP_4_BIT_DATA, .gpio_cd = -1, .gpio_wp = -1, @@ -143,7 +143,7 @@ static struct stedma40_chan_cfg mop500_sdi2_dma_cfg_tx = { struct mmci_platform_data mop500_sdi2_data = { .ocr_mask = MMC_VDD_165_195, - .f_max = 50000000, + .f_max = 100000000, .capabilities = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | MMC_CAP_MMC_HIGHSPEED, .gpio_cd = -1, @@ -181,7 +181,7 @@ static struct stedma40_chan_cfg mop500_sdi4_dma_cfg_tx = { struct mmci_platform_data mop500_sdi4_data = { .ocr_mask = MMC_VDD_29_30, - .f_max = 50000000, + .f_max = 100000000, .capabilities = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | MMC_CAP_MMC_HIGHSPEED, .gpio_cd = -1,