From patchwork Mon Apr 30 08:24:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10371107 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 117B86053E for ; Mon, 30 Apr 2018 09:00:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB81428A55 for ; Mon, 30 Apr 2018 09:00:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E03A028A54; Mon, 30 Apr 2018 09:00:19 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44D4828A55 for ; Mon, 30 Apr 2018 09:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dXQYBDATH4E6FQAa4Ckr1BhCRnrQekNxZqe8LbeDURY=; b=ccL5wmPLWAZpIl52kD63DOLH1N cqXwZADjBQMhXLEWNhY6KRlCX+GkMlWyFwRQMFBgj710TIFYbE0Zjh6L6AtgXsZjw0x3Z1XAFnPMI dn3Oy7y1CMe6f7glvTju5tDtrHU6yFRR8I9pjs/Gv9quAJK/fFUvRL7okUkDWPf+kaHcSgZUE8GsK 9XA0V7oZQ+uMYcsP7OcWp9GWRp+XkVl1djO8tLk+D8E4BA0iL5tXADqCz/UyDhDAOAk7hByGPipwy ytFu4U6uMOKjmK4dCjdqRRwq6I5bupp2qzbF9Kod/GoZJaqVfXvtaDeanB7xvnFSIpx0EDYg106Xy H+eSm9vQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fD4fJ-0001Tj-TH; Mon, 30 Apr 2018 09:00:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fD4du-0000Yn-Gm for linux-arm-kernel@bombadil.infradead.org; Mon, 30 Apr 2018 08:58:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=z7o34N8edMT4vuZ0QRZK2/d0MWoavpWF7iiWGqvY8cg=; b=ganwq13vryuLLsVVqtGrC8ST+ EbG8oGSYrqgGTK6diseLWOMc81GuG1XFu8YLRJHXsYnCaznCblHNSjabKfnSouZRpm2soA67uBRoZ BIlZLAQznThNHxV01zDbx0GB+0JPt1m4jvg2AVAUZEH6K5z6kYvQAupBsz9xsTRh++pcTUFvvKP6f 7RqeAZ0IAdvNWSHAcQkY35ruCKdijSJNfrnA6r0fL0oKZbmZ+piK6I56v4XsWhH+Ot4FvvSgHbzOz NPJxwUXcli/uqwat4vwteLlzu5reFmWF7Hy1AvB7F/NhNiOLEo00QdLu0Y2s+EaT9SRCRUn56nn1G 5qzT/D2cg==; Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fD47t-0002yT-UZ for linux-arm-kernel@lists.infradead.org; Mon, 30 Apr 2018 08:25:39 +0000 Received: by mail-wm0-x242.google.com with SMTP id j5so12876258wme.5 for ; Mon, 30 Apr 2018 01:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z7o34N8edMT4vuZ0QRZK2/d0MWoavpWF7iiWGqvY8cg=; b=sl/5CKpCkFCXA4gNv4JtgLJPt3vd103O2XnB6T7lwfiLayl6uO7flV7H4PPEipQNKu VO/ZbMwFq2Q3I6dm5o3RoZW5THXgn2DUEYYV4cMtoQ9sKqFxDQCsMl/h76YtmCyQ7V0C bkHXdm+EFQ5tDRDx8nSBnjaUH7sMp+oVG9NahsI1sUjJFePxszApysbu/nxQVANVct1C mQnaRClBxFvM/Z1VYG31D6TISaDcNFqiX9pUjjFj8aoKE4TFdQSATqrqEW4gFgFTNmyc wgJdKOyIOZNJD2BjCct0E+56hwFbsnJPcGlITDbD1c3Umi6EuLs8WbIwfi7Wn9wznEnK P9zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=z7o34N8edMT4vuZ0QRZK2/d0MWoavpWF7iiWGqvY8cg=; b=pXxyHKno0w+xEXS5vDCOe3tOpPq069ZRGhc3t2jo0cf7dYBCBzYM7Wf91H4C87Awj1 M5lIMZZCk++yeOdTssrfKX69PqACoQ6PPGHI5LKpSyfU3V0bHk3PddWML44fPKH+DOF0 wh9BJcGW6w43RLNmdwWQ3QiadXyxLPBqTM5WJjGOsPeU7lOq0oeTFwTCclr76BlBSuEK uz1n3GikmL8DdwR423SmNABCAdI9LgKNiiyPPhp9h6zcvpgjx4nOJGbMNUaENTPwHGBX 0vYxoHjbkVl2KQ/48CETCu53hqzAywtI/4DTnYFd/fJfd9kwxi/epkTQI/Q00xLrGbJ4 FevA== X-Gm-Message-State: ALQs6tCACuYaPguq+fwcYKjGSl0IkMM4YqLqUWKlf/AHtyD3ZtrCzhvk l21/CLJivxwxMgo3T73bFHSvHg== X-Google-Smtp-Source: AB8JxZo6PDHS7YsRozmdSrr4D2VNUSafdpixItH0Xlt8osdz51g2e3iXny90obuJlJynsX66Ybd0ng== X-Received: by 10.28.195.85 with SMTP id t82mr6801910wmf.129.1525076728906; Mon, 30 Apr 2018 01:25:28 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-NIC-1-84-58.w2-15.abo.wanadoo.fr. [2.15.173.58]) by smtp.gmail.com with ESMTPSA id a13-v6sm6475266wrc.19.2018.04.30.01.25.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 01:25:28 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Krzysztof Kozlowski Subject: [PATCH 09/12] ARM: davinci: dm646x-evm: specify the chipselect in davinci_nand_pdata Date: Mon, 30 Apr 2018 10:24:50 +0200 Message-Id: <20180430082453.8091-10-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430082453.8091-1-brgl@bgdev.pl> References: <20180430082453.8091-1-brgl@bgdev.pl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180430_092538_018155_965D546B X-CRM114-Status: GOOD ( 15.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm646x-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index d672804df817..37c9e0ee4dcc 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c @@ -84,6 +84,7 @@ static struct davinci_aemif_timing dm6467tevm_nandflash_timing = { }; static struct davinci_nand_pdata davinci_nand_data = { + .core_chipsel = 0, .mask_cle = 0x80000, .mask_ale = 0x40000, .parts = davinci_nand_partitions,