linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] initial omap DT support for v3.2 merge window (Re: [PATCH 26/30] ARM: omap: add board autoselection)
Date: Fri, 14 Oct 2011 09:02:09 -0700	[thread overview]
Message-ID: <20111014160209.GA27515@atomide.com> (raw)
In-Reply-To: <20111005010550.GX6324@atomide.com>

Arnd,

* Tony Lindgren <tony@atomide.com> [111004 17:32]:
> * Arnd Bergmann <arnd@arndb.de> [111004 11:55]:
> > On Tuesday 04 October 2011 08:57:52 Tony Lindgren wrote:
> > > * Arnd Bergmann <arnd@arndb.de> [111004 00:10]:
> > > > On Monday 03 October 2011, Tony Lindgren wrote:
> > > >
> > > > > Yes please leave out the list so we don't need to constantly update it.
> > > > > Let's just always build in MACH_OMAP_GENERIC.
> > > > 
> > > > That's what I had initially, but now that board file has become
> > > > omap2-specific and no longer works on omap3-only or omap4-only
> > > > configurations.
> > > 
> > > Will send a pull request for basic DT bootstrap support from Benoit
> > > that fixes that. So maybe let's sort that out first, then always
> > > select it?
> > 
> > Yes, sounds good. That is certainly the better solution in the long run.
> 
> Here you are. We had to rebase it earlier today because of the
> SOB update in fixes branch for the musb related fix that's needed
> here to avoid a merge conflict.
> 
> This series pretty much depends and conflicts with all the ealier
> branches, so I created a new dt-base branch to deal with the merge
> conflicts. If you prefer some other base, please let me know.
> 
> If you prefer to build some other merge base yourself, see the
> attached patch that's needed to avoid two build warnings after
> merging the various base branches together.
> 
> The dt-base I did is a merge of cleanup-part3, voltage, dmtimer
> and l3 into fixes. You may not yet have l3 and fixes pulled in,
> I sent pull requests for those yesterday. The others you have
> already pulled I believe.
> 
> Despite using the merge base this will cause a minor merge conflict
> in board-generic.c with Nicolas Pitre's earlier patch titled
> "ARM: mach-omap2: convert boot_params to atag_offset". The 
> atag_offset can be just left out, as the default will work.

Ping, any news on merging these? It would be nice to get these out of
the way so we have something to base other branches on without having
constant merge conflicts.
 
