linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shawn.guo@freescale.com (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 05/20] ARM: imx5: remove i.MX5 non-DT device registration helpers
Date: Tue, 20 May 2014 19:47:04 +0800	[thread overview]
Message-ID: <20140520114700.GA20778@dragon> (raw)
In-Reply-To: <1400576552.352489173@f117.i.mail.ru>

On Tue, May 20, 2014 at 01:02:32PM +0400, Alexander Shiyan wrote:
> Tue, 20 May 2014 16:45:23 +0800 ?? Shawn Guo <shawn.guo@freescale.com>:
> > i.MX5 is DT only platforms, so these non-DT device registration helpers
> > is used nowhere.  Remove them.
> > 
> > Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
> > ---
> >  arch/arm/mach-imx/devices/platform-fec.c           | 12 ----------
> >  arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c  |  5 ----
> >  arch/arm/mach-imx/devices/platform-imx-i2c.c       | 26 ---------------------
> >  arch/arm/mach-imx/devices/platform-imx-keypad.c    | 10 --------
> >  arch/arm/mach-imx/devices/platform-imx-ssi.c       | 20 ----------------
> >  arch/arm/mach-imx/devices/platform-imx-uart.c      | 22 ------------------
> >  arch/arm/mach-imx/devices/platform-imx2-wdt.c      | 18 ---------------
> >  arch/arm/mach-imx/devices/platform-mxc-ehci.c      |  9 --------
> >  arch/arm/mach-imx/devices/platform-mxc_nand.c      |  5 ----
> >  arch/arm/mach-imx/devices/platform-pata_imx.c      | 10 --------
> >  .../mach-imx/devices/platform-sdhci-esdhc-imx.c    | 24 -------------------
> >  arch/arm/mach-imx/devices/platform-spi_imx.c       | 27 ----------------------
> 
> Seems, as an follow patch we should also remove SOC_IMX5* symbol
> dependencies from arch/arm/mach-imx/devices/Kconfig.

Ah, yes.  I just amended the following change into the patch.

Shawn

diff --git a/arch/arm/mach-imx/devices/Kconfig b/arch/arm/mach-imx/devices/Kconfig
index 2d260a5..e40a0ab 100644
--- a/arch/arm/mach-imx/devices/Kconfig
+++ b/arch/arm/mach-imx/devices/Kconfig
@@ -1,6 +1,6 @@
 config IMX_HAVE_PLATFORM_FEC
        bool
-       default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53
+       default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35

 config IMX_HAVE_PLATFORM_FLEXCAN
        bool
@@ -10,7 +10,6 @@ config IMX_HAVE_PLATFORM_FSL_USB2_UDC

 config IMX_HAVE_PLATFORM_GPIO_KEYS
        bool
-       default y if SOC_IMX51

 config IMX_HAVE_PLATFORM_IMX21_HCD
        bool

  reply	other threads:[~2014-05-20 11:47 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20  8:45 [PATCH v2 00/20] ARM: imx: clean up i.MX5 support Shawn Guo
2014-05-20  8:45 ` [PATCH 01/20] ARM: imx: move EHCI platform defines out of platform_data header Shawn Guo
2014-05-20  8:45 ` [PATCH 02/20] ARM: imx5: move SOC_IMX5 and SOC_IMX51 into 'Device tree only' Shawn Guo
2014-05-20  8:45 ` [PATCH 03/20] ARM: imx5: drop option MACH_IMX51_DT Shawn Guo
2014-05-20  8:45 ` [PATCH 04/20] ARM: imx5: remove imx51 non-DT support files Shawn Guo
2014-05-20  8:45 ` [PATCH 05/20] ARM: imx5: remove i.MX5 non-DT device registration helpers Shawn Guo
2014-05-20  9:02   ` Alexander Shiyan
2014-05-20 11:47     ` Shawn Guo [this message]
2014-05-20  8:45 ` [PATCH 06/20] ARM: imx5: make mx51_clocks_init() a DT call Shawn Guo
2014-05-20  8:45 ` [PATCH 07/20] ARM: imx5: drop arguments from mx5_clocks_common_init() Shawn Guo
2014-05-20  8:45 ` [PATCH 08/20] ARM: imx5: tzic_init_irq() can directly be .init_irq hook Shawn Guo
2014-05-20  8:45 ` [PATCH 09/20] ARM: imx5: remove function imx51_soc_init() Shawn Guo
2014-05-20  8:45 ` [PATCH 10/20] ARM: imx5: call mxc_timer_init_dt() on imx51 Shawn Guo
2014-05-20  8:45 ` [PATCH 11/20] ARM: imx5: retrieve iim base from device tree Shawn Guo
2014-05-20  8:45 ` [PATCH 12/20] ARM: imx5: remove header crm-regs-imx5.h Shawn Guo
2014-05-20  8:45 ` [PATCH 13/20] ARM: imx5: use dynamic mapping for CCM block Shawn Guo
2014-05-20  8:45 ` [PATCH 14/20] ARM: imx5: use dynamic mapping for DPLL block Shawn Guo
2014-05-20  8:45 ` [PATCH 15/20] ARM: imx5: reuse clock CCM mapping in pm code Shawn Guo
2014-05-20  8:45 ` [PATCH 16/20] ARM: imx5: use dynamic mapping for Cortex and GPC block Shawn Guo
2014-05-20  8:45 ` [PATCH 17/20] ARM: imx5: move init hooks into mach-imx5x.c Shawn Guo
2014-05-20 11:53   ` Shawn Guo
2014-05-20  8:45 ` [PATCH 18/20] ARM: imx5: remove file mm-imx5.c Shawn Guo
2014-05-20  9:42   ` Alexander Shiyan
2014-05-20 11:50     ` Shawn Guo
2014-05-20  8:45 ` [PATCH 19/20] ARM: imx5: clean function declarations in mx51.h Shawn Guo
2014-05-20  8:45 ` [PATCH 20/20] ARM: imx5: remove mx51.h and mx53.h Shawn Guo
2014-05-21  6:21 ` [PATCH v2 00/20] ARM: imx: clean up i.MX5 support Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140520114700.GA20778@dragon \
    --to=shawn.guo@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).