Received: by 10.192.165.156 with SMTP id m28csp1668830imm; Tue, 17 Apr 2018 03:30:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4844N8yx8BZfPXCwZ6FFFB6b2XS1mOdcBFx7qnTbYqe9Nd8RTOfFZKCNIDxhlvukWIZR7qq X-Received: by 10.167.134.80 with SMTP id a16mr1493790pfo.172.1523961054106; Tue, 17 Apr 2018 03:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523961054; cv=none; d=google.com; s=arc-20160816; b=tFISEyWqvrpHDIz1X9w3C1cQjdPmYjS9Cr+a6g4qcOoQp/rMW9+QHi//GfP4DbsgB7 E5+pyFbC6hVw3AQKqmJyidNIdG6OPrmJfXLtaRZ9btNGpZFLlCWJcsyTyDntLcSepNc3 JEpGxl1hb2+1JyTyFlhD/8/0NyeouXpumxwAHk6IwOkdu0nmkkr8/u+lE7QqaTmDg6fM 4esKemfkEa5RS2ptrhi2RL+7K1RchfZuyALxsCDWPFm1WKzsD7A3gdhZ8090kzvhFH5T 49EssRnDeyleT7a2EkCUylhDgQvGPEWm5BzoptSaHj23CRzsmP51QN2gFytPrzrMRQbR qasg== 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=J9sJxHQVkVK/8Tz2sIwGg2ruLCOoAgaqyADPAc2u9EE=; b=MFKQdTDCm3WCAGpD8woYO7OcfFdMoaBAIBVmHL2l1JslK9xVU5ywrFI/42UBy/chnu OILLKOGoDKSSl2xZDEw209yrOchJQyou4uDe/sel4a0PT16Uv4HURIHw2qOEgwYDVxnP 9qm67/RHTH+yIDmsZEx3YnSeHBYnWFJ/dE8n0t0o9lgNodF8PSQde5hvEKSZAictRDef Ce14fWq8S8UoK3gVEZK16WYnudY5pnLeDf95LEXJICOz/BrPSgjs8G10d7A+BeU+5f5U 7kykfZMwQbfyF6gY1a5SIjPS//S3Vl2sNCb7HAPpYwCkdZ4D8tX/WHkpPpmjBVsRP5W4 mz6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=b03uZXmb; 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 m63si11691169pgm.302.2018.04.17.03.30.40; Tue, 17 Apr 2018 03:30:54 -0700 (PDT) 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=b03uZXmb; 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 S1752702AbeDQK31 (ORCPT + 99 others); Tue, 17 Apr 2018 06:29:27 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36569 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbeDQK3Y (ORCPT ); Tue, 17 Apr 2018 06:29:24 -0400 Received: by mail-wr0-f194.google.com with SMTP id q13so30593570wre.3 for ; Tue, 17 Apr 2018 03:29:24 -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; bh=J9sJxHQVkVK/8Tz2sIwGg2ruLCOoAgaqyADPAc2u9EE=; b=b03uZXmb0NW6sz51UHidkrO1iHS2GHeI+m91WMoIDaDOage6dbo8xbpOcW6PvW221W S5uZa0HFpHCAGLDs/LZweEoXbioKb+pXQSlScaMGrvb9kYP0OUPIildmZJh1QeTMsRd0 pZvdnK2+/QT7+0fDShmRAksDdbxefrFR0iVF3XvjWS5iA0+NpQ+p4HKInmIZ5HYQb9dA dHn/vaEnWoE4/OGkOJE9gxJn+WPvixR+aVRK5TQyqSqn7X49qfi3dVNXzqpO6tmtq/WC MzkYJSuCTx19NEb9TPKTn/MUHD8SL55DkUd7MJfvyhijy8Gooyumt3iajz5+xZ0bYLOI OVYQ== 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=J9sJxHQVkVK/8Tz2sIwGg2ruLCOoAgaqyADPAc2u9EE=; b=dkH9kSuO3prQI8TPWYu4yX2z6EPjIWfErASEmvE6Vm8PFGRRCJwMwdChuouSvYF4n6 sE68vSwStgaYKU3Mw3YXDNAIFVL1KwEj0Js9/oHeete2WLa6ba2G2d9isOnGLsGVpFH8 In510ur0gnUS4zUBD3j7ex9rVxJCwgHJb63npTMWkPen+5BBIfOJAmePm25UrHW6TW3j mbgzzv2UwIyTZPo3VGMzdX8dk8u5NJUnowGczKsuyK3LCT/sRYjiuAZQQvr0svN1f4ur 5I860FKWbKKRenE+lxaMnegZ6gzI9sadw+W3qlNoLTVB6xHzthtmU+cs3lIJSZEknWRl aGKQ== X-Gm-Message-State: ALQs6tBIaMJDTsh5rKj0Jp1LE0dSiTrkot4yFXmhzpA8D28JT/FGm28W KBFqxd6w2LhT1Q9dy+grBJUpqQ== X-Received: by 10.223.178.245 with SMTP id g108mr1190895wrd.147.1523960963797; Tue, 17 Apr 2018 03:29:23 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id r75sm8842252wmf.34.2018.04.17.03.29.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 03:29:23 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH v2 0/4] ARM: davinci: remove the mach-specific aemif driver - part 1 Date: Tue, 17 Apr 2018 12:29:13 +0200 Message-Id: <20180417102917.7794-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This is 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. First patch just uses a static string for the ti-aemif driver name. The second adds 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 these patches get accepted, I'll prepere a follow-up moving all other boards to the new platform driver. This series applies on top of v8 of David Lechner's CCF series. v1 -> v2: - drop the first two patches, which are no longer needed with David's psc driver Bartosz Golaszewski (4): 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-da850-evm.c | 93 +++++++------- arch/arm/mach-davinci/board-omapl138-hawk.c | 132 ++++++++++++++++++++ drivers/memory/ti-aemif.c | 59 +++++---- include/linux/platform_data/ti-aemif.h | 9 ++ 4 files changed, 230 insertions(+), 63 deletions(-) -- 2.17.0