Re: [RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 & ES2 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Cousson, Benoit <b-cousson@xxxxxx> [101020 13:43]:
> 
> On 10/20/2010 1:06 AM, Tony Lindgren wrote:
> >* Benoit Cousson<b-cousson@xxxxxx>  [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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux