From patchwork Wed Jan 15 14:11:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 3491961 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 5F7969F32F for ; Wed, 15 Jan 2014 14:11:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60694200E9 for ; Wed, 15 Jan 2014 14:11:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5382620121 for ; Wed, 15 Jan 2014 14:11:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751744AbaAOOLo (ORCPT ); Wed, 15 Jan 2014 09:11:44 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:44980 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751664AbaAOOLn (ORCPT ); Wed, 15 Jan 2014 09:11:43 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MZG00LZ44RIQL80@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Wed, 15 Jan 2014 23:11:42 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 50.5C.10092.E1796D25; Wed, 15 Jan 2014 23:11:42 +0900 (KST) X-AuditID: cbfee68f-b7f156d00000276c-5e-52d6971ee1dc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FF.63.29263.E1796D25; Wed, 15 Jan 2014 23:11:42 +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 <0MZG00C294RIQ1A0@mmp2.samsung.com>; Wed, 15 Jan 2014 23:11:42 +0900 (KST) From: Seungwon Jeon To: 'Chris Ball' , 'Rickard Andersson' , 'Russell King' Cc: linux-mmc@vger.kernel.org References: <1383653403-10049-1-git-send-email-ulf.hansson@linaro.org> In-reply-to: Subject: [PATCH 2/7] mmc: mmci: clarify DDR timing mode between SD-UHS and eMMC Date: Wed, 15 Jan 2014 23:11:42 +0900 Message-id: <002001cf11fb$b7217380$25645a80$%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+NgFjrFIsWRmVeSWpSXmKPExsVy+t8zI1256deCDFbvlLWYcHk7o8WR//2M Frcv81os3vOM0YHFo6W5h83jxquFTB7fl65h9/i8SS6AJYrLJiU1J7MstUjfLoEro+36M5aC +RwVk/eJNDB+ZOti5OSQEDCRWNn7E8oWk7hwbz2QzcUhJLCMUeLxnTVwRY87r7JAJKYzSlx7 vJoJwvnDKPFt+0WwKjYBLYm/b94wgyREBDoYJaZP6GIGSTALyEpc3H+VEcQWEnCTeNKzBKyB U4BHYt2fTrAaYQF/iffTFrKD2CwCqhKf93xgAbF5BWwlXna0sUPYghI/Jt8DinMAzVSXmDIl F2K8vMTmNW+ZQcISQOFHf3VBTBEBK4mumYYQFSIS+168YwS5TELgFLvErov3WCA2CUh8m3yI BaJVVmLTAWaIfyUlDq64wTKBUWIWkr2zEPbOQrJ3FpINCxhZVjGKphYkFxQnpRcZ6xUn5haX 5qXrJefnb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61f9Y9ZvPuwX+rV46QF5t6ehstlHPZb0 pKkp7f1cX33CaIXC4wpDUcfZNQ8+2zlzOFe+qL7W5GHKUiPteG2u3uxfH2/cjw3JN9z6dvqz q3V+27arO7GsNlsSPNFTiaU4I9FQi7moOBEA6ttRJjoDAAA= 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: Russell King Signed-off-by: Seungwon Jeon --- drivers/mmc/host/mmci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index f320579..c348427 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -299,7 +299,7 @@ static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired) if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) clk |= MCI_ST_8BIT_BUS; - if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) + if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) clk |= MCI_ST_UX500_NEG_EDGE; mmci_write_clkreg(host, clk); @@ -784,7 +784,7 @@ static void mmci_start_data(struct mmci_host *host, struct mmc_data *data) mmci_write_clkreg(host, clk); } - if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) + if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) datactrl |= MCI_ST_DPSM_DDRMODE; /*