Received: by 10.223.185.116 with SMTP id b49csp1041220wrg; Fri, 16 Feb 2018 11:19:10 -0800 (PST) X-Google-Smtp-Source: AH8x225WzdkibHESAUilvvJ0d3U1RA7Q+dmv2nhC0BJ3A5vMCymSpAPkIguVVhuYVTvOhkZA8nrb X-Received: by 10.98.70.20 with SMTP id t20mr7065895pfa.201.1518808750392; Fri, 16 Feb 2018 11:19:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808750; cv=none; d=google.com; s=arc-20160816; b=dxitR11ZwRY+GLcA+BGfjQbu9GUCja3dBrWbygGbggy0523cNaYpnDPyVeDsBee3qm EwxqSZXcabk6+amgYfK5kGGt7pGkkEjKYhEe3FQDn1rqWVkvfuNQpVF/5cRFiKPN6+tf +GxwSFDRZllKua+4egzykUtAkvlKoj9aYlZlJx67tJhuwGbPPGnfMcvHqvCVAP6/ZeG7 y9WM+8+fDOaxRDr7krKnKIkHt7yZOe7P6wY+/GUZdbFBjh3LrCNxOgV4RQ1qePdV5SQ4 VEgo0xVdadRZTKkaE0TMt+kWbDq01kN1bDrC+8ljunTe4+9zNAibms+qMdKk2bPs7PLf Emag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=8UZhX2yqoF+TuPAGKe6TMuEbqdQQzIAS19qD8I4k0Aw=; b=Wh5Qj7KoqGEAKUCelZ8zy5+eGQfclVmrXUR1YDAaMTVm2ljpth3Znz8omvszB917sk Th8lBwHHJA+inH1B1l/3PxIsaukLldCErKThW+CuZNr/TtfCY3TAu22DhxdPQZCG1W5Z BYsmRy8QqV4UWLTrqPxFlJhm5GIFdOezopFT+yo5XF6PFz7HXA9fWcN7kw8AUMWJgm84 Qmyv6w6IjXpJjl0wQI22eyKVozh///My2CeUt7HPqc75hagMjAr8FJGWZmoE6IAdS92r lqbs6bwSMPxOfccFmhalHVvSGunfBqx4A/oPkjj4vdxyI2Gy1RtbbjSe+xK60zwGpjpq MPNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=v+oUoNCr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si6551334plb.601.2018.02.16.11.18.55; Fri, 16 Feb 2018 11:19:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=v+oUoNCr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161092AbeBPQrU (ORCPT + 99 others); Fri, 16 Feb 2018 11:47:20 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34041 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161063AbeBPQrT (ORCPT ); Fri, 16 Feb 2018 11:47:19 -0500 Received: by mail-wm0-f68.google.com with SMTP id j21so6282368wmh.1 for ; Fri, 16 Feb 2018 08:47:18 -0800 (PST) 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; bh=8UZhX2yqoF+TuPAGKe6TMuEbqdQQzIAS19qD8I4k0Aw=; b=v+oUoNCrTb7uIUS5P8FgntGoxZzNZCn3QUsmnWWtbt03mZUF3Z+bUql3el6niesCHs RR2Zd52zYsOD9Q2/44kHMRRFHiWmPIOyZveH4ue2gO2yJMq6NHfgA+g5JYsVIZPvG6KL tXs8pN26NFJhz7ttPWzkPuGveYjp/X/pT+ISSC6Hhgsge7rOEhf4b1YVg+qyUqz1BhL4 2lWLuEKFlhs/16EZCwFrReDEgbwqU64ymnhRbi+BXDEwFPntVUX1ysF+5icvCxFIuTDb 89RH8ZKHRDFrg7reIf144F9NK7wzKbRWL8YjcTGV8AqFRS+GnvGjCXorbFjqtWAtKtLI CAOw== 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; bh=8UZhX2yqoF+TuPAGKe6TMuEbqdQQzIAS19qD8I4k0Aw=; b=ZskFdwo8EDPWkwqJLf9tbzg1BeyAJzcqMboO78oolF+a3OzIz9tL9MmKyVQIa3bSNx ubH6cDz0cJowY8zP1lXeXzBtkBDfIVbrWofiJnYhvjulDmFvYetbo+XkqQlJrPCF0a6r ik3tiaXlIB48mNlLT6LzFurbX9//xnirHdKGBaAK+IiD+VhALzizPlIKm03xgD78R33v yeffYOSUMC03keq958MFs7bqjKc9lbiHIf6QZJCy1pjX0FUrOXS3Gx1cb7aQK31ixGwy kO89N6DK1HGsfxt8R9bjW+l5+hQVfcSJRTl2Paurkk4CinOMaQR0MVxIIjWDOes+KtyN yIsQ== X-Gm-Message-State: APf1xPAOa9tiuenQS58+AiYIGrmU7RtQt1N9KEIOfKQJcSVkyZ8ZSj99 Pg1PoB+S7YsLTjmwbSsuFHz+mA== X-Received: by 10.28.153.20 with SMTP id b20mr5691761wme.6.1518799638164; Fri, 16 Feb 2018 08:47:18 -0800 (PST) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 90sm7832826wrp.2.2018.02.16.08.47.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Feb 2018 08:47:17 -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> X-Mailer: git-send-email 2.16.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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