From patchwork Wed Jan 15 14:12:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 3492021 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 6F85CC02DC for ; Wed, 15 Jan 2014 14:13:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6CA592012B for ; Wed, 15 Jan 2014 14:13:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35AF020122 for ; Wed, 15 Jan 2014 14:13:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752038AbaAOONB (ORCPT ); Wed, 15 Jan 2014 09:13:01 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:45012 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093AbaAOOMI (ORCPT ); Wed, 15 Jan 2014 09:12:08 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MZG00LEK4S72A90@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Wed, 15 Jan 2014 23:12:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.50]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id CA.2F.12635.73796D25; Wed, 15 Jan 2014 23:12:07 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-a5-52d697379de1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7D.D4.28157.73796D25; Wed, 15 Jan 2014 23:12:07 +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 <0MZG00GA14S7T610@mmp2.samsung.com>; Wed, 15 Jan 2014 23:12:07 +0900 (KST) From: Seungwon Jeon To: 'Chris Ball' , 'Ulf Hansson' , 'Guennadi Liakhovetski' Cc: linux-mmc@vger.kernel.org References: <1383653403-10049-1-git-send-email-ulf.hansson@linaro.org> In-reply-to: Subject: [PATCH 4/7] mmc: sh_mmcif: clarify DDR timing mode between SD-UHS and eMMC Date: Wed, 15 Jan 2014 23:12:07 +0900 Message-id: <002201cf11fb$c63ffee0$52bffca0$%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/rAABnFmgDfJZ22A= Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOIsWRmVeSWpSXmKPExsVy+t8zI13z6deCDPZ3mVhMuLyd0eL9xnlM Fkf+9zNaHF8b7sDi8eFjnMeda3vYPG68Wsjk8XmTXABLFJdNSmpOZllqkb5dAlfGrptfWQvO cFTsW76TuYHxJVsXIyeHhICJxPn+2+wQtpjEhXvrgeJcHEICyxglPp5rZYUp2jalnwUiMZ1R 4n3jIhaQhJDAH0aJRb99QWw2AS2Jv2/eMHcxcnCICNRJHL1WBhJmFpCVuLj/KiNEuZvEk54l YIs5BXgk1v3pZAaxhQVCJT7PeQo2kkVAVeLjvo1gNbwCthLrZp5ghbAFJX5MvscCMp5ZQF1i ypRciPHyEpvXvAXbKgEUfvRXF+IAK4mumYYQFSIS+168YwQ5XkLgGLvE408bGCE2CUh8m3yI BaJVVmLTAWaIZyUlDq64wTKBUWIWkr2zEPbOQrJ3FpINCxhZVjGKphYkFx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eoIK7hwPy4UMsHt6Vq9hz7vDNryb9wu/LrYoKPEybk7K9d1X1QVtqwXnWXhrNZ 8fSP57O+XRD3P3U5LucWt3iO9zxz2wdsf7u8V06r/P1xqZb35OZjE2dH97FNP2bT/zJvw0th 3gyeZ24Ch1vfzkk6qcRSnJFoqMVcVJwIAKoZ2dk3AwAA 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.2 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;