linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx: Add some core definitions for MX53
Date: Wed, 27 Oct 2010 08:36:19 -0500	[thread overview]
Message-ID: <4CC82AD3.6090300@gmail.com> (raw)
In-Reply-To: <20101027090921.GB8554@pengutronix.de>

On 10/27/2010 04:09 AM, Uwe Kleine-K?nig wrote:
> Hello,
>
> On Wed, Oct 27, 2010 at 09:29:59AM +0100, Grant Likely wrote:
>>> ---
>>>   arch/arm/plat-mxc/include/mach/iomux-mx53.h |  301 +++++++++++++++++++
>>>   arch/arm/plat-mxc/include/mach/mx53.h       |  433 +++++++++++++++++++++++++++
>>
>> Hi Dinh.
>>
>> In general, these definitions should not be added until they are
>> actually needed by driver code.
> ack.
>
>> Also, from my understanding, the mx53 is very similar to the mx51.
>> If I'm correct, then they should be sharing the same set of #defines.
> Note, I asked for a seperate header file.  See
> http://thread.gmane.org/gmane.linux.kernel/1051001/focus=1051352
>
>> What is the diff between *mx51.h and *mx53.h?
> Just from a quick look at least some base addresses are different.
> (e.g. MX51_DEBUG_BASE_ADDRESS = 0x60000000, MX53_DEBUG_BASE_ADDRESS =
> 0x40000000; SPBA0, AIPS1 and AIPS2 differ, too)

It is quite simple for these buses. Subtract 0x20000000 from MX51 
address and you have the MX53 address. MX53 has some additional 
peripherals, but otherwise the common peripherals are all at the same 
relative offsets. A 3rd MX5 derivative also has the same memory map as 
MX53 with slightly different peripheral mix.

Rob

      parent reply	other threads:[~2010-10-27 13:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26 18:53 [PATCH] ARM: imx: Add some core definitions for MX53 Dinh.Nguyen at freescale.com
2010-10-26 19:10 ` Uwe Kleine-König
2010-10-26 22:37   ` Nguyen Dinh-R00091
2010-10-27  8:29 ` Grant Likely
2010-10-27  9:09   ` Uwe Kleine-König
2010-10-27 10:22     ` Grant Likely
2010-10-27 13:22       ` Sascha Hauer
2010-10-27 13:33         ` Eric Bénard
2010-10-27 13:56           ` Sascha Hauer
2010-10-27 14:57             ` Nguyen Dinh-R00091
2010-10-27 16:31               ` Sascha Hauer
2010-10-27 23:44         ` Robert Schwebel
2010-10-27 13:36     ` Rob Herring [this message]

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=4CC82AD3.6090300@gmail.com \
    --to=robherring2@gmail.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).