From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emjAZ-0007M6-Pe for linux-mtd@lists.infradead.org; Fri, 16 Feb 2018 16:47:33 +0000 Received: by mail-wm0-x243.google.com with SMTP id x4so6273693wmc.0 for ; Fri, 16 Feb 2018 08:47:19 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, David Lechner , Bartosz Golaszewski Subject: [PATCH 0/6] ARM: davinci: remove the mach-specific aemif driver - part 1 Date: Fri, 16 Feb 2018 17:47:06 +0100 Message-Id: <20180216164712.25898-1-brgl@bgdev.pl> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Bartosz Golaszewski Hi Sekhar, while waiting for David's updated series I prepared the first part of changes required to remove duplicate aemif support from mach-davinci. I actually noticed that one of my previous changes from 2017 broke nand in legacy mode - the clock lookup no longer works. This series addresses it as well. The first two patches fix the issue introduced in commit d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock lookup table"). Next two add support for board files to the aemif driver. Last two add nand support to da850-lcdk in legacy mode and make da850-evm use the platform driver instead of the mach-specific one. If this series gets accepted, I'll prepere a follow-up moving all other boards to the new platform driver. Bartosz Golaszewski (6): nand: davinci: rename the platform driver ARM: davinci: update the nand driver names memory: aemif: don't rely on kbuild for driver's name memory: aemif: add support for board files ARM: davinci: add aemif & nand support to da850-lcdk in legacy mode ARM: davinci: use aemif platform driver in legacy mode for da850-evm arch/arm/mach-davinci/board-da830-evm.c | 2 +- arch/arm/mach-davinci/board-da850-evm.c | 93 +++++++++++--------- arch/arm/mach-davinci/board-dm355-evm.c | 2 +- arch/arm/mach-davinci/board-dm355-leopard.c | 2 +- arch/arm/mach-davinci/board-dm365-evm.c | 2 +- arch/arm/mach-davinci/board-dm644x-evm.c | 2 +- arch/arm/mach-davinci/board-dm646x-evm.c | 2 +- arch/arm/mach-davinci/board-mityomapl138.c | 2 +- arch/arm/mach-davinci/board-neuros-osd2.c | 2 +- arch/arm/mach-davinci/board-omapl138-hawk.c | 132 ++++++++++++++++++++++++++++ arch/arm/mach-davinci/board-sffsdr.c | 2 +- drivers/memory/ti-aemif.c | 59 ++++++++----- drivers/mtd/nand/davinci_nand.c | 2 +- include/linux/platform_data/ti-aemif.h | 9 ++ 14 files changed, 240 insertions(+), 73 deletions(-) -- 2.16.1