public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: peter.ujfalusi@ti•com (Peter Ujfalusi)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 13/16] ARM: omap: move platform_data definitions
Date: Tue, 11 Sep 2012 16:52:39 +0300	[thread overview]
Message-ID: <504F4227.4080206@ti.com> (raw)
In-Reply-To: <1347368390-31252-13-git-send-email-arnd@arndb.de>

Hi Arnd,

On 09/11/2012 03:59 PM, Arnd Bergmann wrote:
> Platform data for device drivers should be defined in
> include/linux/platform_data/*.h, not in the architecture
> and platform specific directories.
> 
> This moves such data out of the omap include directories
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb•de>
> Cc: Tony Lindgren <tony@atomide•com>
> Cc: Kevin Hilman <khilman@ti•com>
> Cc: "Beno?t Cousson" <b-cousson@ti•com>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail•com>
> Cc: David Woodhouse <dwmw2@infradead•org>
> Cc: Kyungmin Park <kyungmin.park@samsung•com>
> Cc: Ohad Ben-Cohen <ohad@wizery•com>
> Cc: Grant Likely <grant.likely@secretlab•ca>
> Cc: Omar Ramirez Luna <omar.ramirez@ti•com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation•org>
> Cc: Tomi Valkeinen <tomi.valkeinen@ti•com>
> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx•de>
> Cc: Peter Ujfalusi <peter.ujfalusi@ti•com>
> Cc: Jarkko Nikula <jarkko.nikula@bitmer•com>
> Cc: Liam Girdwood <lrg@ti•com>
> Cc: Mark Brown <broonie@opensource•wolfsonmicro.com>
> Cc: Artem Bityutskiy <artem.bityutskiy@linux•intel.com>
> Cc: Jean Pihet <j-pihet@ti•com>
> Cc: J Keerthy <j-keerthy@ti•com>
> Cc: linux-omap at vger.kernel.org
> ---
>  arch/arm/mach-omap1/board-ams-delta.c                              |    2 +-
>  arch/arm/mach-omap1/board-fsample.c                                |    2 +-
>  arch/arm/mach-omap1/board-h2.c                                     |    2 +-
>  arch/arm/mach-omap1/board-h3.c                                     |    2 +-
>  arch/arm/mach-omap1/board-htcherald.c                              |    2 +-
>  arch/arm/mach-omap1/board-innovator.c                              |    2 +-
>  arch/arm/mach-omap1/board-nokia770.c                               |    4 ++--
>  arch/arm/mach-omap1/board-osk.c                                    |    2 +-
>  arch/arm/mach-omap1/board-palmte.c                                 |    2 +-
>  arch/arm/mach-omap1/board-palmtt.c                                 |    2 +-
>  arch/arm/mach-omap1/board-palmz71.c                                |    2 +-
>  arch/arm/mach-omap1/board-perseus2.c                               |    2 +-
>  arch/arm/mach-omap1/board-sx1.c                                    |    2 +-
>  arch/arm/mach-omap1/mcbsp.c                                        |    2 +-
>  arch/arm/mach-omap2/board-3430sdp.c                                |    2 +-
>  arch/arm/mach-omap2/board-cm-t35.c                                 |    4 ++--
>  arch/arm/mach-omap2/board-cm-t3517.c                               |    2 +-
>  arch/arm/mach-omap2/board-devkit8000.c                             |    4 ++--
>  arch/arm/mach-omap2/board-flash.c                                  |    4 ++--
>  arch/arm/mach-omap2/board-igep0020.c                               |    2 +-
>  arch/arm/mach-omap2/board-ldp.c                                    |    2 +-
>  arch/arm/mach-omap2/board-n8x0.c                                   |    4 ++--
>  arch/arm/mach-omap2/board-omap3beagle.c                            |    2 +-
>  arch/arm/mach-omap2/board-omap3evm.c                               |    4 ++--
>  arch/arm/mach-omap2/board-omap3pandora.c                           |    4 ++--
>  arch/arm/mach-omap2/board-omap3stalker.c                           |    4 ++--
>  arch/arm/mach-omap2/board-omap3touchbook.c                         |    4 ++--
>  arch/arm/mach-omap2/board-overo.c                                  |    4 ++--
>  arch/arm/mach-omap2/board-rm680.c                                  |    2 +-
>  arch/arm/mach-omap2/board-rx51-peripherals.c                       |    4 ++--
>  arch/arm/mach-omap2/board-rx51-video.c                             |    2 +-
>  arch/arm/mach-omap2/board-rx51.c                                   |    2 +-
>  arch/arm/mach-omap2/board-zoom-display.c                           |    2 +-
>  arch/arm/mach-omap2/common-board-devices.c                         |    4 ++--
>  arch/arm/mach-omap2/devices.c                                      |    2 +-
>  arch/arm/mach-omap2/dsp.c                                          |    2 +-
>  arch/arm/mach-omap2/gpmc-nand.c                                    |    2 +-
>  arch/arm/mach-omap2/gpmc-onenand.c                                 |    2 +-
>  arch/arm/mach-omap2/mcbsp.c                                        |    2 +-
>  arch/arm/mach-omap2/omap_hwmod_2420_data.c                         |    2 +-
>  arch/arm/mach-omap2/omap_hwmod_2430_data.c                         |    4 ++--
>  arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c                 |    2 +-
>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c                         |    4 ++--
>  arch/arm/mach-omap2/omap_hwmod_44xx_data.c                         |    4 ++--
>  arch/arm/mach-omap2/voltage.h                                      |    2 +-
>  arch/arm/plat-omap/common.c                                        |    2 +-
>  drivers/input/keyboard/omap-keypad.c                               |    2 +-
>  drivers/mtd/nand/omap2.c                                           |    2 +-
>  drivers/mtd/onenand/omap2.c                                        |    2 +-
>  drivers/remoteproc/omap_remoteproc.c                               |    2 +-
>  drivers/spi/spi-omap2-mcspi.c                                      |    2 +-
>  drivers/staging/tidspbridge/core/dsp-clock.c                       |    2 +-
>  drivers/staging/tidspbridge/core/tiomap3430.c                      |    2 +-
>  drivers/staging/tidspbridge/core/tiomap3430_pwr.c                  |    2 +-
>  drivers/staging/tidspbridge/core/tiomap_io.c                       |    2 +-
>  drivers/staging/tidspbridge/rmgr/drv_interface.c                   |    2 +-
>  drivers/video/omap/lcd_mipid.c                                     |    2 +-
>  .../plat/mcbsp.h => include/linux/platform_data/dsp-mcbsp.h        |    0

OMAP McBSP has nothing to do with a dsp.
A better name would be: ti-mcbsp.h (or leave it as mcbsp.h)
McBSP stands for: Multichannel Buffered Serial Port and it is used for audio
connection (I2S, TDM, etc).

>  .../include/plat/dsp.h => include/linux/platform_data/dsp-omap.h   |    0
>  .../plat/keypad.h => include/linux/platform_data/keypad-omap.h     |    0
>  .../plat/lcd_mipid.h => include/linux/platform_data/lcd-mipid.h    |    0
>  .../plat/nand.h => include/linux/platform_data/mtd-nand-omap2.h    |    0
>  .../onenand.h => include/linux/platform_data/mtd-onenand-omap2.h   |    0
>  .../remoteproc.h => include/linux/platform_data/remoteproc-omap.h  |    0
>  .../voltage.h => include/linux/platform_data/smartreflex-omap.h    |    0
>  .../plat/mcspi.h => include/linux/platform_data/spi-omap2-mcspi.h  |    0
>  include/linux/power/smartreflex.h                                  |    2 +-

Let me see these:

This four drivers are going to be removed via sound tree.
>  sound/soc/omap/igep0020.c                                          |    2 +-
>  sound/soc/omap/omap3beagle.c                                       |    2 +-
>  sound/soc/omap/omap3evm.c                                          |    2 +-
>  sound/soc/omap/overo.c                                             |    2 +-

The new driver which replaces these (omap-twl4030.c) does not include
plat/mcbsp.h

>From these ASoC machine drivers you can just remove the <plat/mcbsp.h>
include since they should not include them (I have pending patch for this to
be sent):
>  sound/soc/omap/am3517evm.c                                         |    2 +-
>  sound/soc/omap/ams-delta.c                                         |    2 +-
>  sound/soc/omap/n810.c                                              |    2 +-
>  sound/soc/omap/omap3pandora.c                                      |    2 +-
>  sound/soc/omap/osk5912.c                                           |    2 +-
>  sound/soc/omap/rx51.c                                              |    2 +-
>  sound/soc/omap/sdp3430.c                                           |    2 +-
>  sound/soc/omap/zoom2.c                                             |    2 +-

>  sound/soc/omap/omap-mcbsp.c                                        |    2 +-
>  sound/soc/omap/mcbsp.c                                             |    2 +-

>  81 files changed, 87 insertions(+), 87 deletions(-)
>  rename arch/arm/plat-omap/include/plat/mcbsp.h => include/linux/platform_data/dsp-mcbsp.h (100%)
>  rename arch/arm/plat-omap/include/plat/dsp.h => include/linux/platform_data/dsp-omap.h (100%)
>  rename arch/arm/plat-omap/include/plat/keypad.h => include/linux/platform_data/keypad-omap.h (100%)
>  rename arch/arm/plat-omap/include/plat/lcd_mipid.h => include/linux/platform_data/lcd-mipid.h (100%)
>  rename arch/arm/plat-omap/include/plat/nand.h => include/linux/platform_data/mtd-nand-omap2.h (100%)
>  rename arch/arm/plat-omap/include/plat/onenand.h => include/linux/platform_data/mtd-onenand-omap2.h (100%)
>  rename arch/arm/plat-omap/include/plat/remoteproc.h => include/linux/platform_data/remoteproc-omap.h (100%)
>  rename arch/arm/plat-omap/include/plat/voltage.h => include/linux/platform_data/smartreflex-omap.h (100%)
>  rename arch/arm/plat-omap/include/plat/mcspi.h => include/linux/platform_data/spi-omap2-mcspi.h (100%)

-- 
P?ter

  reply	other threads:[~2012-09-11 13:52 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1347368245-30989-1-git-send-email-arnd@arndb.de>
2012-09-11 12:59 ` [PATCH 00/16] ARM: big platform data header rename Arnd Bergmann
2012-09-11 12:59   ` [PATCH 01/16] ARM: at91: move platform_data definitions Arnd Bergmann
2012-09-11 12:59     ` [PATCH 02/16] ARM: davinci: " Arnd Bergmann
2012-09-11 13:05       ` Felipe Balbi
2012-09-12 10:42       ` Hebbar, Gururaja
2012-09-12 17:11         ` Arnd Bergmann
2012-09-13  7:00           ` Hebbar, Gururaja
2012-09-11 12:59     ` [PATCH 03/16] ARM: ep93xx: " Arnd Bergmann
2012-09-11 16:26       ` H Hartley Sweeten
2012-09-11 17:16         ` Arnd Bergmann
2012-09-11 22:56       ` Ryan Mallon
2012-09-14  3:18       ` Vinod Koul
2012-09-11 12:59     ` [PATCH 04/16] ARM: imx: " Arnd Bergmann
2012-09-11 13:40       ` Guennadi Liakhovetski
2012-09-11 14:10         ` Arnd Bergmann
2012-09-11 14:31           ` Guennadi Liakhovetski
2012-09-12 15:52             ` Arnd Bergmann
2012-09-13  7:21               ` Shawn Guo
2012-09-11 13:45       ` Sascha Hauer
2012-09-14  3:17       ` Vinod Koul
2012-09-11 12:59     ` [PATCH 05/16] ARM: msm: " Arnd Bergmann
2012-09-11 21:07       ` David Brown
2012-09-11 12:59     ` [PATCH 06/16] ARM: netx: " Arnd Bergmann
2012-09-11 13:35       ` Sascha Hauer
2012-09-11 12:59     ` [PATCH 07/16] ARM: pxa: " Arnd Bergmann
2012-09-11 13:56       ` Igor Grinberg
2012-09-11 17:11       ` Jeff Garzik
2012-09-11 19:13       ` Marek Vasut
2012-09-11 19:36       ` Robert Jarzmik
2012-09-12 22:56       ` Paul Parsons
2012-09-13  8:46       ` stefan at sostec.de
2012-10-02 19:03       ` [PATCH] ARM: pxa: Fix build error caused by sram.h rename Chris Ball
2012-10-02 20:27         ` Arnd Bergmann
2012-10-05 14:48           ` Chris Ball
2012-10-05 18:57             ` Arnd Bergmann
2012-10-06  8:55               ` Mark Brown
2012-09-11 12:59     ` [PATCH 08/16] ARM: sa1100: move platform_data definitions Arnd Bergmann
2012-09-11 12:59     ` [PATCH 09/16] ARM: tegra: " Arnd Bergmann
2012-09-11 15:35       ` Stephen Warren
2012-09-12 16:21         ` Arnd Bergmann
2012-09-12 17:29           ` Stephen Warren
2012-09-11 15:42       ` Chris Ball
2012-09-11 17:05         ` Arnd Bergmann
2012-09-11 17:11           ` Chris Ball
2012-09-12 16:42           ` Chris Brand
2012-09-11 12:59     ` [PATCH 10/16] ARM: vt8500: " Arnd Bergmann
2012-09-11 20:54       ` Tony Prisk
2012-09-11 12:59     ` [PATCH 11/16] ARM: w90x900: " Arnd Bergmann
2012-09-11 12:59     ` [PATCH 12/16] ARM: nomadik: " Arnd Bergmann
2012-09-11 13:07       ` Felipe Balbi
2012-09-11 13:31       ` Linus Walleij
2012-09-11 13:46         ` Arnd Bergmann
2012-09-12 16:24         ` Arnd Bergmann
2012-09-11 18:29       ` Alessandro Rubini
2012-09-11 12:59     ` [PATCH 13/16] ARM: omap: " Arnd Bergmann
2012-09-11 13:52       ` Peter Ujfalusi [this message]
2012-09-12 17:20         ` Arnd Bergmann
2012-09-18  9:57           ` Peter Ujfalusi
2012-09-19 14:49             ` Arnd Bergmann
2012-09-12  7:16       ` Pihet-XID, Jean
2012-09-12 17:15         ` Arnd Bergmann
2012-09-12 17:40           ` Pihet-XID, Jean
2012-09-11 13:20     ` [PATCH 01/16] ARM: at91: " Jean-Christophe PLAGNIOL-VILLARD
2012-09-11 13:35       ` Nicolas Ferre
2012-09-14  3:18     ` Vinod Koul
2012-09-11 13:02   ` [PATCH 13/16] ARM: omap: " Arnd Bergmann
2012-09-11 13:02     ` [PATCH 14/16] ARM: orion: " Arnd Bergmann
2012-09-11 13:11       ` Thomas Petazzoni
2012-09-11 13:02     ` [PATCH 15/16] ARM: samsung: " Arnd Bergmann
2012-09-11 13:07       ` Felipe Balbi
2012-09-11 17:12       ` Jeff Garzik
2012-09-12  1:27       ` Jingoo Han
2012-09-12  2:20       ` Kukjin Kim
2012-09-12  5:44       ` Kyungmin Park
2012-09-11 13:02     ` [PATCH 16/16] ARM: spear: " Arnd Bergmann
2012-09-12  3:17       ` viresh kumar
2012-09-11 14:06     ` [PATCH 13/16] ARM: omap: " Shilimkar, Santosh
2012-09-11 14:17       ` Arnd Bergmann
2012-09-11 14:24         ` Shilimkar, Santosh
2012-09-11 16:09           ` Vaibhav Hiremath
2012-09-11 17:04             ` Arnd Bergmann
2012-09-11 17:36               ` Tony Lindgren
2012-09-12  3:53               ` Hiremath, Vaibhav
2012-09-12 17:55               ` Sekhar Nori

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=504F4227.4080206@ti.com \
    --to=peter.ujfalusi@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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