> Regards,
> 
> Tony
> 
> 
> The following changes since commit c541c15fb5ab48c47bc9b90121538fd30d152f23:
>   Tony Lindgren (1):
>         Merge branches 'cleanup-part3', 'voltage', 'dmtimer' and 'l3' into dt-base
> 
> are available in the git repository at:
> 
>   git://github.com/tmlind/linux.git dt
> 
> Benoit Cousson (18):
>       ARM: OMAP3: beagle-board: Use the omap_hwmod_name_get_dev API
>       ARM: OMAP2+: pm: Use hwmod name instead of dev pointer
>       ARM: OMAP2+: pm: Remove static devices variable for mpu, dsp, iva and l3 PM
>       ARM: OMAP: omap_device: Create a default omap_device_pm_latency
>       ARM: OMAP2+: devices: Remove all omap_device_pm_latency structures
>       of: Add helpers to get one string in multiple strings property
>       ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration
>       ARM: OMAP: omap_device: Add a method to build an omap_device from a DT node
>       arm/dts: Add initial device tree support for OMAP4 SoC
>       arm/dts: Add support for OMAP4 PandaBoard
>       arm/dts: Add support for OMAP4 SDP board
>       arm/dts: Add initial device tree support for OMAP3 SoC
>       arm/dts: Add support for OMAP3 Beagle board
>       ARM: OMAP2+: board-generic: Add DT support to generic board
>       ARM: OMAP2+: board-generic: Add i2c static init
>       ARM: OMAP2+: l3-noc: Add support for device-tree
>       arm/dts: OMAP4: Add a main ocp entry bound to l3-noc driver
>       arm/dts: OMAP3+: Add mpu, dsp and iva nodes
> 
> Nishanth Menon (1):
>       ARM: OMAP: omap_device: Add omap_device_get_by_hwmod_name
> 
> Tony Lindgren (1):
>       Merge branch 'for_3.2/3_omap_devicetree' of git://gitorious.org/omap-pm/linux into dt
> 
>  Documentation/devicetree/bindings/arm/omap/dsp.txt |   14 +
>  Documentation/devicetree/bindings/arm/omap/iva.txt |   19 ++
>  .../devicetree/bindings/arm/omap/l3-noc.txt        |   19 ++
>  Documentation/devicetree/bindings/arm/omap/mpu.txt |   27 ++
>  .../devicetree/bindings/arm/omap/omap.txt          |   43 +++
>  arch/arm/boot/dts/omap3-beagle.dts                 |   29 ++
>  arch/arm/boot/dts/omap3.dtsi                       |   63 ++++
>  arch/arm/boot/dts/omap4-panda.dts                  |   29 ++
>  arch/arm/boot/dts/omap4-sdp.dts                    |   29 ++
>  arch/arm/boot/dts/omap4.dtsi                       |  103 +++++++
>  arch/arm/mach-omap2/Kconfig                        |    8 +-
>  arch/arm/mach-omap2/board-generic.c                |  156 ++++++++---
>  arch/arm/mach-omap2/board-omap3beagle.c            |    4 +-
>  arch/arm/mach-omap2/devices.c                      |   51 +---
>  arch/arm/mach-omap2/display.c                      |   11 +-
>  arch/arm/mach-omap2/dma.c                          |   11 +-
>  arch/arm/mach-omap2/gpio.c                         |   12 +-
>  arch/arm/mach-omap2/hsmmc.c                        |   18 +-
>  arch/arm/mach-omap2/hwspinlock.c                   |   12 +-
>  arch/arm/mach-omap2/mcbsp.c                        |   11 +-
>  arch/arm/mach-omap2/omap_l3_noc.c                  |   25 ++-
>  arch/arm/mach-omap2/pm.c                           |   72 ++---
>  arch/arm/mach-omap2/serial.c                       |   25 +--
>  arch/arm/mach-omap2/sr_device.c                    |   11 +-
>  arch/arm/mach-omap2/usb-musb.c                     |   11 +-
>  arch/arm/plat-omap/i2c.c                           |   10 +-
>  arch/arm/plat-omap/include/plat/omap_device.h      |    1 +
>  arch/arm/plat-omap/omap_device.c                   |  313 +++++++++++++++++---
>  drivers/of/base.c                                  |   84 ++++++
>  include/linux/of.h                                 |   18 ++
>  30 files changed, 929 insertions(+), 310 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/arm/omap/dsp.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/omap/iva.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/omap/l3-noc.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/omap/mpu.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/omap/omap.txt
>  create mode 100644 arch/arm/boot/dts/omap3-beagle.dts
>  create mode 100644 arch/arm/boot/dts/omap3.dtsi
>  create mode 100644 arch/arm/boot/dts/omap4-panda.dts
>  create mode 100644 arch/arm/boot/dts/omap4-sdp.dts
>  create mode 100644 arch/arm/boot/dts/omap4.dtsi

