From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084AbeD3KJd (ORCPT ); Mon, 30 Apr 2018 06:09:33 -0400 Received: from mail.bootlin.com ([62.4.15.54]:45422 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751186AbeD3KJc (ORCPT ); Mon, 30 Apr 2018 06:09:32 -0400 Date: Mon, 30 Apr 2018 12:09:30 +0200 From: Boris Brezillon To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Russell King , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Krzysztof Kozlowski , Bartosz Golaszewski , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 00/12] mtd: nand: davinci: stop using pdev->id as chipselect Message-ID: <20180430120930.4768a7cb@bbrezillon> In-Reply-To: <20180430082453.8091-1-brgl@bgdev.pl> References: <20180430082453.8091-1-brgl@bgdev.pl> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bartosz, On Mon, 30 Apr 2018 10:24:41 +0200 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We have the 'ti,davinci-chipselect' property in the device tree, but > when using platform data the driver silently uses the id field of > struct platform_device as the chipselect. This is confusing and we > almost broke the nand support again recently after converting the > platform to common clock framework (which changed the device id in the > clock lookup - the problem is gone now that we no longer acquire the > clock in the nand driver. > > This series adds a new field to davinci-nand platform data, then makes > all board use it and finally modifies the two drivers that make use of > it. > > Bartosz Golaszewski (12): > mtd: nand: davinci: store the core chipselect number in platform data Raw NAND related patches (that is, everything that is not onenand or SPI NAND) should use the "mtd: rawnand: " prefix now. Other than that, I'm fine with the patch series, just let me know how you want to have it merged (through the MTD tree or the davinci tree). Thanks, Boris