From patchwork Fri Mar 7 13:30:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 3791391 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 8DB3FBF540 for ; Fri, 7 Mar 2014 13:30:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E0A08201F0 for ; Fri, 7 Mar 2014 13:30:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C1F2D20154 for ; Fri, 7 Mar 2014 13:30:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753186AbaCGNax (ORCPT ); Fri, 7 Mar 2014 08:30:53 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:24915 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752932AbaCGNaw (ORCPT ); Fri, 7 Mar 2014 08:30:52 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2200IONIVFZKB0@mailout4.samsung.com> for linux-mmc@vger.kernel.org; Fri, 07 Mar 2014 22:30:51 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D2.0A.12635.B0AC9135; Fri, 07 Mar 2014 22:30:51 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-aa-5319ca0bd28d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 36.C6.29263.B0AC9135; Fri, 07 Mar 2014 22:30:51 +0900 (KST) Received: from DOTGIHJUN01 ([12.36.185.168]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N2200DO7IVFX380@mmp1.samsung.com>; Fri, 07 Mar 2014 22:30:51 +0900 (KST) From: Seungwon Jeon To: linux-mmc@vger.kernel.org Cc: 'Chris Ball' , 'Balaji T K' References: <1383653403-10049-1-git-send-email-ulf.hansson@linaro.org> <006201cf2a57$7d9c7280$78d55780$%jun@samsung.com> In-reply-to: <006201cf2a57$7d9c7280$78d55780$%jun@samsung.com> Subject: [PATCH v3 3/7] mmc: omap: clarify DDR timing mode between SD-UHS and eMMC Date: Fri, 07 Mar 2014 22:30:51 +0900 Message-id: <002b01cf3a09$75586e00$60094a00$%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/rAABnFmgDfJZ22AGGXFk8APsxHRA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsVy+t8zQ13uU5LBBk+2a1lMnbydzWLC5e2M Fkf+9zM6MHvceLWQyeP4je1MHp83yQUwR3HZpKTmZJalFunbJXBlbF4VW7CLs+Lkyl1MDYxP 2LsYOTkkBEwk5ky9wQxhi0lcuLeerYuRi0NIYBmjxPTfv1hhii5tvscKkVjEKDH/5092COcP o8S2yRfBRrEJaEn8ffMGbJSIgKzEzz8XgEZxcDALOEvsO+oPEhYSqJJ4c6qLCcTmFLCTOLn5 M9gCYYEQiXl/NrCA2CwCqhJPp74Ei/MK2EocWNPBCGELSvyYfI8FYqS6xJQpuSBhZgF5ic1r 3jKDhCWAwo/+6oKYIgJuEhM/VUNUiEjse/GOEeRgCYFD7BIf3l1jg9gkIPFt8i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ID2xJDU7NbUgtQhmCxMHp1QDY8nL6gkvq2Z8jfvo/pLlVdbWCHnf qQ/WvXbRzJ2YvP5JYfxS0wuP/lxad4pn6sudbkwiln4WRy4fWxjd9dfKwcbcdLkag9Te69Eu wtLbzWaw68jN/7vg6vtvZauPdfk+F+Ewt33Uwf788bVz9xl/hX8PezP/5iOlIo953ad/6pSp /7QzqjB6U6DEUpyRaKjFXFScCACa9PsKLwMAAA== 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. Signed-off-by: Seungwon Jeon Acked-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index e91ee21..b4de63b 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -582,7 +582,7 @@ static void omap_hsmmc_set_clock(struct omap_hsmmc_host *host) * - MMC/SD clock coming out of controller > 25MHz */ if ((mmc_slot(host).features & HSMMC_HAS_HSPE_SUPPORT) && - (ios->timing != MMC_TIMING_UHS_DDR50) && + (ios->timing != MMC_TIMING_MMC_DDR52) && ((OMAP_HSMMC_READ(host->base, CAPA) & HSS) == HSS)) { regval = OMAP_HSMMC_READ(host->base, HCTL); if (clkdiv && (clk_get_rate(host->fclk)/clkdiv) > 25000000) @@ -602,7 +602,7 @@ static void omap_hsmmc_set_bus_width(struct omap_hsmmc_host *host) u32 con; con = OMAP_HSMMC_READ(host->base, CON); - if (ios->timing == MMC_TIMING_UHS_DDR50) + if (ios->timing == MMC_TIMING_MMC_DDR52) con |= DDR; /* configure in DDR mode */ else con &= ~DDR;