From patchwork Mon Dec 19 14:30:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 9480333 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 A0A68601C2 for ; Mon, 19 Dec 2016 14:32:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 985DB2074F for ; Mon, 19 Dec 2016 14:32:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C3812094D; Mon, 19 Dec 2016 14:32:37 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E69D2840A for ; Mon, 19 Dec 2016 14:32:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cIyxy-0006Dr-18; Mon, 19 Dec 2016 14:31:02 +0000 Received: from mail1.bemta8.messagelabs.com ([216.82.243.203]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cIyxa-00065w-33; Mon, 19 Dec 2016 14:30:39 +0000 Received: from [216.82.241.100] by server-11.bemta-8.messagelabs.com id F9/C4-02076-7FEE7585; Mon, 19 Dec 2016 14:30:15 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKIsWRWlGSWpSXmKPExsVy+LrFKt3v78I jDH4f1bX4O+kYu8WBFwtZLDY9vsZqsbtpGbvFj4fTmSyWXr/IZDF55xtGi/97drA7cHismbeG 0eP3r0mMHk82XWT02LSqk81j85J6jzenT7F73JxXGMAexZqZl5RfkcCasW3DPNaCOXwV9/dcZ mpgnMnTxcjFISSwjFHizqw1jF2MnBwiAnESay9/YwFJMAs8Z5S4Of8PO0iCTcBE4ub9cywgtr CAs8Tbvz+A4hwcvED20ROKIGEWAVWJz4/awcpFBRIkVpybwwRi8woISpyc+QSslVlAX6Jp6xx mCFtQYslriL3MAvIS299CxIUEtCXeb1zMCmJLCChITJ3cyjyBkW8WklGzkIyahWTULCSjFjCy rGLUKE4tKkst0jUy1ksqykzPKMlNzMzRNTSw0MtNLS5OTE/NSUwq1kvOz93ECIyCegYGxh2MM 3a7H2KU5GBSEuWdsjYkQogvKT+lMiOxOCO+qDQntfgQowwHh5IE7/O34RFCgkWp6akVaZk5wH iESUtw8CiJ8E4FSfMWFyTmFmemQ6ROMepyrLmx7imTEEtefl6qlDjvLZAiAZCijNI8uBGw1HC JUVZKmJeRgYFBiKcgtSg3swRV/hWjOAejkjDvepApPJl5JXCbXgEdwQR0xMJusCNKEhFSUg2M eT17XS4F8E++VnfALuSknHP+2o9Oey8UKyne/Hl7YUjEypKePJYH3D9K+jQOV/8rLnp9cG5zc Nj8hzKVKW9Pb7ux/umjZ8knm78sDjLP1q7e35fMEyxovjvVe+fCeXeNlVXv1Ec9e/ftgPQT8c OzimUmZEwrzXjCfPCMh8/S6VG6b+b5z/pqrsRSnJFoqMVcVJwIAJ+Qz4EIAwAA X-Env-Sender: Marc_Gonzalez@sigmadesigns.com X-Msg-Ref: server-8.tower-220.messagelabs.com!1482157814!135449916!1 X-Originating-IP: [195.215.56.170] X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18688 invoked from network); 19 Dec 2016 14:30:15 -0000 Received: from 195-215-56-170-static.dk.customer.tdc.net (HELO CPH-EX1.SDESIGNS.COM) (195.215.56.170) by server-8.tower-220.messagelabs.com with AES128-SHA encrypted SMTP; 19 Dec 2016 14:30:15 -0000 Received: from [172.27.0.114] (172.27.0.114) by CPH-EX1.sdesigns.com (192.168.10.36) with Microsoft SMTP Server (TLS) id 14.3.294.0; Mon, 19 Dec 2016 15:30:13 +0100 To: Boris Brezillon , Richard Weinberger From: Marc Gonzalez Subject: [PATCH v1] mtd: nand: tango: Update DT binding description Message-ID: Date: Mon, 19 Dec 2016 15:30:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 SeaMonkey/2.47 MIME-Version: 1.0 Content-Language: X-Originating-IP: [172.27.0.114] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161219_063038_285303_2A6BEA75 X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Mans Rullgard , Arnd Bergmann , linux-mtd , Linux ARM Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Visually separate register ranges (address/size pairs) in reg prop. Change DMA channel name, for consistency with other drivers. Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/mtd/tango-nand.txt | 6 +++--- drivers/mtd/nand/tango_nand.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/tango-nand.txt b/Documentation/devicetree/bindings/mtd/tango-nand.txt index ad5a02f2ac8c..cd1bf2ac9055 100644 --- a/Documentation/devicetree/bindings/mtd/tango-nand.txt +++ b/Documentation/devicetree/bindings/mtd/tango-nand.txt @@ -5,7 +5,7 @@ Required properties: - compatible: "sigma,smp8758-nand" - reg: address/size of nfc_reg, nfc_mem, and pbus_reg - dmas: reference to the DMA channel used by the controller -- dma-names: "nfc_sbox" +- dma-names: "rxtx" - clocks: reference to the system clock - #address-cells: <1> - #size-cells: <0> @@ -17,9 +17,9 @@ Example: nandc: nand-controller@2c000 { compatible = "sigma,smp8758-nand"; - reg = <0x2c000 0x30 0x2d000 0x800 0x20000 0x1000>; + reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>; dmas = <&dma0 3>; - dma-names = "nfc_sbox"; + dma-names = "rxtx"; clocks = <&clkgen SYS_CLK>; #address-cells = <1>; #size-cells = <0>; diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c index cc23db64f0ca..51dc88d6b8da 100644 --- a/drivers/mtd/nand/tango_nand.c +++ b/drivers/mtd/nand/tango_nand.c @@ -629,7 +629,7 @@ static int tango_nand_probe(struct platform_device *pdev) if (IS_ERR(clk)) return PTR_ERR(clk); - nfc->chan = dma_request_chan(&pdev->dev, "nfc_sbox"); + nfc->chan = dma_request_chan(&pdev->dev, "rxtx"); if (IS_ERR(nfc->chan)) return PTR_ERR(nfc->chan);