All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Cousson, Benoit" <b-cousson@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Menon, Nishanth" <nm@ti.com>
Subject: Re: [RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 & ES2 support
Date: Thu, 11 Nov 2010 08:53:25 -0800	[thread overview]
Message-ID: <20101111165325.GQ9264@atomide.com> (raw)
In-Reply-To: <4CBF568B.2010909@ti.com>

* Cousson, Benoit <b-cousson@ti.com> [101020 13:43]:
> 
> On 10/20/2010 1:06 AM, Tony Lindgren wrote:
> >* Benoit Cousson<b-cousson@ti.com>  [101019 15:14]:
> >>
> >>It takes into account your proposal to store partition
> >>information in a partition structure instead of inside every pad entries.
> >>The mechanism relies on the uniqueness of the pad name in each partition to
> >>find the correct partition during iteration.
> >
> >OK, using the offset defines won't be unique necessarily..
> 
> They should. The defines are all based on pad names that are all
> unique. Assuming HW folks didn't messed up the spec...

Just for the record to avoid confusion.. What I meant is the
offset values from the partition base are not unique even
if the define names are unique:

/* ctrl_module_pad_core registers offset */
#define OMAP4_CTRL_MODULE_PAD_GPMC_AD0_OFFSET                   0x0040
#define OMAP4_CTRL_MODULE_PAD_GPMC_AD1_OFFSET                   0x0042
#define OMAP4_CTRL_MODULE_PAD_GPMC_AD2_OFFSET                   0x0044
...

/* ctrl_module_pad_wkup registers offset */
#define OMAP4_CTRL_MODULE_PAD_SIM_IO_OFFSET                     0x0040
#define OMAP4_CTRL_MODULE_PAD_SIM_CLK_OFFSET                    0x0042
#define OMAP4_CTRL_MODULE_PAD_SIM_RESET_OFFSET                  0x0044
...

So now we have to use either a unique pad name, or a combination of
partition + offset.

Regards,

Tony

  reply	other threads:[~2010-11-11 16:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 22:22 [RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 & ES2 support Benoit Cousson
2010-10-19 22:22 ` [RFC v2 1/7] OMAP: mux: Replace printk with pr_xxx macros Benoit Cousson
2010-10-19 22:22 ` [RFC v2 2/7] OMAP3: RX-51: Temporary disable dynamic mux change for eMMC Benoit Cousson
2010-10-19 22:22 ` [RFC v2 3/7] OMAP: mux: Add support for control module split in several partitions Benoit Cousson
2010-11-11 16:35   ` Tony Lindgren
2010-11-11 16:50     ` Cousson, Benoit
2010-11-11 16:55       ` Tony Lindgren
2010-10-19 22:22 ` [RFC v2 4/7] OMAP4: mux: Add CBL package data for OMAP4430 ES1 Benoit Cousson
2010-11-11  1:56   ` Tony Lindgren
2010-11-11 12:33     ` Cousson, Benoit
2010-11-11 16:38       ` Tony Lindgren
2010-11-11 16:55         ` Cousson, Benoit
2010-10-19 22:22 ` [RFC v2 5/7] OMAP4: mux: Select CBL package for SDP4430 with ES1 Benoit Cousson
2010-10-19 22:22 ` [RFC v2 6/7] OMAP4: mux: Add CBS package data for OMAP4430 ES2 Benoit Cousson
2010-10-19 22:22 ` [RFC v2 7/7] OMAP4: mux: Select CBS package for SDP4430 with ES2 Benoit Cousson
2010-10-19 23:06 ` [RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 & ES2 support Tony Lindgren
2010-10-20 20:52   ` Cousson, Benoit
2010-11-11 16:53     ` Tony Lindgren [this message]
2010-11-11 17:02       ` Cousson, Benoit

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=20101111165325.GQ9264@atomide.com \
    --to=tony@atomide.com \
    --cc=b-cousson@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.