Received: by 10.213.65.68 with SMTP id h4csp1607760imn; Thu, 15 Mar 2018 04:50:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELtKMPylrnPgR/JODba+S9oNMdd2+46kt0+IMWedGbnx/BUVskLVlFOyfrJQUAaHv3KJbDyN X-Received: by 10.98.194.87 with SMTP id l84mr7510234pfg.6.1521114611288; Thu, 15 Mar 2018 04:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521114611; cv=none; d=google.com; s=arc-20160816; b=q+bMthmyBcBHmMrPmxXwmMSxSah5BMx0DXMRnUb0emceG+4RA8ST4I5xFgSm71wvlL JjNpt1nKD+Gzsw0vxc6E11yoWPJnSlDMepG+fNTVVAZxRTR1hP3lPn5PQfdoufUoMTJa v2FxIMUOdDXi3//QG/pvRR6EU9kzdZREZNWD4iR3riHXwJLnyQa0PCS5zRfjJfqe81Di bxGv9jneKfZ+ht3BHxwcsrffLyE5kwq7J5fK1SZZqwOYAPyZu6VNNG8AxDx07grUOwYq lGA8T6u7mIvA1mQLoQnUhWgweMdi8sG8Jq/N54Bv0vkjLzKqrDrO7gHKXPpIt5vMADG7 9wIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter:arc-authentication-results; bh=2THXKWusbGn51pMfzWot0fzdlLkyMVJbYdw1zkFG3Z0=; b=Uu6K7a3jFYqhmZN/fH9Mrk0nX3v/VsA9HQshS5lJLECUYCgobkrwN0e1Qtu0YTSg/i 6Qppc+9Ow56b+MBBoSHh9muULmN2ukKtwSGCbRQwMHtDNa+IWDqeSeN2XY8N024BgYx0 J1/ISWSWgqd5tDSOzw3DAdX8NbKZxVlLN8USjxVsH6l14/m+dqy6W2xrzITRVKyXPayH ujWaKcb0taPb4VxbpUJm4+E+97slntLYr8RvJEiLaHbDXb3ldpk/2FupbPjwcX3r/OIo mz093kqhoxOGMArwBxQtv7uofxSOCwPxbIZmvtnIMaxykEaBIumYJCmvJnawM0U+5c0a +JQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dLVnDWqz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si3329189pgt.470.2018.03.15.04.49.54; Thu, 15 Mar 2018 04:50:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dLVnDWqz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbeCOLsw (ORCPT + 99 others); Thu, 15 Mar 2018 07:48:52 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:32393 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbeCOLst (ORCPT ); Thu, 15 Mar 2018 07:48:49 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180315114847epoutp01923b1359bbf8552b47f7841d6107029e~cFZqIl32i2781027810epoutp01M; Thu, 15 Mar 2018 11:48:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180315114847epoutp01923b1359bbf8552b47f7841d6107029e~cFZqIl32i2781027810epoutp01M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1521114527; bh=2THXKWusbGn51pMfzWot0fzdlLkyMVJbYdw1zkFG3Z0=; h=Subject:To:Cc:From:Date:In-reply-to:References:From; b=dLVnDWqzC2kuEB/AcVsKXrpw+f7jra1nRieRtZPaI6hNuwnXDlhVFPAGf8KGxkWn4 1g3NkU2BozLjw1Shc5o+Jxi0f4lCK35ymNO4tYTydYSkrFI4yMywxlbLn131eCjlAp FkKdxnPCMjTbhi0ki6Gwy+uR8D2R+GkaNxVwLSj4= Received: from epsmges2p2.samsung.com (unknown [182.195.40.67]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180315114846epcas1p1ea02256489547163828652055ea86466~cFZpkGdb42748827488epcas1p1C; Thu, 15 Mar 2018 11:48:46 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 1B.57.04137.E9D5AAA5; Thu, 15 Mar 2018 20:48:46 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180315114846epcas2p3c0f182279786330389cf500f05235f29~cFZpJEW4H2818428184epcas2p3I; Thu, 15 Mar 2018 11:48:46 +0000 (GMT) X-AuditID: b6c32a46-3a9ff70000001029-d4-5aaa5d9e6026 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 73.7F.03890.E9D5AAA5; Thu, 15 Mar 2018 20:48:46 +0900 (KST) Received: from [10.113.63.79] by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5M00JCGRHA7H80@mmp2.samsung.com>; Thu, 15 Mar 2018 20:48:46 +0900 (KST) Subject: Re: [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property To: Ulf Hansson Cc: "linux-mmc@vger.kernel.org" , devicetree@vger.kernel.org, Linux Kernel Mailing List , Rob Herring , Mark Rutland , Joachim Eastwood , dinguyen@kernel.org, Will Deacon , Wei Xu From: Jaehoon Chung Message-id: <32ad854d-f464-7aab-c765-fe49bdacd8e3@samsung.com> Date: Thu, 15 Mar 2018 20:48:46 +0900 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset="utf-8" Content-language: en-US Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDJsWRmVeSWpSXmKPExsWy7bCmme682FVRBntfmFvMP3KO1eLo+d1M Fpd3zWGzOPK/n9Fi9/VzjBZLr19ksmjde4Td4vjacIuXH0+wWDw5OoXZgctjzbw1jB47Z91l 93g8dyO7x6ZVnWwed67tYfP4vEkugC0q1SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ 0sJcSSEvMTfVVsnFJ0DXLTMH6DIlhbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1StKGhkZ6h gbmekZGRnolxrJWRKVBJQmrGkiuzmAveSVW8b97E2MDYINLFyMkhIWAisX3fQ/YuRi4OIYEd jBLtx88zQTjfGSXOvd/ADFO1+coHqKoNjBLfN32EqrrLKPF/4z8WkCphgWiJw1P/sYPYIgIa EnsenmcFKWIWeMAkMWnjHbAiNgEdie3fjgN1c3DwCthJdK2yAQmzCKhKnJ+5HaxXVCBM4ujM T4wgNq+AoMSPyffAWjkFgiWWLJ/IBmIzC2hKvPgyiQXCFpdobr0JZctLbF7zlhlkr4TAZzaJ pgW32SFecJG41NUDZQtLvDq+BcqWlni2aiMjhN3OKHF2tjBE8xRGiRUzupkgEsYSzxZ2MUFs 4JPoOPyXHeQBCQFeiY42IYgSD4kvbUtZIMKOEmuOQ0PrGqPErOsvWScwys1C8s8sJD/MQvLD LCQ/LGBkWcUollpQnJueWmxUYKRXnJhbXJqX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KQrtJ36fU9confTn8V kn2ZaBKsl5G067x6os+eVNkf0nN05+7oW2V4NflB0aX37O9sHLZ9nPlZrZDBdMd7llmxa+Z6 ZzcH1j5VYinOSDTUYi4qTgQADf9vw5ECAAA= X-CMS-MailID: 20180315114846epcas2p3c0f182279786330389cf500f05235f29 X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180223064140epcas2p104fe6cca431ec24f2b09a6f5a45ed342 X-RootMTR: 20180223064140epcas2p104fe6cca431ec24f2b09a6f5a45ed342 References: <20180223064138.18401-1-jh80.chung@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/15/2018 07:22 PM, Ulf Hansson wrote: > On 23 February 2018 at 07:41, Jaehoon Chung wrote: >> 'clock-freq-min-max' property had already deprecated. >> Remove the 'clock-freq-min-max' property that is kept to maintain >> the compatibility. >> >> Signed-off-by: Jaehoon Chung > > Thanks, applied for next! Sorry. Thanks for applying this. :) Best Regards, Jaehoon Chung > > Kind regards > Uffe > >> --- >> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 4 ---- >> drivers/mmc/host/dw_mmc.c | 15 ++++----------- >> 2 files changed, 4 insertions(+), 15 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt >> index ef3e5f14067a..75c9fdca4aaf 100644 >> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt >> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt >> @@ -59,10 +59,6 @@ Optional properties: >> is specified and the ciu clock is specified then we'll try to set the ciu >> clock to this at probe time. >> >> -* clock-freq-min-max (DEPRECATED): Minimum and Maximum clock frequency for card output >> - clock(cclk_out). If it's not specified, max is 200MHZ and min is 400KHz by default. >> - (Use the "max-frequency" instead of "clock-freq-min-max".) >> - >> * num-slots (DEPRECATED): specifies the number of slots supported by the controller. >> The number of physical slots actually used could be equal or less than the >> value specified by num-slots. If this property is not specified, the value >> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c >> index 0aa39975f33b..38e0e7c4ffd9 100644 >> --- a/drivers/mmc/host/dw_mmc.c >> +++ b/drivers/mmc/host/dw_mmc.c >> @@ -2784,7 +2784,6 @@ static int dw_mci_init_slot(struct dw_mci *host) >> struct dw_mci_slot *slot; >> const struct dw_mci_drv_data *drv_data = host->drv_data; >> int ctrl_id, ret; >> - u32 freq[2]; >> >> mmc = mmc_alloc_host(sizeof(struct dw_mci_slot), host->dev); >> if (!mmc) >> @@ -2798,16 +2797,6 @@ static int dw_mci_init_slot(struct dw_mci *host) >> host->slot = slot; >> >> mmc->ops = &dw_mci_ops; >> - if (device_property_read_u32_array(host->dev, "clock-freq-min-max", >> - freq, 2)) { >> - mmc->f_min = DW_MCI_FREQ_MIN; >> - mmc->f_max = DW_MCI_FREQ_MAX; >> - } else { >> - dev_info(host->dev, >> - "'clock-freq-min-max' property was deprecated.\n"); >> - mmc->f_min = freq[0]; >> - mmc->f_max = freq[1]; >> - } >> >> /*if there are external regulators, get them*/ >> ret = mmc_regulator_get_supply(mmc); >> @@ -2846,6 +2835,10 @@ static int dw_mci_init_slot(struct dw_mci *host) >> if (ret) >> goto err_host_allocated; >> >> + mmc->f_min = DW_MCI_FREQ_MIN; >> + if (!mmc->f_max) >> + mmc->f_max = DW_MCI_FREQ_MAX; >> + >> /* Process SDIO IRQs through the sdio_irq_work. */ >> if (mmc->caps & MMC_CAP_SDIO_IRQ) >> mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; >> -- >> 2.15.1 >> > > >