From patchwork Tue Nov 4 08:30:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 5223591 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 F36329F349 for ; Tue, 4 Nov 2014 08:31:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B5A420160 for ; Tue, 4 Nov 2014 08:31:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0317A2013A for ; Tue, 4 Nov 2014 08:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751804AbaKDIbJ (ORCPT ); Tue, 4 Nov 2014 03:31:09 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:12833 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbaKDIbI (ORCPT ); Tue, 4 Nov 2014 03:31:08 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEI0027NABSPY40@mailout2.samsung.com> for linux-mmc@vger.kernel.org; Tue, 04 Nov 2014 17:31:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id AC.6B.18484.5CE88545; Tue, 04 Nov 2014 17:31:01 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-c4-54588ec5e8ae Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 61.3A.20081.4CE88545; Tue, 04 Nov 2014 17:31:01 +0900 (KST) Received: from localhost.localdomain ([10.252.81.186]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEI006UYABOLA12@mmp1.samsung.com>; Tue, 04 Nov 2014 17:31:00 +0900 (KST) From: Jaehoon Chung To: linux-mmc Cc: Chris Ball , Ulf Hansson , tgih.jun@samsung.com, Jaehoon Chung Subject: [PATCH] mmc: dw_mmc: add the message for deprecating supports-highspeed Date: Tue, 04 Nov 2014 17:30:55 +0900 Message-id: <1415089855-18366-1-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsWyRsSkRPdoX0SIQesmHosJl7czWtz41cZq ceR/P6PFh/sXmS2Orw13YPW4c20Pm8eNVwuZPPq2rGL0+LxJLoAlissmJTUnsyy1SN8ugStj 2rLpjAWP2SvaL3WzNjCeZOti5OSQEDCR2NPcwwJhi0lcuLceKM7FISSwlFHi94N7rDBFO8+v hEosYpT43naaCcJpY5KY9n4D2Cg2AR2J7d+OM4HYIgKaEp3bITqYBdoZJbp6zoONEhYIkDjX 3AFWxCKgKrH2yyOw3bwCbhKt3zvYuxg5gNYpSMyZZAPSKyHwnE3i6M2zjBD1AhLfJh9igaiR ldh0gBniOkmJgytusExgFFzAyLCKUTS1ILmgOCm9yFivODG3uDQvXS85P3cTIzAwT/971r+D 8e4B60OMAhyMSjy8EZIRIUKsiWXFlbmHGE2BNkxklhJNzgeGf15JvKGxmZGFqYmpsZG5pZmS OO9CqZ/BQgLpiSWp2ampBalF8UWlOanFhxiZODilGhh3GrAmOyxZ2CncZNC2iOfYK9ekeUXb 2UMleEWN9Rhd20+wrtl02feswwQBtvwfUo6LuuXFJgflGy7wYhfJ8Rf2uZvykWn/Ht7E+k9M t2eFhH6TCZN6/cbT8OS09oopxRouW1p5zqnGLZmk2LI6p1VlRg0b2+Wn1my3XWK2p5v+0r54 OH66lhJLcUaioRZzUXEiAC0/+tRHAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVy+t9jAd2jfREhBicmsVpMuLyd0eLGrzZW iyP/+xktPty/yGxxfG24A6vHnWt72DxuvFrI5NG3ZRWjx+dNcgEsUQ2MNhmpiSmpRQqpecn5 KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlAe5UUyhJzSoFCAYnFxUr6dpgm hIa46VrANEbo+oYEwfUYGaCBhDWMGdOWTWcseMxe0X6pm7WB8SRbFyMnh4SAicTO8yuhbDGJ C/fWA9lcHEICixglvredZoJw2pgkpr3fAFbFJqAjsf3bcSYQW0RAU6Jz+0qwDmaBdkaJrp7z rCAJYYEAiXPNHWBFLAKqEmu/PGIBsXkF3CRav3ewdzFyAK1TkJgzyWYCI/cCRoZVjKKpBckF xUnpuYZ6xYm5xaV56XrJ+bmbGMFh/0xqB+PKBotDjAIcjEo8vBGSESFCrIllxZW5hxglOJiV RHhXVwGFeFMSK6tSi/Lji0pzUosPMZoCLZ/ILCWanA+MybySeENjEzMjSyNzQwsjY3Mlcd4D rdaBQgLpiSWp2ampBalFMH1MHJxSDYy5lctunjI8kxld9jD2hY8S37yVCQ/t/XdMsNx/9bOd 0+uwa9nc+pNSa9myCic8eWcUtFJ/ZhDTC7HadfmLOG/6n7va66bjtryqrmtH5pEtfYlVMsa9 i/Sa5ri4x/1V+LTwzd+u7b2nFZ6yh3goCjv2VQTs39VZzV9k1n/yw95zKabTyq9KLVFiKc5I NNRiLipOBAB31xFlkQIAAA== 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 Recommend to use "mmc-cap-highspeed" or "sd-cap-highspeed" instead of "supports-highspeed". Although "supports-highspeed" supports, devloper can use "mmc-cap-highspeed" or "sd-cap-highspeed" through this message. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index bb46b1b..7075d33 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2434,8 +2434,11 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) return ERR_PTR(ret); } - if (of_find_property(np, "supports-highspeed", NULL)) + if (of_find_property(np, "supports-highspeed", NULL)) { + dev_warn(dev, "supports-highspeed is deprecated. " + "Use cap-mmc-highspeed or cap-sd-highspeed.\n"); pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; + } return pdata; }