From patchwork Fri Mar 7 13:30:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 3791401 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B4023BF540 for ; Fri, 7 Mar 2014 13:31:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F220201F0 for ; Fri, 7 Mar 2014 13:31:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C10620154 for ; Fri, 7 Mar 2014 13:31:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbaCGNbB (ORCPT ); Fri, 7 Mar 2014 08:31:01 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:13720 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752932AbaCGNbB (ORCPT ); Fri, 7 Mar 2014 08:31:01 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2200JCSIVNII90@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Fri, 07 Mar 2014 22:30:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id BF.8C.10364.31AC9135; Fri, 07 Mar 2014 22:30:59 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-2c-5319ca1333a5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id CA.C6.29263.31AC9135; Fri, 07 Mar 2014 22:30:59 +0900 (KST) Received: from DOTGIHJUN01 ([12.36.185.168]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N220038AIVNVH50@mmp2.samsung.com>; Fri, 07 Mar 2014 22:30:59 +0900 (KST) From: Seungwon Jeon To: linux-mmc@vger.kernel.org Cc: 'Chris Ball' , 'Ulf Hansson' , 'Guennadi Liakhovetski' References: <1383653403-10049-1-git-send-email-ulf.hansson@linaro.org> <006301cf2a57$81fa0040$85ee00c0$%jun@samsung.com> In-reply-to: <006301cf2a57$81fa0040$85ee00c0$%jun@samsung.com> Subject: [PATCH v3 4/7] mmc: sh_mmcif: clarify DDR timing mode between SD-UHS and eMMC Date: Fri, 07 Mar 2014 22:30:59 +0900 Message-id: <002c01cf3a09$7a358c00$6ea0a400$%jun@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7aH/uUm1J6MxFOSyaXb4Fx/nx/rAABnFmgDfJZ22AGGXslUAPswm/A Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJIsWRmVeSWpSXmKPExsVy+t8zQ13hU5LBBreWmVhMuLyd0eL9xnlM Fkf+9zNaHF8b7sDi8eFjnMeda3vYPG68Wsjk8XmTXABLFJdNSmpOZllqkb5dAlfGrptfWQvO cFTsW76TuYHxJVsXIyeHhICJxIqDl1ggbDGJC/fWA8W5OIQEljFKPLl3nRmm6MiSO8wQiemM Egd2LGGFcP4wSkyf0QY2ik1AS+LvmzdgHSICshI//1wAizML1EnsP7mTFcQWEqiSePhtO5jN KWAn8W9+GzuILSwQIXF62RSwehYBVYkrWw8wdjFycPAK2EpsmZsKEuYVEJT4MfkeC0iYWUBd YsqUXIjp8hKb17xlBglLAIUf/dWFOMBN4v2szYwQJSIS+168YwS5WELgFLvE9K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lFcS b2hsYmZkaWRmYWRibk6asJI474FW60AhgfTEktTs1NSC1CKYLUwcnFINjFpKa2UZhPR0ju3x qH6xJ+yw53oV6VOKqowXz207dNk9O11zn23w5VqPWSVXkj3vJetYbr6ju8FK3Xfmg83dPlz7 4tMttfJWhuncmni+lnHJAv2K03cmP3ob6MNaemdtzRFR5mU7TKYXhiuYRO/Oi9HXfJ1Q7fc6 /s6mGc/2G9mfWvLY1kWmRomlOCPRUIu5qDgRANUy7eA5AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Replaced UHS_DDR50 with MMC_DDR52. CC: Guennadi Liakhovetski Signed-off-by: Seungwon Jeon --- drivers/mmc/host/sh_mmcif.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 54730f4..656fbba 100644 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c @@ -803,12 +803,13 @@ static u32 sh_mmcif_set_cmd(struct sh_mmcif_host *host, break; } switch (host->timing) { - case MMC_TIMING_UHS_DDR50: + case MMC_TIMING_MMC_DDR52: /* * MMC core will only set this timing, if the host - * advertises the MMC_CAP_UHS_DDR50 capability. MMCIF - * implementations with this capability, e.g. sh73a0, - * will have to set it in their platform data. + * advertises the MMC_CAP_1_8V_DDR/MMC_CAP_1_2V_DDR + * capability. MMCIF implementations with this + * capability, e.g. sh73a0, will have to set it + * in their platform data. */ tmp |= CMD_SET_DARS; break;