linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: orion/kirkwood and device tree
Date: Sun, 6 Nov 2011 17:05:38 +0100	[thread overview]
Message-ID: <20111106160538.GD19491@lunn.ch> (raw)
In-Reply-To: <201110312350.28475.michael@walle.cc>

On Mon, Oct 31, 2011 at 11:50:28PM +0100, Michael Walle wrote:
> i've already ported some marvell devices to DT. spi-orion, orion-wdt, rtc-mv 
> and mv_cesa. Atm i'm struggling with how to pass kirkwood_mbus_dram_info to 
> the device drivers (the old method is to pass it through platform_data)

Hi Michael

Soon to follow is my patch to cleanup the address mapping of orion
based platforms. I think this is one step towards solving your
kirkwood_mbus_dram_info problem. I think the next steps are:

Rename all the {kirkwood|dove|orion5x|mv78xx0}_mbus_dram_info to
orion_mbus_dram_info and move this variable into
arch/arm/plat-orion/addr-map.c.

Move all the address setup code which is currently in various drives
into arch/arm/plat-orion/addr-map.c. Remove orion_mbus_dram_info from
all the platform_data structures.

Try to consolidate the different device address setup code. A lot
looks very similar, so it should be possible.

      Andrew

  parent reply	other threads:[~2011-11-06 16:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20111031105740.GC29402@lunn.ch>
     [not found] ` <20111031152100.GR32165@titan.lakedaemon.net>
     [not found]   ` <20111031164042.GD29402@lunn.ch>
2011-10-31 22:50     ` orion/kirkwood and device tree Michael Walle
2011-10-31 22:54       ` Russell King - ARM Linux
2011-11-01  6:25       ` Andrew Lunn
2011-11-02 16:50       ` Jason
2011-11-02 22:03         ` Michael Walle
2011-11-03 18:15           ` memory map in fdt was: " Jason
2011-11-03 18:47           ` Jason
2011-11-03 21:50             ` Michael Walle
2011-11-04  9:21               ` Simon Guinot
2011-11-16 23:34                 ` Michael Walle
2011-11-04 14:01               ` Nicolas Pitre
2011-11-06 23:12                 ` Michael Walle
2011-11-06 16:05       ` Andrew Lunn [this message]
2011-11-06 22:40         ` Michael Walle
2011-11-07  6:27           ` Andrew Lunn
2011-11-07  2:35         ` Nicolas Pitre
2011-11-07  6:28           ` Andrew Lunn
2011-11-06 16:07       ` [PATCH 1/1] [orion] Consolidate the address map setup on Orion based platforms Andrew Lunn

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=20111106160538.GD19491@lunn.ch \
    --to=andrew@lunn.ch \
    --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).