From patchwork Fri Feb 23 06:41:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 10236925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7489860225 for ; Fri, 23 Feb 2018 06:42:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7059C2940F for ; Fri, 23 Feb 2018 06:42:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6535E29411; Fri, 23 Feb 2018 06:42:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2A332940F for ; Fri, 23 Feb 2018 06:42:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751528AbeBWGlr (ORCPT ); Fri, 23 Feb 2018 01:41:47 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:32933 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbeBWGlm (ORCPT ); Fri, 23 Feb 2018 01:41:42 -0500 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180223064141epoutp0187f66e29ebcb447520c1639dbad28834~V4Tzu4Qj93189731897epoutp01T; Fri, 23 Feb 2018 06:41:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180223064141epoutp0187f66e29ebcb447520c1639dbad28834~V4Tzu4Qj93189731897epoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1519368101; bh=JLcTcsNbO4A5+FMhh+LvIlh+R7NL/3HBfWxkuuREf9g=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=PMnqY6wMo+PXLjBsJ3khZuid4GFkZgUFfgG48AojSu+tyItt9SMkLOYzuzdqV3ncr afiassaM3PvljVkV3DV6jfo73P99jFn53GAneLZ+M+OEuXCvNwaPopYtbyTXDU5Zg1 fpDjo4vDQwlCWsOczeBpFt8Qugc02RQ1+rtpK0L8= Received: from epsmges2p1.samsung.com (unknown [182.195.40.65]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180223064140epcas1p2383fd3a9d0535e3f96271e6f1a0beebe~V4Tzdykil1478414784epcas1p2n; Fri, 23 Feb 2018 06:41:40 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id B3.E5.04131.4A7BF8A5; Fri, 23 Feb 2018 15:41:40 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180223064140epcas2p41a734737c3fe7373329a94f485c21fd4~V4Ty10q-W0887708877epcas2p43; Fri, 23 Feb 2018 06:41:40 +0000 (GMT) X-AuditID: b6c32a45-403ff70000001023-81-5a8fb7a49d78 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 0A.59.03890.4A7BF8A5; Fri, 23 Feb 2018 15:41:40 +0900 (KST) Received: from localhost.localdomain ([10.113.77.174]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P4L005TVBXFJ010@mmp2.samsung.com>; Fri, 23 Feb 2018 15:41:39 +0900 (KST) From: Jaehoon Chung To: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, manabian@gmail.com, dinguyen@kernel.org, will.deacon@arm.com, xuwei5@hisilicon.com, Jaehoon Chung Subject: [PATCH 2/6] mmc: dw_mmc: remove the deprecated "num-slots" Date: Fri, 23 Feb 2018 15:41:34 +0900 Message-id: <20180223064138.18401-2-jh80.chung@samsung.com> X-Mailer: git-send-email 2.15.1 In-reply-to: <20180223064138.18401-1-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSfUhTYRTGe3fndq1mt6n1tqLWxYIsl3c6vZqKlsUqCcvIWqRd9EUtt8nu Zk36wyxtTvIDBMU0jT65GKRZrsyKOdPKtLKakIWhiUVEJmpUZtuu/vc7z/s8h3NeDo5JHV4y PEtnRAYdk02KFgrvdmwID7rSWqYJruhW0PWOXi+6s69NQA/8LvKi++/XimjHbBmg25y9gL7q fCWgC9sdYrrrZjL9ZbxbSI90VmKxi9SNFxuB+l7NB7F6uK5JrG7mikXqwXcPROrSFg6oJ5pX J4o1KCoTMenIIEe6NH16li4jmtydlLotVRUWTAVREXQ4KdcxWhRNxickBu3IynbNSMpzmWyT S0pkWJbcHBNl0JuMSJ6pZ43R5GGKUiqo4HCFUqlUhIYciVSqXJajKPOKk8jpWXFyaqREmA+c flaA45AIhVVF661gIS4lbABOnrkG+GIawNqH1eJ5U80bOa/fAvDnZwfGF78ArPlYJbQCb1xE bIKtU10CN/sRh2A91+ExYYQDwP5P7zH3gy+xDQ53j4ndLCTWwdslBcDNEmILLL086dEhsQaW txR4mnoTUbD875jQ3QgSNhF8fKdewJvi4cD1KSHPvvBrV8tceCUc5ZoAz+cAfHHBlw9XAnij umQuHAJHL1k9jBE+0NIxM7enBFqKpLxFDU9/4DBejoOvB+L5jcsAtPx7AsqBrAEs4MAylMNq MxCrzKEULKNlTboMRZpe2ww8FxS43Qaqex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QA0WJjmjoCAAA= X-CMS-MailID: 20180223064140epcas2p41a734737c3fe7373329a94f485c21fd4 X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180223064140epcas2p41a734737c3fe7373329a94f485c21fd4 X-RootMTR: 20180223064140epcas2p41a734737c3fe7373329a94f485c21fd4 References: <20180223064138.18401-1-jh80.chung@samsung.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'num-slots' property had already deprecated. Remove the 'nom-slots' property that is kept to maintain the compatibility. Signed-off-by: Jaehoon Chung Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 5 ----- drivers/mmc/host/dw_mmc-pci.c | 1 - drivers/mmc/host/dw_mmc.c | 4 ---- drivers/mmc/host/dw_mmc.h | 3 --- 4 files changed, 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt index 75c9fdca4aaf..7e5e427a22ce 100644 --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt @@ -59,11 +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. -* 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 - of num-slot property is assumed to be 1. - * fifo-depth: The maximum size of the tx/rx fifo's. If this property is not specified, the default value of the fifo size is determined from the controller registers. diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c index ab8713297edb..3ad07d7b2c97 100644 --- a/drivers/mmc/host/dw_mmc-pci.c +++ b/drivers/mmc/host/dw_mmc-pci.c @@ -29,7 +29,6 @@ MMC_CAP_SDIO_IRQ) static struct dw_mci_board pci_board_data = { - .num_slots = 1, .caps = DW_MCI_CAPABILITIES, .bus_hz = 33 * 1000 * 1000, .detect_delay_ms = 200, diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 38e0e7c4ffd9..a63ca7bc1099 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -3124,10 +3124,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) return ERR_PTR(-EPROBE_DEFER); } - /* find out number of slots supported */ - if (!device_property_read_u32(dev, "num-slots", &pdata->num_slots)) - dev_info(dev, "'num-slots' was deprecated.\n"); - if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) dev_info(dev, "fifo-depth property not found, using value of FIFOTH register as default\n"); diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index e3124f06a47e..80ff9a6c6fdd 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -102,7 +102,6 @@ struct dw_mci_dma_slave { * @bus_hz: The rate of @mck in Hz. This forms the basis for MMC bus * rate and timeout calculations. * @current_speed: Configured rate of the controller. - * @num_slots: Number of slots available. * @fifoth_val: The value of FIFOTH register. * @verid: Denote Version ID. * @dev: Device associated with the MMC controller. @@ -253,8 +252,6 @@ struct dma_pdata; /* Board platform data */ struct dw_mci_board { - u32 num_slots; - unsigned int bus_hz; /* Clock speed at the cclk_in pad */ u32 caps; /* Capabilities */