From patchwork Sat Feb 15 14:09:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 3656441 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 799B69F334 for ; Sat, 15 Feb 2014 14:09:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E11B2201C8 for ; Sat, 15 Feb 2014 14:09:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 07C1C20172 for ; Sat, 15 Feb 2014 14:09:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753236AbaBOOJQ (ORCPT ); Sat, 15 Feb 2014 09:09:16 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:44273 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbaBOOJP (ORCPT ); Sat, 15 Feb 2014 09:09:15 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N11005Z6JBE9640@mailout2.samsung.com> for linux-mmc@vger.kernel.org; Sat, 15 Feb 2014 23:09:14 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 54.D8.14803.A057FF25; Sat, 15 Feb 2014 23:09:14 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-32-52ff750ae920 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E2.A8.29263.A057FF25; Sat, 15 Feb 2014 23:09:14 +0900 (KST) Received: from DOTGIHJUN01 ([12.23.118.161]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N11001XJJBE0G30@mmp2.samsung.com>; Sat, 15 Feb 2014 23:09:14 +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> In-reply-to: Subject: [PATCH v2 4/7] mmc: sh_mmcif: clarify DDR timing mode between SD-UHS and eMMC Date: Sat, 15 Feb 2014 23:09:14 +0900 Message-id: <006301cf2a57$81fa0040$85ee00c0$%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/rAABnFmgDfJZ22AGGXslUA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsVy+t8zfV2u0v9BBm1/VS0mXN7OaPF+4zwm iyP/+xktjq8Nd2Dx+PAxzuPOtT1sHjdeLWTy+LxJLoAlissmJTUnsyy1SN8ugStj182vrAVn OCr2Ld/J3MD4kq2LkZNDQsBE4vq9DawQtpjEhXvrgeJcHEICyxglWt4sYYYpau+cxwyRmM4o sePVUyYI5w+jxLdNnSwgVWwCWhJ/37wB6xARkJX4+ecC2ApmgTqJ/Sd3gq0QEnCTeNKzBCzO KcAjse5PJ1i9sECERNP2tWBxFgFViZPTboPZvAK2Ep8OT2eEsAUlfky+B7SLA2imusSUKbkQ 4+UlNq95ywwSlgAKP/qrC3GBk8T3T23sECUiEvtevGMEOVlC4Bi7xNIZx1ggVglIfJt8iAWi V1Zi0wGofyUlDq64wTKBUWIWksWzEBbPQrJ4FpINCxhZVjGKph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QU6sWTPOa+P1w56GLC5i6jeOru7esst8/31V78bWllTdrGt8+Wve97e+ztx7huR+ka19c ufvwlOy3plc3nfkXcTVm7tqVZhV3ULetLOLQ6y36fz6wTQ8QZd3P7fpRpmzP8ldG88J/+NVb NRqkvU1TXMyU2/cwRYmlOCPRUIu5qDgRAGYqHVc6AwAA 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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;