From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp11.smtpout.orange.fr ([80.12.242.133] helo=smtp.smtpout.orange.fr) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eSUE8-0003e9-Np for linux-mtd@lists.infradead.org; Fri, 22 Dec 2017 20:47:34 +0000 From: Robert Jarzmik To: Miquel Raynal , David Woodhouse , Brian Norris , Boris Brezillon Cc: Marek Vasut , Richard Weinberger , Cyrille Pitchen , Rob Herring , Mark Rutland , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Daniel Mack , Haojian Zhuang , Eric Miao , Catalin Marinas , Will Deacon , Ezequiel Garcia , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Antoine Tenart , Nadav Haklai , Ofer Heifetz , Hanna Hawa , Neta Zur Hershkovits , Willy Tarreau , Sean =?utf-8?Q?Nyekj=C3=A6r?= Subject: Re: [PATCH v2 3/5] mtd: nand: replace pxa3xx_nand driver by its rework called marvell_nand In-Reply-To: <20171219132942.27433-4-miquel.raynal@free-electrons.com> (Miquel Raynal's message of "Tue, 19 Dec 2017 14:29:40 +0100") References: <20171219132942.27433-1-miquel.raynal@free-electrons.com> <20171219132942.27433-4-miquel.raynal@free-electrons.com> Date: Fri, 22 Dec 2017 21:47:18 +0100 Message-ID: <87608ycwx5.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Miquel Raynal writes: > Actually remove pxa3xx_nand.c to let marvell_nand.c be compiled instead. > Also change the defconfig files using it as well as some board files > depending on CONFIG_MTD_NAND_PXA3xx. > > Signed-off-by: Miquel Raynal Actually that approach doesn't quite suit me. I'm not convinced at all a new rewrite of the driver will be stable right out of the box as the old one is. What I would propose instead is : - keep both the new marvell nand driver and the old pxa3xx_nand driver - switch pxa_defconfig to compile them both - continue testing (with my help) Once I see the marvell_nand is working properly, we can remove pca3xx_nand in a second stage, keeping the pxa platform functional all along. Would you agree to that path ? As a side not, this patch should be split into 2 parts : - one for arch/arm -> switch to the new driver - one for drivers/mtd -> removal of the old driver Cheers. -- Robert