> --- a/arch/arm/mach-omap2/timer.c
> +++ b/arch/arm/mach-omap2/timer.c
> @@ -434,7 +434,7 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused)
>  	int ret = 0;
>  	char *name = "omap_timer";
>  	struct dmtimer_platform_data *pdata;
> -	struct omap_device *od;
> +	struct platform_device *pdev;
>  	struct omap_timer_capability_dev_attr *timer_dev_attr;
>  	struct powerdomain *pwrdm;
>  
> @@ -476,12 +476,12 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused)
>  #ifdef CONFIG_PM
>  	pdata->get_context_loss_count = omap_pm_get_dev_context_loss_count;
>  #endif
> -	od = omap_device_build(name, id, oh, pdata, sizeof(*pdata),
> +	pdev = omap_device_build(name, id, oh, pdata, sizeof(*pdata),
>  			omap2_dmtimer_latency,
>  			ARRAY_SIZE(omap2_dmtimer_latency),
>  			0);
>  
> -	if (IS_ERR(od)) {
> +	if (IS_ERR(pdev)) {
>  		pr_err("%s: Can't build omap_device for %s: %s.\n",
>  			__func__, name, oh->name);
>  		ret = -EINVAL;
> --- a/arch/arm/mach-omap2/usb-musb.c
> +++ b/arch/arm/mach-omap2/usb-musb.c
> @@ -115,7 +115,6 @@ static struct omap_musb_board_data musb_default_board_data = {
>  void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
>  {
>  	struct omap_hwmod		*oh;
> -	struct omap_device		*od;
>  	struct platform_device		*pdev;
>  	struct device			*dev;
>  	int				bus_id = -1;
> @@ -145,22 +144,20 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
>  		name = "musb-omap2430";
>  	}
>  
> -	oh = omap_hwmod_lookup(oh_name);
> -	if (!oh) {
> -		pr_err("Could not look up %s\n", oh_name);
> -		return;
> -	}
> +        oh = omap_hwmod_lookup(oh_name);
> +        if (WARN(!oh, "%s: could not find omap_hwmod for %s\n",
> +                 __func__, oh_name))
> +                return;
>  
> -	od = omap_device_build(name, bus_id, oh, &musb_plat,
> +	pdev = omap_device_build(name, bus_id, oh, &musb_plat,
>  			       sizeof(musb_plat), omap_musb_latency,
>  			       ARRAY_SIZE(omap_musb_latency), false);
> -	if (IS_ERR(od)) {
> +	if (IS_ERR(pdev)) {
>  		pr_err("Could not build omap_device for %s %s\n",
>  						name, oh_name);
>  		return;
>  	}
>  
> -	pdev = &od->pdev;
>  	dev = &pdev->dev;
>  	get_device(dev);
>  	dev->dma_mask = &musb_dmamask;

  reply	other threads:[~2011-10-14 16:02 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02 14:45 [PATCH 00/30] ARM/omap: omap specific randconfig fixes Arnd Bergmann
2011-10-02 14:45 ` [PATCH 01/30] sound/omap: omap_mcpdm_remove cannot be __devexit Arnd Bergmann
2011-10-02 19:24   ` Mark Brown
2011-10-02 14:45 ` [PATCH 02/30] video/omap: fix dependencies Arnd Bergmann
2011-10-03  6:53   ` Tomi Valkeinen
2011-10-03  9:51     ` Arnd Bergmann
2011-10-02 14:45 ` [PATCH 03/30] video/omap: fix build dependencies Arnd Bergmann
2011-10-03  6:59   ` Tomi Valkeinen
2011-10-03  9:51     ` Arnd Bergmann
2011-10-02 14:45 ` [PATCH 04/30] ARM: omap: add missing __devexit_p() annotations Arnd Bergmann
2011-10-02 15:56   ` Bjarne Steinsbo
2011-10-02 16:09     ` Russell King - ARM Linux
2011-10-03 17:46       ` Tony Lindgren
2011-10-03 17:48     ` Tony Lindgren
2011-10-03  4:59   ` Santosh Shilimkar
2011-10-02 14:45 ` [PATCH 05/30] ARM: omap: enable building omap2 without omap2420/2430 Arnd Bergmann
2011-10-03  5:07   ` Santosh Shilimkar
2011-10-03 17:53   ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 06/30] ARM: omap: fix build with CONFIG_I2C_OMAP disabled Arnd Bergmann
2011-10-03  5:06   ` Santosh Shilimkar
2011-10-02 14:45 ` [PATCH 07/30] ARM: omap: fix visibility of omap2_mbox_iva_priv Arnd Bergmann
2011-10-03  5:08   ` Santosh Shilimkar
2011-10-02 14:45 ` [PATCH 08/30] ARM: omap2+: fix building without i2c Arnd Bergmann
2011-10-03  1:31   ` Paul Walmsley
2011-10-03  9:49     ` Arnd Bergmann
2011-10-03 17:56       ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 09/30] ARM: omap2: export functions used by nand driver Arnd Bergmann
2011-10-03 17:56   ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 10/30] ARM: omap/iommu: always provide iommu debug code Arnd Bergmann
2011-10-02 16:34   ` Ohad Ben-Cohen
2011-10-02 18:01     ` Arnd Bergmann
2011-10-02 18:21       ` Ohad Ben-Cohen
2011-10-03 17:57   ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 11/30] ARM: omap2/n8x0: work around modular omap mmc Arnd Bergmann
2011-10-02 15:53   ` Russell King - ARM Linux
2011-10-02 18:54     ` Arnd Bergmann
2011-10-03 18:03       ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 12/30] ARM: omap4: always build omap_phy_internal Arnd Bergmann
2011-10-03 18:04   ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 13/30] ARM: omap2+: fix omap_hdq_init compilation Arnd Bergmann
2011-10-03  5:11   ` Santosh Shilimkar
2011-10-03 18:06     ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 14/30] ARM: omap2: irq.c is always needed Arnd Bergmann
2011-10-03  5:14   ` Santosh Shilimkar
2011-10-02 14:45 ` [PATCH 15/30] usb/musb: use a Kconfig choice to pick the right DMA method Arnd Bergmann
2011-10-02 16:14   ` Russell King - ARM Linux
2011-10-02 18:00     ` Arnd Bergmann
2011-10-02 18:56       ` Felipe Balbi
2011-10-02 19:44         ` Arnd Bergmann
2011-10-02 22:10           ` Felipe Balbi
2011-10-03  9:40             ` Arnd Bergmann
2011-10-03 10:07               ` Felipe Balbi
2011-10-10  6:10   ` Felipe Balbi
2011-10-02 14:45 ` [PATCH 16/30] usb/musb: HDRC depends on TWL4030_CORE for OMAP3/4 Arnd Bergmann
2011-10-02 18:59   ` Felipe Balbi
2011-10-02 14:45 ` [PATCH 17/30] usb/musb: allow building USB_MUSB_TUSB6010 as a module Arnd Bergmann
2011-10-03 18:14   ` Tony Lindgren
2011-10-10  6:10   ` Felipe Balbi
2011-10-02 14:45 ` [PATCH 18/30] omap-usb: automatically select MFD_OMAP_USB_HOST Arnd Bergmann
2011-10-04 11:00   ` Samuel Ortiz
2011-10-02 14:45 ` [PATCH 19/30] tty/serial/omap: console can only be built-in Arnd Bergmann
2011-10-03  4:53   ` Govindraj
2011-10-02 14:45 ` [PATCH 20/30] media/omap_vout: disable driver for now Arnd Bergmann
2011-10-03  6:09   ` Archit Taneja
2011-10-03  9:16     ` Arnd Bergmann
2011-10-02 14:45 ` [PATCH 21/30] sound/soc/omap: limit to omap2plus Arnd Bergmann
2011-10-02 17:40   ` Jarkko Nikula
2011-10-02 18:03     ` Arnd Bergmann
2011-10-02 18:24       ` Jarkko Nikula
2011-10-02 18:30         ` Arnd Bergmann
2011-10-02 19:18   ` Mark Brown
2011-10-02 14:45 ` [PATCH 22/30] mfd: build twl6030 only on omap2 Arnd Bergmann
2011-10-04 10:47   ` Samuel Ortiz
2011-10-04 14:47     ` Arnd Bergmann
2011-10-02 14:45 ` [PATCH 23/30] ARM: omap2: select twl4030 support on boards that need it Arnd Bergmann
2011-10-03  5:19   ` Santosh Shilimkar
2011-10-03 11:03     ` Arnd Bergmann
2011-10-03 18:18   ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 24/30] ARM: omap2+: ensure that one of omap2/3/4 is selected Arnd Bergmann
2011-10-03  5:20   ` Santosh Shilimkar
2011-10-03 18:21     ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 25/30] ARM: OMAP depends on MMU Arnd Bergmann
2011-10-03  5:21   ` Santosh Shilimkar
2011-10-03 18:22     ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 26/30] ARM: omap: add board autoselection Arnd Bergmann
2011-10-03  5:28   ` Santosh Shilimkar
2011-10-03  9:11     ` Arnd Bergmann
2011-10-03  9:19       ` Santosh Shilimkar
2011-10-03  9:27       ` Cousson, Benoit
2011-10-03  9:54         ` Arnd Bergmann
2011-10-03 18:26           ` Tony Lindgren
2011-10-04  7:44             ` Arnd Bergmann
2011-10-04 15:57               ` Tony Lindgren
2011-10-04 19:29                 ` Arnd Bergmann
2011-10-05  1:05                   ` [GIT PULL] initial omap DT support for v3.2 merge window (Re: [PATCH 26/30] ARM: omap: add board autoselection) Tony Lindgren
2011-10-14 16:02                     ` Tony Lindgren [this message]
2011-10-02 14:45 ` [PATCH 27/30] ARM: omap: select L2X0 cache on omap4 Arnd Bergmann
2011-10-03  5:29   ` Santosh Shilimkar
2011-10-03 18:27     ` Tony Lindgren
2011-10-02 14:45 ` [PATCH 28/30] ARM: omap: select CPU_FREQ_TABLE where needed Arnd Bergmann
2011-10-03  5:39   ` Santosh Shilimkar
2011-10-03  9:15     ` Arnd Bergmann
2011-10-03  9:33       ` Santosh Shilimkar
2011-10-02 14:45 ` [PATCH 29/30] ARM: omap: select USB_ARCH_HAS_EHCI only when USB is enabled Arnd Bergmann
2011-10-03 18:27   ` Tony Lindgren
2011-10-02 14:46 ` [PATCH 30/30] ARM: omap2: select ARM_AMBA for OMAP3_EMU Arnd Bergmann
2011-10-03  5:31   ` Santosh Shilimkar
2011-10-03 18:28     ` Tony Lindgren
2011-10-03  5:05 ` [PATCH 00/30] ARM/omap: omap specific randconfig fixes Santosh Shilimkar
2011-10-03  9:22   ` Arnd Bergmann
2011-10-03  9:42     ` Santosh Shilimkar
2011-10-03 18:29       ` Tony Lindgren

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=20111014160209.GA27515@atomide.com \
    --to=tony@atomide.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).