Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4903245imm; Tue, 26 Jun 2018 02:31:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeDfN0YpQpYcjC9aeQeMRPifw8TPSdux2y/PoTJzYQif+KkUKz1Ip2xMF0tIhbWR25rxcXj X-Received: by 2002:a62:a8e:: with SMTP id 14-v6mr758049pfk.57.1530005491094; Tue, 26 Jun 2018 02:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005491; cv=none; d=google.com; s=arc-20160816; b=Id0A29P+1t7KkDXisuZAZYuzDLBGv4mZD8Xq6QjE+CMee31WP6bd5e88cettF2QfuL OHbOxcvCS2mkuti6GX6u+kx7gLlBlEEI7giEWXhM4RsQWbme/0FyOS6V2A7/ouAlIBAs BheYQPqnxPprDvmRJi6ys+GmfdMngmwRYtExtWWPMFVJ4ZpmDmg66asgT2zBjbotNDGy +E8O3/h9kaDIUnsoNIYnM0yePL0tk8RDp6yUYE43abefsfpUFOuTBWNm5VyQ0qvuCBQ+ prG5nTFEwxdfdisuI6XwBCNAFO7KSnu2ag+LGAG/Kzq2QtDo1ScAUICBVhYsyJXsgAme sOwg== 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=7829Wb5v71jjUsij2yEVhHfqVxJP8lx4GwoHTzFx+v4=; b=UEHNZEYVHt4ur0vPxwPaZQtRV7+dJS2QHLxT0vS60DEiB3r+via4LQci1h2qUg8ssW GckqVrWQ6+MPHflV4TBISfyutmR3NH3IpMisCrQSChKFOvyJ796a1lVb/luK5ytMf95E l9scW7DAWfM/M2IrY1y+ZeDaCnJMefrpqmmf6HXrxPGXR8iv+xswKtfgW7Z5jntGx/Y7 z3/iVxbU9D81xtwksssYNozZEe8pX+sXufKqBasQ6YaB6wqUCvSQcrSdyHxMUfiRuV+G Wpz+tHdke/Yo3iGLYQLg07jj02gaiPxeXRDuUG+wjpNQ9gtI84Rp2ba0mQ8PTm+VU62K lEiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Q76EybhR; 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 a3-v6si1257993pll.412.2018.06.26.02.30.46; Tue, 26 Jun 2018 02:31:31 -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=Q76EybhR; 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 S933996AbeFZJZp (ORCPT + 99 others); Tue, 26 Jun 2018 05:25:45 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43220 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932965AbeFZJZm (ORCPT ); Tue, 26 Jun 2018 05:25:42 -0400 Received: by mail-wr0-f194.google.com with SMTP id c5-v6so5311687wrs.10 for ; Tue, 26 Jun 2018 02:25:42 -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=7829Wb5v71jjUsij2yEVhHfqVxJP8lx4GwoHTzFx+v4=; b=Q76EybhRGaxPRYIBFAcYb4pP/QNk9qT/b9WotyoHoYxnNvFggx7/5Cj34Mo03LSgkn tP6A4MieD6w+cCZg8eDMO1GQvo+frlN5TbR3sIXOgvggiecTDm7JsdE31jDb0f/iHNuw iB5EiGFhfjT7RNIT310p2cTFQaEbaWNyYf7WQ4yXRzKBRzzJLxQ0ugCoxv8i2XnmATnz hnHjuY8ML0d9MnptxVne884rKBJZ3l1M40/QUacfmCOnzS+ePr3OU5XoXamZZWO8Y33j t6ocnu9EShdT10ujphelSn1wUuvETuccrH068TMBp5820exXIPereRAwulmpCmoV6PqH Pdnw== 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=7829Wb5v71jjUsij2yEVhHfqVxJP8lx4GwoHTzFx+v4=; b=DjP/XUvFcBR50VEjYpYs8XKatdhfLAvIzSD7+QEJIA1iMLzwcM9crqzn4RC0ensTSZ PKU0Qu4meuyvPd8mj/NfYzm3kVj0qxOtyt7bUDCx3tfqgb7FR2UTqZe/85QqFYVFDxio 57uetYER5ERmMDIHt6kBbeoW15522pwrwkLwi5ZlEeBKCU88x4YOcOHGbARQgr3uczzo sH88wZNVko4Einid4NFsgre4dKd2D0ugyaLQDDdoqv38nfOwri/OBHgXw8p4joziFoWr Qh9Grx8vz69+pm+atndYy/WT9SvM3Aba4s/Ye4AH+3LmY+u/WWd5ImnT6BXxGQ3Guqg3 Yb2g== X-Gm-Message-State: APt69E34by4Mm4AdKqSgZ04nzDotz7J1sZyKV1w4E2zvmT11tAxSJI4x qxaaqxOfLgskni2eLbIPCbGktQ== X-Received: by 2002:adf:890a:: with SMTP id s10-v6mr773887wrs.122.1530005141412; Tue, 26 Jun 2018 02:25:41 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-NIC-1-55-10.w2-15.abo.wanadoo.fr. [2.15.147.10]) by smtp.gmail.com with ESMTPSA id a8-v6sm1528791wrn.50.2018.06.26.02.25.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:40 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , David Lechner , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 00/13] ARM: davinci: remove duplicate aemif support Date: Tue, 26 Jun 2018 11:25:24 +0200 Message-Id: <20180626092537.6737-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This series moves all aemif/nand users to using the ti-aemif platform driver located in drivers/memory instead of the older API located in mach-davinci. First five patches add necessary changes to the clock driver. Next seven convert the board files to using the ti-aemif driver. Last patch removes now dead code. v1 -> v2: - added missing clock lookups for ti-aemif where needed - removed an unnecessary davinci_nand clock lookup from psc-da850 - moved the .id field initialization of aemif platform devices next to .name - tweaked the commit message for the last patch Bartosz Golaszewski (13): clk: davinci: psc-da850: remove the 'davinci_nand.0" lookup clk: davinci: psc-dm365: use two lookup entries for the aemif clock clk: davinci: psc-dm644x: use two lookup entries for the aemif clock clk: davinci: psc-dm646x: use two lookup entries for the aemif clock clk: davinci: psc-da830: add a lookup entry for aemif clock ARM: davinci: omapl138-hawk: add aemif & nand support ARM: davinci: da850-evm: use aemif platform driver in legacy mode ARM: davinci: dm365-evm: use the ti-aemif soc driver ARM: davinci: dm644x-evm: use aemif platform driver ARM: davinci: da830-evm: use aemif platform driver ARM: davinci: dm646x-evm: use aemif platform driver ARM: davinci: mityomapl138: use aemif platform driver ARM: davinci: unduplicate aemif support arch/arm/mach-davinci/Makefile | 2 +- arch/arm/mach-davinci/aemif.c | 218 ------------------ arch/arm/mach-davinci/board-da830-evm.c | 56 ++++- arch/arm/mach-davinci/board-da850-evm.c | 93 ++++---- arch/arm/mach-davinci/board-dm365-evm.c | 59 +++-- arch/arm/mach-davinci/board-dm644x-evm.c | 55 +++-- arch/arm/mach-davinci/board-dm646x-evm.c | 52 ++++- arch/arm/mach-davinci/board-mityomapl138.c | 55 +++-- arch/arm/mach-davinci/board-omapl138-hawk.c | 132 +++++++++++ drivers/clk/davinci/psc-da830.c | 3 +- drivers/clk/davinci/psc-da850.c | 3 +- drivers/clk/davinci/psc-dm365.c | 3 +- drivers/clk/davinci/psc-dm644x.c | 3 +- drivers/clk/davinci/psc-dm646x.c | 3 +- .../linux/platform_data/mtd-davinci-aemif.h | 1 - 15 files changed, 407 insertions(+), 331 deletions(-) delete mode 100644 arch/arm/mach-davinci/aemif.c -- 2.17.1