Patchwork [GIT,PULL] ARM: OMAP5: hwmod, prm/cm data files and updates for 3.10

login
register
mail settings
Submitter Santosh Shilimkar
Date March 20, 2013, 8:40 a.m.
Message ID <1363768852-18125-1-git-send-email-santosh.shilimkar@ti.com>
Download mbox
Permalink /patch/229272/
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git for_3.10/omap5_data_files

Comments

Santosh Shilimkar - March 20, 2013, 8:40 a.m.
Tony,

Here is the pull request for OMAP5 data file patches which are on list from
last merge window. As aligned on list, I have dropped clock data from the
series. That means for the boot, one clock data patch needs to be applied.
It is available on my git tree in 'out_of_tree/omap5_clk_data' branch.

As discussed already on list, you will notice hwmod data loc has come down
from ~6000 lines to ~2000 lines becasue of removal of iospace, irq, dma data
as well as unused hwmods. Few hwmods for which dt conversion is pending are
not added as well but those would add max ~400 loc in future.

The following changes since commit a937536b868b8369b98967929045f1df54234323:

  Linux 3.9-rc3 (2013-03-17 15:59:32 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git for_3.10/omap5_data_files

for you to fetch changes up to 8a6a32e589a1a2a5a3fb8ebe8fc7426997bc6d89:

  ARM: OMAP5: Enable build and frameowrk initialisations (2013-03-19 14:09:11 +0530)

----------------------------------------------------------------
Benoit Cousson (7):
      ARM: OMAP5: PRM: Add OMAP54XX register and bitfield files
      ARM: OMAP5: CM: Add OMAP54XX register and bitfield files
      ARM: OMAP5: PRCM: Add OMAP54XX local MPU PRCM registers
      ARM: OMAP5: SCRM: Add OMAP54XX header file.
      ARM: OMAP2+: clockdomain data: Add OMAP54XX data and update the header
      ARM: OMAP5: powerdomain data: Add OMAP54XX data and update the header
      ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data

Santosh Shilimkar (4):
      ARM: OMAP5: hwmod_data: Fix UART sysc settings
      ARM: OMAP5: hwmod-data: Add timer clock activity flags
      ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data
      ARM: OMAP5: Enable build and frameowrk initialisations

 arch/arm/mach-omap2/Makefile                  |    4 +
 arch/arm/mach-omap2/clockdomain.h             |    1 +
 arch/arm/mach-omap2/clockdomains54xx_data.c   |  464 +++++
 arch/arm/mach-omap2/cm-regbits-54xx.h         | 1737 ++++++++++++++++
 arch/arm/mach-omap2/cm1_54xx.h                |  216 ++
 arch/arm/mach-omap2/cm2_54xx.h                |  392 ++++
 arch/arm/mach-omap2/io.c                      |    7 +
 arch/arm/mach-omap2/omap_hwmod.h              |    1 +
 arch/arm/mach-omap2/omap_hwmod_54xx_data.c    | 2151 ++++++++++++++++++++
 arch/arm/mach-omap2/powerdomain.h             |    1 +
 arch/arm/mach-omap2/powerdomains54xx_data.c   |  331 +++
 arch/arm/mach-omap2/prcm44xx.h                |    6 +
 arch/arm/mach-omap2/prcm_mpu54xx.h            |   92 +
 arch/arm/mach-omap2/prm-regbits-54xx.h        | 2701 +++++++++++++++++++++++++
 arch/arm/mach-omap2/prm54xx.h                 |  447 ++++
 arch/arm/mach-omap2/scrm54xx.h                |  231 +++
 arch/arm/mach-omap2/voltage.h                 |    1 +
 arch/arm/mach-omap2/voltagedomains54xx_data.c |  102 +
 18 files changed, 8885 insertions(+)
 create mode 100644 arch/arm/mach-omap2/clockdomains54xx_data.c
 create mode 100644 arch/arm/mach-omap2/cm-regbits-54xx.h
 create mode 100644 arch/arm/mach-omap2/cm1_54xx.h
 create mode 100644 arch/arm/mach-omap2/cm2_54xx.h
 create mode 100644 arch/arm/mach-omap2/omap_hwmod_54xx_data.c
 create mode 100644 arch/arm/mach-omap2/powerdomains54xx_data.c
 create mode 100644 arch/arm/mach-omap2/prcm_mpu54xx.h
 create mode 100644 arch/arm/mach-omap2/prm-regbits-54xx.h
 create mode 100644 arch/arm/mach-omap2/prm54xx.h
 create mode 100644 arch/arm/mach-omap2/scrm54xx.h
 create mode 100644 arch/arm/mach-omap2/voltagedomains54xx_data.c
Tony Lindgren - April 1, 2013, 5:05 p.m.
* Santosh Shilimkar <santosh.shilimkar@ti.com> [130320 01:43]:
> Tony,
> 
> Here is the pull request for OMAP5 data file patches which are on list from
> last merge window. As aligned on list, I have dropped clock data from the
> series. That means for the boot, one clock data patch needs to be applied.
> It is available on my git tree in 'out_of_tree/omap5_clk_data' branch.
> 
> As discussed already on list, you will notice hwmod data loc has come down
> from ~6000 lines to ~2000 lines becasue of removal of iospace, irq, dma data
> as well as unused hwmods. Few hwmods for which dt conversion is pending are
> not added as well but those would add max ~400 loc in future.
> 
> The following changes since commit a937536b868b8369b98967929045f1df54234323:
> 
>   Linux 3.9-rc3 (2013-03-17 15:59:32 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git for_3.10/omap5_data_files
> 
> for you to fetch changes up to 8a6a32e589a1a2a5a3fb8ebe8fc7426997bc6d89:
> 
>   ARM: OMAP5: Enable build and frameowrk initialisations (2013-03-19 14:09:11 +0530)

Paul, do you have any comments on these?

This branch should be queued separately because of the amount of
LOC it adds. But as you may have other PRCM related patches then it's
probably best that you queue it.

Regards,

Tony
 
> ----------------------------------------------------------------
> Benoit Cousson (7):
>       ARM: OMAP5: PRM: Add OMAP54XX register and bitfield files
>       ARM: OMAP5: CM: Add OMAP54XX register and bitfield files
>       ARM: OMAP5: PRCM: Add OMAP54XX local MPU PRCM registers
>       ARM: OMAP5: SCRM: Add OMAP54XX header file.
>       ARM: OMAP2+: clockdomain data: Add OMAP54XX data and update the header
>       ARM: OMAP5: powerdomain data: Add OMAP54XX data and update the header
>       ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data
> 
> Santosh Shilimkar (4):
>       ARM: OMAP5: hwmod_data: Fix UART sysc settings
>       ARM: OMAP5: hwmod-data: Add timer clock activity flags
>       ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data
>       ARM: OMAP5: Enable build and frameowrk initialisations
> 
>  arch/arm/mach-omap2/Makefile                  |    4 +
>  arch/arm/mach-omap2/clockdomain.h             |    1 +
>  arch/arm/mach-omap2/clockdomains54xx_data.c   |  464 +++++
>  arch/arm/mach-omap2/cm-regbits-54xx.h         | 1737 ++++++++++++++++
>  arch/arm/mach-omap2/cm1_54xx.h                |  216 ++
>  arch/arm/mach-omap2/cm2_54xx.h                |  392 ++++
>  arch/arm/mach-omap2/io.c                      |    7 +
>  arch/arm/mach-omap2/omap_hwmod.h              |    1 +
>  arch/arm/mach-omap2/omap_hwmod_54xx_data.c    | 2151 ++++++++++++++++++++
>  arch/arm/mach-omap2/powerdomain.h             |    1 +
>  arch/arm/mach-omap2/powerdomains54xx_data.c   |  331 +++
>  arch/arm/mach-omap2/prcm44xx.h                |    6 +
>  arch/arm/mach-omap2/prcm_mpu54xx.h            |   92 +
>  arch/arm/mach-omap2/prm-regbits-54xx.h        | 2701 +++++++++++++++++++++++++
>  arch/arm/mach-omap2/prm54xx.h                 |  447 ++++
>  arch/arm/mach-omap2/scrm54xx.h                |  231 +++
>  arch/arm/mach-omap2/voltage.h                 |    1 +
>  arch/arm/mach-omap2/voltagedomains54xx_data.c |  102 +
>  18 files changed, 8885 insertions(+)
>  create mode 100644 arch/arm/mach-omap2/clockdomains54xx_data.c
>  create mode 100644 arch/arm/mach-omap2/cm-regbits-54xx.h
>  create mode 100644 arch/arm/mach-omap2/cm1_54xx.h
>  create mode 100644 arch/arm/mach-omap2/cm2_54xx.h
>  create mode 100644 arch/arm/mach-omap2/omap_hwmod_54xx_data.c
>  create mode 100644 arch/arm/mach-omap2/powerdomains54xx_data.c
>  create mode 100644 arch/arm/mach-omap2/prcm_mpu54xx.h
>  create mode 100644 arch/arm/mach-omap2/prm-regbits-54xx.h
>  create mode 100644 arch/arm/mach-omap2/prm54xx.h
>  create mode 100644 arch/arm/mach-omap2/scrm54xx.h
>  create mode 100644 arch/arm/mach-omap2/voltagedomains54xx_data.c
Santosh Shilimkar - April 3, 2013, 3:52 a.m.
Paul,

On Monday 01 April 2013 10:35 PM, Tony Lindgren wrote:
> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130320 01:43]:
>> Tony,
>>
>> Here is the pull request for OMAP5 data file patches which are on list from
>> last merge window. As aligned on list, I have dropped clock data from the
>> series. That means for the boot, one clock data patch needs to be applied.
>> It is available on my git tree in 'out_of_tree/omap5_clk_data' branch.
>>
>> As discussed already on list, you will notice hwmod data loc has come down
>> from ~6000 lines to ~2000 lines becasue of removal of iospace, irq, dma data
>> as well as unused hwmods. Few hwmods for which dt conversion is pending are
>> not added as well but those would add max ~400 loc in future.
>>
>> The following changes since commit a937536b868b8369b98967929045f1df54234323:
>>
>>   Linux 3.9-rc3 (2013-03-17 15:59:32 -0700)
>>
>> are available in the git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git for_3.10/omap5_data_files
>>
>> for you to fetch changes up to 8a6a32e589a1a2a5a3fb8ebe8fc7426997bc6d89:
>>
>>   ARM: OMAP5: Enable build and frameowrk initialisations (2013-03-19 14:09:11 +0530)
> 
> Paul, do you have any comments on these?
> 
Ping.

> This branch should be queued separately because of the amount of
> LOC it adds. But as you may have other PRCM related patches then it's
> probably best that you queue it.
> 
Just to be clear, these are all data files patches which are auto-generated.

Thes patchset has already missed last couple of merge windows and its the
biggest bottleneck in getting OMAP5 booting from mainline. So I request
you to please have a look it quickly so that Tony can line that up for
3.10.

Thanks for help in advance !!

Regards,
Santosh
Paul Walmsley - April 3, 2013, 7:42 p.m.
Hi Santosh

On Wed, 3 Apr 2013, Santosh Shilimkar wrote:

> Thes patchset has already missed last couple of merge windows and its the
> biggest bottleneck in getting OMAP5 booting from mainline. So I request
> you to please have a look it quickly so that Tony can line that up for
> 3.10.

Looks like there are a few minor issues with the patches based on a quick 
look.  I'll post those to the list shortly; they should be easy to fix.  
But those issues aren't my real concern with this series.

What's harder to fix are the underlying process issues.  My main concern 
is that these patches add almost 9,000 lines of code and data.  We've 
received clear guidance from the upstream ARM SoC maintainers that any 
significant new additions need to be balanced with moving a similar number 
of lines of code and data out of arch/arm/{plat-,mach-}* into drivers/.  
(Or the new patches should be accompanied with patches that show obvious 
progress towards the goal of moving code and data out of 
arch/arm/{plat-,mach-}*.)  We need to see more help from TI on the 
prerequisites for this cleanup process.

For example, as discussed last year with the TI upstream PM team, an 
important first step in this process in my view is to get rid of the 
direct PRM/CM register accesses in the OMAP PM code.  See commit 
c4ceedcb18cf7a06059482a3a1828b9aad9f78cf ("ARM: OMAP2+: CM/clock: convert 
_omap2_module_wait_ready() to use SoC-independent CM functions") as an 
example of this process.  This should make it easier to get the PRM/CM 
functionality into drivers/.  That in turn make it possible to move the 
clockdomain, clock, powerdomain, and hwmod code to drivers/.ARM: OMAP2+: 
CM/clock: convert _omap2_module_wait_ready() to use SoC-independent CM 
functions.  So far as I can tell, there hasn't been any forward progress 
on this.

It's also necessary to see more TI contributions in finding and fixing 
regressions.  Detecting and fixing regressions from the previous kernel 
release should be done first, before working on cleanup series or new 
feature/SoC additions.  Looking at the list of v3.9-rc regressions that 
I've found, we've gotten very little organized help from TI on dealing 
with them.  

This in turn robs the maintainers of time that could be spent doing patch 
review or further cleanup work, which benefits no one in the end.  
Ideally each regression would be assigned to a member of the TI upstream 
team, and the whole process could be completed within one or two weeks.

...

So from my point of view, I'd like to see the following changes before we 
accept any new patchsets that add a significant number of lines:

1. Organized help from TI in finding and fixing regressions in the -rc 
cycle, with the regressions dealt with before any new feature 
pull-requests are sent

2. Help from TI on some of the cleanup work that we've mentioned in the 
past, starting with the PRM/CM register access cleanup inside mach-omap2/

3. Pairing any large feature or SoC additions with at least an equal 
removal of lines of code


regards,

- Paul
Paul Walmsley - April 3, 2013, 8:09 p.m.
cc Kevin

Hi

On Wed, 20 Mar 2013, Santosh Shilimkar wrote:

> Benoit Cousson (7):
>       ARM: OMAP5: PRM: Add OMAP54XX register and bitfield files

So it looks like this patch never made it to the mailing list.  Was it too 
big?  If so, please try splitting it into two or more pieces.  Looking at 
the git branch that you posted for pulling, the patch adds two files, so 
maybe you can just create one patch for each file?

Also, looking at the bottom of the arch/arm/mach-omap2/prm54xx.h from this 
commit 600e78bb51c0ee081f0da14f879c3e4a1dee9896, there are a bunch of 
function prototypes that reference OMAP44xx.  Shouldn't these reference 
OMAP54xx, or be removed from this file?  If you're reusing the OMAP4 PRM 
functions for OMAP5, then shouldn't they be moved out from the OMAP4 
header files into a separate header file?

>       ARM: OMAP5: CM: Add OMAP54XX register and bitfield files

There are similar problems with this patch.  It doesn't look like it ever 
made it to the linux-omap list, in my inbox, anyway.  And again the 
function prototypes make several references to OMAP4, when they should 
refer to OMAP5 or be removed from this file.

>       ARM: OMAP5: PRCM: Add OMAP54XX local MPU PRCM registers

More duplicated OMAP4 function prototypes here.

>       ARM: OMAP5: SCRM: Add OMAP54XX header file.

Looks fine to me.

>       ARM: OMAP2+: clockdomain data: Add OMAP54XX data and update the header
>       ARM: OMAP5: powerdomain data: Add OMAP54XX data and update the header

These two look okay to me based on a superficial inspection.  Is there a 
public TRM posted for OMAP5?  It's not in the obvious place, so there's no 
way to review these against the TRM:

http://www.ti.com/lsds/ti/omap-applications-processors/technical-documents.page?familyId=601&docCategoryId=6

>       ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data

Looks like this one hasn't been reposted after the changes that were made 
to it after Tony's comments?  If I've just missed the list post, please 
send a link.  Otherwise, the updated patch should be reposted.

> Santosh Shilimkar (4):
>       ARM: OMAP5: hwmod_data: Fix UART sysc settings
>       ARM: OMAP5: hwmod-data: Add timer clock activity flags

These two should be rolled into the "ARM: OMAP5: hwmod data: Create 
initial OMAP5 SOC hwmod data" patch.

>       ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data

This one needs to be acked by Kevin.

>       ARM: OMAP5: Enable build and frameowrk initialisations

Looks fine to me.


- Paul
Santosh Shilimkar - April 4, 2013, 10:34 a.m.
Paul,

On Thursday 04 April 2013 01:39 AM, Paul Walmsley wrote:
> cc Kevin
> 
> Hi
> 
> On Wed, 20 Mar 2013, Santosh Shilimkar wrote:
> 
>> Benoit Cousson (7):
>>       ARM: OMAP5: PRM: Add OMAP54XX register and bitfield files
> 
> So it looks like this patch never made it to the mailing list.  Was it too 
> big?  If so, please try splitting it into two or more pieces.  Looking at 
> the git branch that you posted for pulling, the patch adds two files, so 
> maybe you can just create one patch for each file?
> 
Size was not an issue mostly. Looks like that entire series got affected
because of the TI mailer issue which was reported by ARM list maintainer.
I lost many emails during that.

> Also, looking at the bottom of the arch/arm/mach-omap2/prm54xx.h from this 
> commit 600e78bb51c0ee081f0da14f879c3e4a1dee9896, there are a bunch of 
> function prototypes that reference OMAP44xx.  Shouldn't these reference 
> OMAP54xx, or be removed from this file?  If you're reusing the OMAP4 PRM 
> functions for OMAP5, then shouldn't they be moved out from the OMAP4 
> header files into a separate header file?
> 
Yes. I some how ignored this considering the files were auto-generated.
Have fixed this one now in v2 [1] which is posted on list

>>       ARM: OMAP5: CM: Add OMAP54XX register and bitfield files
> 
> There are similar problems with this patch.  It doesn't look like it ever 
> made it to the linux-omap list, in my inbox, anyway.  And again the 
> function prototypes make several references to OMAP4, when they should 
> refer to OMAP5 or be removed from this file.
> 
Fixed in v2

>>       ARM: OMAP5: PRCM: Add OMAP54XX local MPU PRCM registers
> 
> More duplicated OMAP4 function prototypes here.
> 
Fixed in v2

>>       ARM: OMAP5: SCRM: Add OMAP54XX header file.
> 
> Looks fine to me.
> 
>>       ARM: OMAP2+: clockdomain data: Add OMAP54XX data and update the header
>>       ARM: OMAP5: powerdomain data: Add OMAP54XX data and update the header
> 
> These two look okay to me based on a superficial inspection.  Is there a 
> public TRM posted for OMAP5?  It's not in the obvious place, so there's no 
> way to review these against the TRM:
> 
> http://www.ti.com/lsds/ti/omap-applications-processors/technical-documents.page?familyId=601&docCategoryId=6
> 
Public TRM got delayed becasue of recent changes at TI. As per the latest
I heard, April end the TRM should be public. But as you know auto-generated
data is often more accurate than TRM :)

>>       ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data
> 
> Looks like this one hasn't been reposted after the changes that were made 
> to it after Tony's comments?  If I've just missed the list post, please 
> send a link.  Otherwise, the updated patch should be reposted.
> 
As mentioned earlier, the series was lost mostly because of mailer issue.
Posted v2 has this patch now.

>> Santosh Shilimkar (4):
>>       ARM: OMAP5: hwmod_data: Fix UART sysc settings
>>       ARM: OMAP5: hwmod-data: Add timer clock activity flags
> 
> These two should be rolled into the "ARM: OMAP5: hwmod data: Create 
> initial OMAP5 SOC hwmod data" patch.
> 
Folded in v2. 

>>       ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data
> 
> This one needs to be acked by Kevin.
>
Kevin has been cc'ed on this one.
 
>>       ARM: OMAP5: Enable build and frameowrk initialisations
> 
> Looks fine to me.
> 
Thanks a lot for quick response. Please let me know if I missed any
of your comments in v2.

Regards,
Santosh

[1] http://www.spinics.net/lists/arm-kernel/msg235575.html
Santosh Shilimkar - April 4, 2013, 11:12 a.m.
+ Tero and few more TI folks,

On Thursday 04 April 2013 01:12 AM, Paul Walmsley wrote:
> Hi Santosh
> 
> On Wed, 3 Apr 2013, Santosh Shilimkar wrote:
> 
>> Thes patchset has already missed last couple of merge windows and its the
>> biggest bottleneck in getting OMAP5 booting from mainline. So I request
>> you to please have a look it quickly so that Tony can line that up for
>> 3.10.
> 
> Looks like there are a few minor issues with the patches based on a quick 
> look.  I'll post those to the list shortly; they should be easy to fix.  
> But those issues aren't my real concern with this series.
> 
> What's harder to fix are the underlying process issues.  My main concern 
> is that these patches add almost 9,000 lines of code and data.  We've 
> received clear guidance from the upstream ARM SoC maintainers that any 
> significant new additions need to be balanced with moving a similar number 
> of lines of code and data out of arch/arm/{plat-,mach-}* into drivers/.  
> (Or the new patches should be accompanied with patches that show obvious 
> progress towards the goal of moving code and data out of 
> arch/arm/{plat-,mach-}*.)  We need to see more help from TI on the 
> prerequisites for this cleanup process.
>
I agree that we are not making faster progress but as part of the
$subject series itself, for DT only build, we removed around ~4000
lines of data from hwmod. After the merge window, we can trim
the AM33XX and then later OMAP4 when it is made DT only support.
That should give us another 6000 lines of negative diff.
At the same time removal of MUX data for OMAP4 should be
around 2000 lines of negative diff.

You might also notice, we dropped OMAP5 clock data considering
its move under drivers/clk/. Rajendra and Tero already posted
patches [1] for the same on the list. Ofcourse your feedback is
needed to make progress there.

> For example, as discussed last year with the TI upstream PM team, an 
> important first step in this process in my view is to get rid of the 
> direct PRM/CM register accesses in the OMAP PM code.  See commit 
> c4ceedcb18cf7a06059482a3a1828b9aad9f78cf ("ARM: OMAP2+: CM/clock: convert 
> _omap2_module_wait_ready() to use SoC-independent CM functions") as an 
> example of this process.  This should make it easier to get the PRM/CM 
> functionality into drivers/.  That in turn make it possible to move the 
> clockdomain, clock, powerdomain, and hwmod code to drivers/.ARM: OMAP2+: 
> CM/clock: convert _omap2_module_wait_ready() to use SoC-independent CM 
> functions.  So far as I can tell, there hasn't been any forward progress 
> on this.
>
On this part as well after my discussion with Tony, Tero picked it up
and he and Eduardo posted questions to you [2] considering you
already had some WIP patches as we learned from Tony. I suggest
you send any information on this to "Tero" since he is leading the
PM effort and has plans to work on these items.
 
> It's also necessary to see more TI contributions in finding and fixing 
> regressions.  Detecting and fixing regressions from the previous kernel 
> release should be done first, before working on cleanup series or new 
> feature/SoC additions.  Looking at the list of v3.9-rc regressions that 
> I've found, we've gotten very little organized help from TI on dealing 
> with them.  
> 
> This in turn robs the maintainers of time that could be spent doing patch 
> review or further cleanup work, which benefits no one in the end.  
> Ideally each regression would be assigned to a member of the TI upstream 
> team, and the whole process could be completed within one or two weeks.
>
I agree with you overall. 

On couple of specific issues though,

- BOOT-Loader version:  IMHO boot-loader should be upgraded here.
We always upgrade kernel for new/fixed features and bootloader should
be no exception.

- Co-processor Power issue: This one is also has boot-loader dependency
but here too, going on path where firmware needs to be loaded to idle
them isn't great idea. We never did that for OMAP2/3 where DSP, Tesla
was present. IMO, we should not bring these devices out of reset and
let the "remote_proc()" frame works take care of them when it is
available in kernel. Suman from TI is working on it to enable that.
 
> ...
> 
> So from my point of view, I'd like to see the following changes before we 
> accept any new patchsets that add a significant number of lines:
> 
> 1. Organized help from TI in finding and fixing regressions in the -rc 
> cycle, with the regressions dealt with before any new feature 
> pull-requests are sent
>
Agreed. Tero can help here to streamline the process for PM regressions.
Rest of the core regressions and MPU PM, feel free to pass it on to
Rajendra/me. We will try to address them on priority.

 
> 2. Help from TI on some of the cleanup work that we've mentioned in the 
> past, starting with the PRM/CM register access cleanup inside mach-omap2/
> 
Absolutely. As I mentioned earlier, Eduardo and Tero are waiting for your
inputs on this topic.

> 3. Pairing any large feature or SoC additions with at least an equal 
> removal of lines of code
> 
As listed in beginning of the email, there is an effort going on in this
direction. In fact removal of lines of code has to happen even without
any new feature. As Tony mentioned in past, we eventually want to support
DT only builds and that should also allow us significant loc removal
opportunity. But feel free to suggest ideas if you see more opportunities
apart from the obvious ones.

Thanks for all your help.

Regards,
Santosh

[1] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg87110.html
[2] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg85602.html
Tony Lindgren - April 4, 2013, 4:52 p.m.
* Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> + Tero and few more TI folks,
> 
> On Thursday 04 April 2013 01:12 AM, Paul Walmsley wrote:
> > Hi Santosh
> > 
> > On Wed, 3 Apr 2013, Santosh Shilimkar wrote:
> > 
> >> Thes patchset has already missed last couple of merge windows and its the
> >> biggest bottleneck in getting OMAP5 booting from mainline. So I request
> >> you to please have a look it quickly so that Tony can line that up for
> >> 3.10.
> > 
> > Looks like there are a few minor issues with the patches based on a quick 
> > look.  I'll post those to the list shortly; they should be easy to fix.  
> > But those issues aren't my real concern with this series.
> > 
> > What's harder to fix are the underlying process issues.  My main concern 
> > is that these patches add almost 9,000 lines of code and data.  We've 
> > received clear guidance from the upstream ARM SoC maintainers that any 
> > significant new additions need to be balanced with moving a similar number 
> > of lines of code and data out of arch/arm/{plat-,mach-}* into drivers/.  
> > (Or the new patches should be accompanied with patches that show obvious 
> > progress towards the goal of moving code and data out of 
> > arch/arm/{plat-,mach-}*.)  We need to see more help from TI on the 
> > prerequisites for this cleanup process.
> >
> I agree that we are not making faster progress but as part of the
> $subject series itself, for DT only build, we removed around ~4000
> lines of data from hwmod. After the merge window, we can trim
> the AM33XX and then later OMAP4 when it is made DT only support.
> That should give us another 6000 lines of negative diff.
> At the same time removal of MUX data for OMAP4 should be
> around 2000 lines of negative diff.

Can't we already trim the am33xx hwmod data after your patches for
v3.10 as am33xx is already DT only? Unfortunately we cannot create
negative diffstat in other ways for v3.10 merge window as we cannot
make omap4 DT only just quite yet.

FYI, I have some trivial patches here to drop board and mux support for
omap4 once we can make omap4 DT only, so that will be about 3000 lines
of reduction with estimated 1000 - 2000 lines once I go through the
unneeded platform init code for omap4 for things like MMC and USB.
 
The rest of the clean-up issues I believe we all agree, we just need
to get it done so we can avoid getting flamed for every new SoC for
the huge data files. To fix the data issue for good, it seems that we can
get started moving both the clock and hwmod data to simple drivers
that can get clocks and hwmod data both from DT and /lib/firmware.
It also seems that we don't need to move all the data at once, which
makes the task easier.

Cheers,

Tony
Santosh Shilimkar - April 4, 2013, 4:57 p.m.
On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
>> + Tero and few more TI folks,
>>
>> On Thursday 04 April 2013 01:12 AM, Paul Walmsley wrote:
>>> Hi Santosh
>>>
>>> On Wed, 3 Apr 2013, Santosh Shilimkar wrote:
>>>
>>>> Thes patchset has already missed last couple of merge windows and its the
>>>> biggest bottleneck in getting OMAP5 booting from mainline. So I request
>>>> you to please have a look it quickly so that Tony can line that up for
>>>> 3.10.
>>>
>>> Looks like there are a few minor issues with the patches based on a quick 
>>> look.  I'll post those to the list shortly; they should be easy to fix.  
>>> But those issues aren't my real concern with this series.
>>>
>>> What's harder to fix are the underlying process issues.  My main concern 
>>> is that these patches add almost 9,000 lines of code and data.  We've 
>>> received clear guidance from the upstream ARM SoC maintainers that any 
>>> significant new additions need to be balanced with moving a similar number 
>>> of lines of code and data out of arch/arm/{plat-,mach-}* into drivers/.  
>>> (Or the new patches should be accompanied with patches that show obvious 
>>> progress towards the goal of moving code and data out of 
>>> arch/arm/{plat-,mach-}*.)  We need to see more help from TI on the 
>>> prerequisites for this cleanup process.
>>>
>> I agree that we are not making faster progress but as part of the
>> $subject series itself, for DT only build, we removed around ~4000
>> lines of data from hwmod. After the merge window, we can trim
>> the AM33XX and then later OMAP4 when it is made DT only support.
>> That should give us another 6000 lines of negative diff.
>> At the same time removal of MUX data for OMAP4 should be
>> around 2000 lines of negative diff.
> 
> Can't we already trim the am33xx hwmod data after your patches for
> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> negative diffstat in other ways for v3.10 merge window as we cannot
> make omap4 DT only just quite yet.
> 
Yes we can and I can take a stab it tomorrow. The only thing is I
might need some support for testing but thats manageable. Will
take a stab at it tomorrow and if everything goes well, post a
patch for smae.

> FYI, I have some trivial patches here to drop board and mux support for
> omap4 once we can make omap4 DT only, so that will be about 3000 lines
> of reduction with estimated 1000 - 2000 lines once I go through the
> unneeded platform init code for omap4 for things like MMC and USB.
>  
Cool.

> The rest of the clean-up issues I believe we all agree, we just need
> to get it done so we can avoid getting flamed for every new SoC for
> the huge data files. To fix the data issue for good, it seems that we can
> get started moving both the clock and hwmod data to simple drivers
> that can get clocks and hwmod data both from DT and /lib/firmware.
> It also seems that we don't need to move all the data at once, which
> makes the task easier.
> 
Agree.


regards,
santosh
Tero Kristo - April 5, 2013, 12:42 p.m.
On Thu, 2013-04-04 at 16:42 +0530, Santosh Shilimkar wrote:
> + Tero and few more TI folks,

Hi,

Added some comments below.

> 
> On Thursday 04 April 2013 01:12 AM, Paul Walmsley wrote:
> > Hi Santosh
> > 
> > On Wed, 3 Apr 2013, Santosh Shilimkar wrote:
> > 
> >> Thes patchset has already missed last couple of merge windows and its the
> >> biggest bottleneck in getting OMAP5 booting from mainline. So I request
> >> you to please have a look it quickly so that Tony can line that up for
> >> 3.10.
> > 
> > Looks like there are a few minor issues with the patches based on a quick 
> > look.  I'll post those to the list shortly; they should be easy to fix.  
> > But those issues aren't my real concern with this series.
> > 
> > What's harder to fix are the underlying process issues.  My main concern 
> > is that these patches add almost 9,000 lines of code and data.  We've 
> > received clear guidance from the upstream ARM SoC maintainers that any 
> > significant new additions need to be balanced with moving a similar number 
> > of lines of code and data out of arch/arm/{plat-,mach-}* into drivers/.  
> > (Or the new patches should be accompanied with patches that show obvious 
> > progress towards the goal of moving code and data out of 
> > arch/arm/{plat-,mach-}*.)  We need to see more help from TI on the 
> > prerequisites for this cleanup process.
> >
> I agree that we are not making faster progress but as part of the
> $subject series itself, for DT only build, we removed around ~4000
> lines of data from hwmod. After the merge window, we can trim
> the AM33XX and then later OMAP4 when it is made DT only support.
> That should give us another 6000 lines of negative diff.
> At the same time removal of MUX data for OMAP4 should be
> around 2000 lines of negative diff.
> 
> You might also notice, we dropped OMAP5 clock data considering
> its move under drivers/clk/. Rajendra and Tero already posted
> patches [1] for the same on the list. Ofcourse your feedback is
> needed to make progress there.
> 
> > For example, as discussed last year with the TI upstream PM team, an 
> > important first step in this process in my view is to get rid of the 
> > direct PRM/CM register accesses in the OMAP PM code.  See commit 
> > c4ceedcb18cf7a06059482a3a1828b9aad9f78cf ("ARM: OMAP2+: CM/clock: convert 
> > _omap2_module_wait_ready() to use SoC-independent CM functions") as an 
> > example of this process.  This should make it easier to get the PRM/CM 
> > functionality into drivers/.  That in turn make it possible to move the 
> > clockdomain, clock, powerdomain, and hwmod code to drivers/.ARM: OMAP2+: 
> > CM/clock: convert _omap2_module_wait_ready() to use SoC-independent CM 
> > functions.  So far as I can tell, there hasn't been any forward progress 
> > on this.
> >
> On this part as well after my discussion with Tony, Tero picked it up
> and he and Eduardo posted questions to you [2] considering you
> already had some WIP patches as we learned from Tony. I suggest
> you send any information on this to "Tero" since he is leading the
> PM effort and has plans to work on these items.
>  
> > It's also necessary to see more TI contributions in finding and fixing 
> > regressions.  Detecting and fixing regressions from the previous kernel 
> > release should be done first, before working on cleanup series or new 
> > feature/SoC additions.  Looking at the list of v3.9-rc regressions that 
> > I've found, we've gotten very little organized help from TI on dealing 
> > with them.  
> > 
> > This in turn robs the maintainers of time that could be spent doing patch 
> > review or further cleanup work, which benefits no one in the end.  
> > Ideally each regression would be assigned to a member of the TI upstream 
> > team, and the whole process could be completed within one or two weeks.
> >
> I agree with you overall. 
> 
> On couple of specific issues though,
> 
> - BOOT-Loader version:  IMHO boot-loader should be upgraded here.
> We always upgrade kernel for new/fixed features and bootloader should
> be no exception.
>
> - Co-processor Power issue: This one is also has boot-loader dependency
> but here too, going on path where firmware needs to be loaded to idle
> them isn't great idea. We never did that for OMAP2/3 where DSP, Tesla
> was present. IMO, we should not bring these devices out of reset and
> let the "remote_proc()" frame works take care of them when it is
> available in kernel. Suman from TI is working on it to enable that.

I kind of understand why you insist keeping your old bootloader, as it
makes these issues visible, but well, nothing is going to happen for
them as far as I can see. If Suman can eventually provide a nice hack
that makes this happen, fine, but at least on the PM front, we can do
nothing. Even if we did, the implementation would most likely become so
ugly that it would be rejected by the maintainers anyway. I can't see
any point why to invest time on this.

> > ...
> > 
> > So from my point of view, I'd like to see the following changes before we 
> > accept any new patchsets that add a significant number of lines:
> > 
> > 1. Organized help from TI in finding and fixing regressions in the -rc 
> > cycle, with the regressions dealt with before any new feature 
> > pull-requests are sent
> >
> Agreed. Tero can help here to streamline the process for PM regressions.
> Rest of the core regressions and MPU PM, feel free to pass it on to
> Rajendra/me. We will try to address them on priority.

With this, I think we are able to only help partially. The problem is
the number of (in my view) obsolete platforms that are being used (read:
omap2.) We can't provide any support for the boards we don't have
available, and I can say from the list of your rc3 comments, that we
have access to only 4 of the boards you are using (pandas, bone and
beagle, and the panda problems you can most likely fix by updating your
bootloader.)

> 
>  
> > 2. Help from TI on some of the cleanup work that we've mentioned in the 
> > past, starting with the PRM/CM register access cleanup inside mach-omap2/
> > 
> Absolutely. As I mentioned earlier, Eduardo and Tero are waiting for your
> inputs on this topic.

Well, this part we started with moving the ccf data under drivers/clk.
prm/cm has not been started, but we have plans to work with this.

-Tero

> 
> > 3. Pairing any large feature or SoC additions with at least an equal 
> > removal of lines of code
> > 
> As listed in beginning of the email, there is an effort going on in this
> direction. In fact removal of lines of code has to happen even without
> any new feature. As Tony mentioned in past, we eventually want to support
> DT only builds and that should also allow us significant loc removal
> opportunity. But feel free to suggest ideas if you see more opportunities
> apart from the obvious ones.
> 
> Thanks for all your help.
> 
> Regards,
> Santosh
> 
> [1] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg87110.html
> [2] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg85602.html
Tony Lindgren - April 5, 2013, 5:10 p.m.
* Santosh Shilimkar <santosh.shilimkar@ti.com> [130405 09:52]:
> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> > On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> >> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> [..]
> 
> >> Can't we already trim the am33xx hwmod data after your patches for
> >> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> >> negative diffstat in other ways for v3.10 merge window as we cannot
> >> make omap4 DT only just quite yet.
> >>
> > Yes we can and I can take a stab it tomorrow. The only thing is I
> > might need some support for testing but thats manageable. Will
> > take a stab at it tomorrow and if everything goes well, post a
> > patch for smae.
> > 
> Patch for the AM33XX to trim is end of the email. Thanks to
> Sricharan and Pekon for patch and testing. Looping both
> Vaibhav's if they have any objection on the patch.
> 
> Regards,
> Santosh
> 
> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
> From: Sricharan R <r.sricharan@ti.com>
> Date: Fri, 5 Apr 2013 20:39:12 +0530
> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> 
> - The IO resource information like dma request lines, irq number and
> ocp address space can be populated via dt blob. So such data can be stripped
> from SOC hwmod data file.
> 
> - The devices like adc, mailbox, gpmc which are missing the device
> tree bindings, hwmod data is not added since AM33XX is DT only build.
> When such devices add the dt bindings, respective hwmod data can be
> added along with it.
> 
> - The hwmod like firewall etc which are not useful are also dropped.
> 
> This gets us around ~2000 loc of negative diff. Patch is boot tested on
> AM335X EVM.

Great, that's a nice reduction :) Considering am33xx is DT only, it
should be safe.. But can the am33xx guys please test and ack it?

Regards,

Tony
hvaibhav@ti.com - April 9, 2013, 6:03 p.m.
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Tony Lindgren
> Sent: Friday, April 05, 2013 10:41 PM
> To: Shilimkar, Santosh
> Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav; Hiremath,
> Vaibhav
> Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> updates for 3.10
> 
> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130405 09:52]:
> > On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> > > On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> > >> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> > [..]
> >
> > >> Can't we already trim the am33xx hwmod data after your patches for
> > >> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> > >> negative diffstat in other ways for v3.10 merge window as we
> cannot
> > >> make omap4 DT only just quite yet.
> > >>
> > > Yes we can and I can take a stab it tomorrow. The only thing is I
> > > might need some support for testing but thats manageable. Will
> > > take a stab at it tomorrow and if everything goes well, post a
> > > patch for smae.
> > >
> > Patch for the AM33XX to trim is end of the email. Thanks to
> > Sricharan and Pekon for patch and testing. Looping both
> > Vaibhav's if they have any objection on the patch.
> >
> > Regards,
> > Santosh
> >
> > From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00
> 2001
> > From: Sricharan R <r.sricharan@ti.com>
> > Date: Fri, 5 Apr 2013 20:39:12 +0530
> > Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> >
> > - The IO resource information like dma request lines, irq number and
> > ocp address space can be populated via dt blob. So such data can be
> stripped
> > from SOC hwmod data file.
> >
> > - The devices like adc, mailbox, gpmc which are missing the device
> > tree bindings, hwmod data is not added since AM33XX is DT only build.
> > When such devices add the dt bindings, respective hwmod data can be
> > added along with it.
> >
> > - The hwmod like firewall etc which are not useful are also dropped.
> >
> > This gets us around ~2000 loc of negative diff. Patch is boot tested
> on
> > AM335X EVM.
> 
> Great, that's a nice reduction :) Considering am33xx is DT only, it
> should be safe.. But can the am33xx guys please test and ack it?
> 
I am reviewing the patch-diff and will give my comment as soon as possible.

Thanks,
Vaibhav
hvaibhav@ti.com - April 10, 2013, 11:15 a.m.
> -----Original Message-----
> From: Shilimkar, Santosh
> Sent: Friday, April 05, 2013 10:20 PM
> To: Tony Lindgren
> Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav; Hiremath,
> Vaibhav
> Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> updates for 3.10
> 
> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> > On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> >> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> [..]
> 
> >> Can't we already trim the am33xx hwmod data after your patches for
> >> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> >> negative diffstat in other ways for v3.10 merge window as we cannot
> >> make omap4 DT only just quite yet.
> >>
> > Yes we can and I can take a stab it tomorrow. The only thing is I
> > might need some support for testing but thats manageable. Will
> > take a stab at it tomorrow and if everything goes well, post a
> > patch for smae.
> >
> Patch for the AM33XX to trim is end of the email. Thanks to
> Sricharan and Pekon for patch and testing. Looping both
> Vaibhav's if they have any objection on the patch.
> 
> Regards,
> Santosh
> 
> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
> From: Sricharan R <r.sricharan@ti.com>
> Date: Fri, 5 Apr 2013 20:39:12 +0530
> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> 
> - The IO resource information like dma request lines, irq number and
> ocp address space can be populated via dt blob. So such data can be
> stripped
> from SOC hwmod data file.
> 
> - The devices like adc, mailbox, gpmc which are missing the device
> tree bindings, hwmod data is not added since AM33XX is DT only build.
> When such devices add the dt bindings, respective hwmod data can be
> added along with it.
> 
This seems unnecessary churn to me. DT bindings for most of the devices 
which you mentioned above are submitted and are at various stages of review
process.

ADC:

GPMC:

PWM:


> - The hwmod like firewall etc which are not useful are also dropped.
> 
> This gets us around ~2000 loc of negative diff. Patch is boot tested on
> AM335X EVM.
> 
I would not recommend to get into unnecessary code churn in the future just 
to reduce temp Number of Lines of code. This will also kill our autogeneration 
concept as well.

I would suggest you to just alone drop base-addr, irq and dma references
from hwmod entries.

Thanks,
Vaibhav

> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> Signed-off-by: Sricharan R <r.sricharan@ti.com>
> ---
> Patch has to be based of the dt branch and recent cleanups which are
> already in 3.10 queue. The patch also can be found on my git tree.
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git
> for_3.10/am33xx_hwmod_cleanup
> 
>  arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 1993 +-------------------
> --------
>  1 file changed, 13 insertions(+), 1980 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> index 31bea1c..19a35e8 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> @@ -35,63 +35,6 @@
>   */
> 
>  /*
> - * 'emif_fw' class
> - * instance(s): emif_fw
> - */
> -static struct omap_hwmod_class am33xx_emif_fw_hwmod_class = {
> -	.name		= "emif_fw",
> -};
> -
> -/* emif_fw */
> -static struct omap_hwmod am33xx_emif_fw_hwmod = {
> -	.name		= "emif_fw",
> -	.class		= &am33xx_emif_fw_hwmod_class,
> -	.clkdm_name	= "l4fw_clkdm",
> -	.main_clk	= "l4fw_gclk",
> -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_EMIF_FW_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/*
> - * 'emif' class
> - * instance(s): emif
> - */
> -static struct omap_hwmod_class_sysconfig am33xx_emif_sysc = {
> -	.rev_offs	= 0x0000,
> -};
> -
> -static struct omap_hwmod_class am33xx_emif_hwmod_class = {
> -	.name		= "emif",
> -	.sysc		= &am33xx_emif_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_emif_irqs[] = {
> -	{ .name = "ddrerr0", .irq = 101 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -/* emif */
> -static struct omap_hwmod am33xx_emif_hwmod = {
> -	.name		= "emif",
> -	.class		= &am33xx_emif_hwmod_class,
> -	.clkdm_name	= "l3_clkdm",
> -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.mpu_irqs	= am33xx_emif_irqs,
> -	.main_clk	= "dpll_ddr_m2_div2_ck",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_EMIF_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/*
>   * 'l3' class
>   * instance(s): l3_main, l3_s, l3_instr
>   */
> @@ -99,19 +42,11 @@ static struct omap_hwmod_class
> am33xx_l3_hwmod_class = {
>  	.name		= "l3",
>  };
> 
> -/* l3_main (l3_fast) */
> -static struct omap_hwmod_irq_info am33xx_l3_main_irqs[] = {
> -	{ .name = "l3debug", .irq = 9 + OMAP_INTC_START, },
> -	{ .name = "l3appint", .irq = 10 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_l3_main_hwmod = {
>  	.name		= "l3_main",
>  	.class		= &am33xx_l3_hwmod_class,
>  	.clkdm_name	= "l3_clkdm",
>  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.mpu_irqs	= am33xx_l3_main_irqs,
>  	.main_clk	= "l3_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -196,20 +131,6 @@ static struct omap_hwmod am33xx_l4_wkup_hwmod = {
>  	},
>  };
> 
> -/* l4_fw */
> -static struct omap_hwmod am33xx_l4_fw_hwmod = {
> -	.name		= "l4_fw",
> -	.class		= &am33xx_l4_hwmod_class,
> -	.clkdm_name	= "l4fw_clkdm",
> -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_L4FW_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
>  /*
>   * 'mpu' class
>   */
> @@ -217,21 +138,11 @@ static struct omap_hwmod_class
> am33xx_mpu_hwmod_class = {
>  	.name	= "mpu",
>  };
> 
> -/* mpu */
> -static struct omap_hwmod_irq_info am33xx_mpu_irqs[] = {
> -	{ .name = "emuint", .irq = 0 + OMAP_INTC_START, },
> -	{ .name = "commtx", .irq = 1 + OMAP_INTC_START, },
> -	{ .name = "commrx", .irq = 2 + OMAP_INTC_START, },
> -	{ .name = "bench", .irq = 3 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_mpu_hwmod = {
>  	.name		= "mpu",
>  	.class		= &am33xx_mpu_hwmod_class,
>  	.clkdm_name	= "mpu_clkdm",
>  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.mpu_irqs	= am33xx_mpu_irqs,
>  	.main_clk	= "dpll_mpu_m2_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -253,11 +164,6 @@ static struct omap_hwmod_rst_info
> am33xx_wkup_m3_resets[] = {
>  	{ .name = "wkup_m3", .rst_shift = 3, .st_shift = 5 },
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_wkup_m3_irqs[] = {
> -	{ .name = "txev", .irq = 78 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  /* wkup_m3  */
>  static struct omap_hwmod am33xx_wkup_m3_hwmod = {
>  	.name		= "wkup_m3",
> @@ -265,7 +171,6 @@ static struct omap_hwmod am33xx_wkup_m3_hwmod = {
>  	.clkdm_name	= "l4_wkup_aon_clkdm",
>  	/* Keep hardreset asserted */
>  	.flags		= HWMOD_INIT_NO_RESET | HWMOD_NO_IDLEST,
> -	.mpu_irqs	= am33xx_wkup_m3_irqs,
>  	.main_clk	= "dpll_core_m4_div2_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -291,25 +196,12 @@ static struct omap_hwmod_rst_info
> am33xx_pruss_resets[] = {
>  	{ .name = "pruss", .rst_shift = 1 },
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_pruss_irqs[] = {
> -	{ .name = "evtout0", .irq = 20 + OMAP_INTC_START, },
> -	{ .name = "evtout1", .irq = 21 + OMAP_INTC_START, },
> -	{ .name = "evtout2", .irq = 22 + OMAP_INTC_START, },
> -	{ .name = "evtout3", .irq = 23 + OMAP_INTC_START, },
> -	{ .name = "evtout4", .irq = 24 + OMAP_INTC_START, },
> -	{ .name = "evtout5", .irq = 25 + OMAP_INTC_START, },
> -	{ .name = "evtout6", .irq = 26 + OMAP_INTC_START, },
> -	{ .name = "evtout7", .irq = 27 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  /* pru-icss */
>  /* Pseudo hwmod for reset control purpose only */
>  static struct omap_hwmod am33xx_pruss_hwmod = {
>  	.name		= "pruss",
>  	.class		= &am33xx_pruss_hwmod_class,
>  	.clkdm_name	= "pruss_ocp_clkdm",
> -	.mpu_irqs	= am33xx_pruss_irqs,
>  	.main_clk	= "pruss_ocp_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -332,16 +224,10 @@ static struct omap_hwmod_rst_info
> am33xx_gfx_resets[] = {
>  	{ .name = "gfx", .rst_shift = 0 },
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_gfx_irqs[] = {
> -	{ .name = "gfxint", .irq = 37 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_gfx_hwmod = {
>  	.name		= "gfx",
>  	.class		= &am33xx_gfx_hwmod_class,
>  	.clkdm_name	= "gfx_l3_clkdm",
> -	.mpu_irqs	= am33xx_gfx_irqs,
>  	.main_clk	= "gfx_fck_div_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -370,43 +256,6 @@ static struct omap_hwmod am33xx_prcm_hwmod = {
>  };
> 
>  /*
> - * 'adc/tsc' class
> - * TouchScreen Controller (Anolog-To-Digital Converter)
> - */
> -static struct omap_hwmod_class_sysconfig am33xx_adc_tsc_sysc = {
> -	.rev_offs	= 0x00,
> -	.sysc_offs	= 0x10,
> -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
> -			SIDLE_SMART_WKUP),
> -	.sysc_fields	= &omap_hwmod_sysc_type2,
> -};
> -
> -static struct omap_hwmod_class am33xx_adc_tsc_hwmod_class = {
> -	.name		= "adc_tsc",
> -	.sysc		= &am33xx_adc_tsc_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_adc_tsc_irqs[] = {
> -	{ .irq = 16 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_adc_tsc_hwmod = {
> -	.name		= "adc_tsc",
> -	.class		= &am33xx_adc_tsc_hwmod_class,
> -	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= am33xx_adc_tsc_irqs,
> -	.main_clk	= "adc_tsc_fck",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_WKUP_ADC_TSC_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/*
>   * Modules omap_hwmod structures
>   *
>   * The following IPs are excluded for the moment because:
> @@ -508,16 +357,10 @@ static struct omap_hwmod_class
> am33xx_aes_hwmod_class = {
>  	.name		= "aes",
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_aes0_irqs[] = {
> -	{ .irq = 102 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_aes0_hwmod = {
>  	.name		= "aes0",
>  	.class		= &am33xx_aes_hwmod_class,
>  	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_aes0_irqs,
>  	.main_clk	= "l3_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -532,16 +375,10 @@ static struct omap_hwmod_class
> am33xx_sha0_hwmod_class = {
>  	.name		= "sha0",
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_sha0_irqs[] = {
> -	{ .irq = 108 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_sha0_hwmod = {
>  	.name		= "sha0",
>  	.class		= &am33xx_sha0_hwmod_class,
>  	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_sha0_irqs,
>  	.main_clk	= "l3_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -577,17 +414,10 @@ static struct omap_hwmod_class
> am33xx_smartreflex_hwmod_class = {
>  	.name		= "smartreflex",
>  };
> 
> -/* smartreflex0 */
> -static struct omap_hwmod_irq_info am33xx_smartreflex0_irqs[] = {
> -	{ .irq = 120 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_smartreflex0_hwmod = {
>  	.name		= "smartreflex0",
>  	.class		= &am33xx_smartreflex_hwmod_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= am33xx_smartreflex0_irqs,
>  	.main_clk	= "smartreflex0_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -597,17 +427,10 @@ static struct omap_hwmod
> am33xx_smartreflex0_hwmod = {
>  	},
>  };
> 
> -/* smartreflex1 */
> -static struct omap_hwmod_irq_info am33xx_smartreflex1_irqs[] = {
> -	{ .irq = 121 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_smartreflex1_hwmod = {
>  	.name		= "smartreflex1",
>  	.class		= &am33xx_smartreflex_hwmod_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= am33xx_smartreflex1_irqs,
>  	.main_clk	= "smartreflex1_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -624,17 +447,11 @@ static struct omap_hwmod_class
> am33xx_control_hwmod_class = {
>  	.name		= "control",
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_control_irqs[] = {
> -	{ .irq = 8 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_control_hwmod = {
>  	.name		= "control",
>  	.class		= &am33xx_control_hwmod_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
>  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.mpu_irqs	= am33xx_control_irqs,
>  	.main_clk	= "dpll_core_m4_div2_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -664,20 +481,11 @@ static struct omap_hwmod_class
> am33xx_cpgmac0_hwmod_class = {
>  	.sysc		= &am33xx_cpgmac_sysc,
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_cpgmac0_irqs[] = {
> -	{ .name = "c0_rx_thresh_pend", .irq = 40 + OMAP_INTC_START, },
> -	{ .name = "c0_rx_pend", .irq = 41 + OMAP_INTC_START, },
> -	{ .name = "c0_tx_pend", .irq = 42 + OMAP_INTC_START, },
> -	{ .name = "c0_misc_pend", .irq = 43 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_cpgmac0_hwmod = {
>  	.name		= "cpgmac0",
>  	.class		= &am33xx_cpgmac0_hwmod_class,
>  	.clkdm_name	= "cpsw_125mhz_clkdm",
>  	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> -	.mpu_irqs	= am33xx_cpgmac0_irqs,
>  	.main_clk	= "cpsw_125mhz_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -708,18 +516,10 @@ static struct omap_hwmod_class
> am33xx_dcan_hwmod_class = {
>  	.name = "d_can",
>  };
> 
> -/* dcan0 */
> -static struct omap_hwmod_irq_info am33xx_dcan0_irqs[] = {
> -	{ .name = "d_can_ms", .irq = 52 + OMAP_INTC_START, },
> -	{ .name = "d_can_mo", .irq = 53 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_dcan0_hwmod = {
>  	.name		= "d_can0",
>  	.class		= &am33xx_dcan_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_dcan0_irqs,
>  	.main_clk	= "dcan0_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -729,17 +529,10 @@ static struct omap_hwmod am33xx_dcan0_hwmod = {
>  	},
>  };
> 
> -/* dcan1 */
> -static struct omap_hwmod_irq_info am33xx_dcan1_irqs[] = {
> -	{ .name = "d_can_ms", .irq = 55 + OMAP_INTC_START, },
> -	{ .name = "d_can_mo", .irq = 56 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
>  static struct omap_hwmod am33xx_dcan1_hwmod = {
>  	.name		= "d_can1",
>  	.class		= &am33xx_dcan_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_dcan1_irqs,
>  	.main_clk	= "dcan1_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -749,241 +542,6 @@ static struct omap_hwmod am33xx_dcan1_hwmod = {
>  	},
>  };
> 
> -/* elm */
> -static struct omap_hwmod_class_sysconfig am33xx_elm_sysc = {
> -	.rev_offs	= 0x0000,
> -	.sysc_offs	= 0x0010,
> -	.syss_offs	= 0x0014,
> -	.sysc_flags	= (SYSC_HAS_CLOCKACTIVITY | SYSC_HAS_SIDLEMODE |
> -			SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
> -			SYSS_HAS_RESET_STATUS),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type1,
> -};
> -
> -static struct omap_hwmod_class am33xx_elm_hwmod_class = {
> -	.name		= "elm",
> -	.sysc		= &am33xx_elm_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_elm_irqs[] = {
> -	{ .irq = 4 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_elm_hwmod = {
> -	.name		= "elm",
> -	.class		= &am33xx_elm_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_elm_irqs,
> -	.main_clk	= "l4ls_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	= AM33XX_CM_PER_ELM_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* pwmss  */
> -static struct omap_hwmod_class_sysconfig am33xx_epwmss_sysc = {
> -	.rev_offs	= 0x0,
> -	.sysc_offs	= 0x4,
> -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
> -			SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
> -			MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
> -	.sysc_fields	= &omap_hwmod_sysc_type2,
> -};
> -
> -static struct omap_hwmod_class am33xx_epwmss_hwmod_class = {
> -	.name		= "epwmss",
> -	.sysc		= &am33xx_epwmss_sysc,
> -};
> -
> -static struct omap_hwmod_class am33xx_ecap_hwmod_class = {
> -	.name		= "ecap",
> -};
> -
> -static struct omap_hwmod_class am33xx_eqep_hwmod_class = {
> -	.name		= "eqep",
> -};
> -
> -static struct omap_hwmod_class am33xx_ehrpwm_hwmod_class = {
> -	.name		= "ehrpwm",
> -};
> -
> -/* epwmss0 */
> -static struct omap_hwmod am33xx_epwmss0_hwmod = {
> -	.name		= "epwmss0",
> -	.class		= &am33xx_epwmss_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.main_clk	= "l4ls_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_EPWMSS0_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* ecap0 */
> -static struct omap_hwmod_irq_info am33xx_ecap0_irqs[] = {
> -	{ .irq = 31 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ecap0_hwmod = {
> -	.name		= "ecap0",
> -	.class		= &am33xx_ecap_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ecap0_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* eqep0 */
> -static struct omap_hwmod_irq_info am33xx_eqep0_irqs[] = {
> -	{ .irq = 79 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_eqep0_hwmod = {
> -	.name		= "eqep0",
> -	.class		= &am33xx_eqep_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_eqep0_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* ehrpwm0 */
> -static struct omap_hwmod_irq_info am33xx_ehrpwm0_irqs[] = {
> -	{ .name = "int", .irq = 86 + OMAP_INTC_START, },
> -	{ .name = "tzint", .irq = 58 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ehrpwm0_hwmod = {
> -	.name		= "ehrpwm0",
> -	.class		= &am33xx_ehrpwm_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ehrpwm0_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* epwmss1 */
> -static struct omap_hwmod am33xx_epwmss1_hwmod = {
> -	.name		= "epwmss1",
> -	.class		= &am33xx_epwmss_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.main_clk	= "l4ls_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_EPWMSS1_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* ecap1 */
> -static struct omap_hwmod_irq_info am33xx_ecap1_irqs[] = {
> -	{ .irq = 47 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ecap1_hwmod = {
> -	.name		= "ecap1",
> -	.class		= &am33xx_ecap_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ecap1_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* eqep1 */
> -static struct omap_hwmod_irq_info am33xx_eqep1_irqs[] = {
> -	{ .irq = 88 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_eqep1_hwmod = {
> -	.name		= "eqep1",
> -	.class		= &am33xx_eqep_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_eqep1_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* ehrpwm1 */
> -static struct omap_hwmod_irq_info am33xx_ehrpwm1_irqs[] = {
> -	{ .name = "int", .irq = 87 + OMAP_INTC_START, },
> -	{ .name = "tzint", .irq = 59 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ehrpwm1_hwmod = {
> -	.name		= "ehrpwm1",
> -	.class		= &am33xx_ehrpwm_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ehrpwm1_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* epwmss2 */
> -static struct omap_hwmod am33xx_epwmss2_hwmod = {
> -	.name		= "epwmss2",
> -	.class		= &am33xx_epwmss_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.main_clk	= "l4ls_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_EPWMSS2_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* ecap2 */
> -static struct omap_hwmod_irq_info am33xx_ecap2_irqs[] = {
> -	{ .irq = 61 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ecap2_hwmod = {
> -	.name		= "ecap2",
> -	.class		= &am33xx_ecap_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ecap2_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* eqep2 */
> -static struct omap_hwmod_irq_info am33xx_eqep2_irqs[] = {
> -	{ .irq = 89 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_eqep2_hwmod = {
> -	.name		= "eqep2",
> -	.class		= &am33xx_eqep_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_eqep2_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
> -/* ehrpwm2 */
> -static struct omap_hwmod_irq_info am33xx_ehrpwm2_irqs[] = {
> -	{ .name = "int", .irq = 39 + OMAP_INTC_START, },
> -	{ .name = "tzint", .irq = 60 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_ehrpwm2_hwmod = {
> -	.name		= "ehrpwm2",
> -	.class		= &am33xx_ehrpwm_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_ehrpwm2_irqs,
> -	.main_clk	= "l4ls_gclk",
> -};
> -
>  /*
>   * 'gpio' class: for gpio 0,1,2,3
>   */
> @@ -1015,17 +573,11 @@ static struct omap_hwmod_opt_clk
> gpio0_opt_clks[] = {
>  	{ .role = "dbclk", .clk = "gpio0_dbclk" },
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_gpio0_irqs[] = {
> -	{ .irq = 96 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_gpio0_hwmod = {
>  	.name		= "gpio1",
>  	.class		= &am33xx_gpio_hwmod_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
>  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> -	.mpu_irqs	= am33xx_gpio0_irqs,
>  	.main_clk	= "dpll_core_m4_div2_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1039,11 +591,6 @@ static struct omap_hwmod am33xx_gpio0_hwmod = {
>  };
> 
>  /* gpio1 */
> -static struct omap_hwmod_irq_info am33xx_gpio1_irqs[] = {
> -	{ .irq = 98 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod_opt_clk gpio1_opt_clks[] = {
>  	{ .role = "dbclk", .clk = "gpio1_dbclk" },
>  };
> @@ -1053,7 +600,6 @@ static struct omap_hwmod am33xx_gpio1_hwmod = {
>  	.class		= &am33xx_gpio_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
>  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> -	.mpu_irqs	= am33xx_gpio1_irqs,
>  	.main_clk	= "l4ls_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1067,11 +613,6 @@ static struct omap_hwmod am33xx_gpio1_hwmod = {
>  };
> 
>  /* gpio2 */
> -static struct omap_hwmod_irq_info am33xx_gpio2_irqs[] = {
> -	{ .irq = 32 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod_opt_clk gpio2_opt_clks[] = {
>  	{ .role = "dbclk", .clk = "gpio2_dbclk" },
>  };
> @@ -1081,7 +622,6 @@ static struct omap_hwmod am33xx_gpio2_hwmod = {
>  	.class		= &am33xx_gpio_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
>  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> -	.mpu_irqs	= am33xx_gpio2_irqs,
>  	.main_clk	= "l4ls_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1095,11 +635,6 @@ static struct omap_hwmod am33xx_gpio2_hwmod = {
>  };
> 
>  /* gpio3 */
> -static struct omap_hwmod_irq_info am33xx_gpio3_irqs[] = {
> -	{ .irq = 62 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod_opt_clk gpio3_opt_clks[] = {
>  	{ .role = "dbclk", .clk = "gpio3_dbclk" },
>  };
> @@ -1109,7 +644,6 @@ static struct omap_hwmod am33xx_gpio3_hwmod = {
>  	.class		= &am33xx_gpio_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
>  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> -	.mpu_irqs	= am33xx_gpio3_irqs,
>  	.main_clk	= "l4ls_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1122,42 +656,6 @@ static struct omap_hwmod am33xx_gpio3_hwmod = {
>  	.dev_attr	= &gpio_dev_attr,
>  };
> 
> -/* gpmc */
> -static struct omap_hwmod_class_sysconfig gpmc_sysc = {
> -	.rev_offs	= 0x0,
> -	.sysc_offs	= 0x10,
> -	.syss_offs	= 0x14,
> -	.sysc_flags	= (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
> -			SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type1,
> -};
> -
> -static struct omap_hwmod_class am33xx_gpmc_hwmod_class = {
> -	.name		= "gpmc",
> -	.sysc		= &gpmc_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_gpmc_irqs[] = {
> -	{ .irq = 100 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_gpmc_hwmod = {
> -	.name		= "gpmc",
> -	.class		= &am33xx_gpmc_hwmod_class,
> -	.clkdm_name	= "l3s_clkdm",
> -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> -	.mpu_irqs	= am33xx_gpmc_irqs,
> -	.main_clk	= "l3s_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_GPMC_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
>  /* 'i2c' class */
>  static struct omap_hwmod_class_sysconfig am33xx_i2c_sysc = {
>  	.sysc_offs	= 0x0010,
> @@ -1182,23 +680,10 @@ static struct omap_i2c_dev_attr i2c_dev_attr = {
>  };
> 
>  /* i2c1 */
> -static struct omap_hwmod_irq_info i2c1_mpu_irqs[] = {
> -	{ .irq = 70 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info i2c1_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 0, },
> -	{ .name = "rx", .dma_req = 0, },
> -	{ .dma_req = -1 }
> -};
> -
>  static struct omap_hwmod am33xx_i2c1_hwmod = {
>  	.name		= "i2c1",
>  	.class		= &i2c_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= i2c1_mpu_irqs,
> -	.sdma_reqs	= i2c1_edma_reqs,
>  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
>  	.main_clk	= "dpll_per_m2_div4_wkupdm_ck",
>  	.prcm		= {
> @@ -1211,23 +696,10 @@ static struct omap_hwmod am33xx_i2c1_hwmod = {
>  };
> 
>  /* i2c1 */
> -static struct omap_hwmod_irq_info i2c2_mpu_irqs[] = {
> -	{ .irq = 71 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info i2c2_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 0, },
> -	{ .name = "rx", .dma_req = 0, },
> -	{ .dma_req = -1 }
> -};
> -
>  static struct omap_hwmod am33xx_i2c2_hwmod = {
>  	.name		= "i2c2",
>  	.class		= &i2c_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= i2c2_mpu_irqs,
> -	.sdma_reqs	= i2c2_edma_reqs,
>  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
> @@ -1240,23 +712,10 @@ static struct omap_hwmod am33xx_i2c2_hwmod = {
>  };
> 
>  /* i2c3 */
> -static struct omap_hwmod_dma_info i2c3_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 0, },
> -	{ .name = "rx", .dma_req = 0, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = {
> -	{ .irq = 30 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_i2c3_hwmod = {
>  	.name		= "i2c3",
>  	.class		= &i2c_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= i2c3_mpu_irqs,
> -	.sdma_reqs	= i2c3_edma_reqs,
>  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
> @@ -1268,292 +727,28 @@ static struct omap_hwmod am33xx_i2c3_hwmod = {
>  	.dev_attr	= &i2c_dev_attr,
>  };
> 
> -
> -/* lcdc */
> -static struct omap_hwmod_class_sysconfig lcdc_sysc = {
> -	.rev_offs	= 0x0,
> -	.sysc_offs	= 0x54,
> -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type2,
> -};
> -
> -static struct omap_hwmod_class am33xx_lcdc_hwmod_class = {
> -	.name		= "lcdc",
> -	.sysc		= &lcdc_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_lcdc_irqs[] = {
> -	{ .irq = 36 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_lcdc_hwmod = {
> -	.name		= "lcdc",
> -	.class		= &am33xx_lcdc_hwmod_class,
> -	.clkdm_name	= "lcdc_clkdm",
> -	.mpu_irqs	= am33xx_lcdc_irqs,
> -	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
> -	.main_clk	= "lcd_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_LCDC_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/*
> - * 'mailbox' class
> - * mailbox module allowing communication between the on-chip
> processors using a
> - * queued mailbox-interrupt mechanism.
> - */
> -static struct omap_hwmod_class_sysconfig am33xx_mailbox_sysc = {
> -	.rev_offs	= 0x0000,
> -	.sysc_offs	= 0x0010,
> -	.sysc_flags	= (SYSC_HAS_RESET_STATUS | SYSC_HAS_SIDLEMODE |
> -			  SYSC_HAS_SOFTRESET),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type2,
> -};
> -
> -static struct omap_hwmod_class am33xx_mailbox_hwmod_class = {
> -	.name	= "mailbox",
> -	.sysc	= &am33xx_mailbox_sysc,
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_mailbox_irqs[] = {
> -	{ .irq = 77 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_mailbox_hwmod = {
> -	.name		= "mailbox",
> -	.class		= &am33xx_mailbox_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_mailbox_irqs,
> -	.main_clk	= "l4ls_gclk",
> -	.prcm = {
> -		.omap4 = {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MAILBOX0_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/*
> - * 'mcasp' class
> - */
> -static struct omap_hwmod_class_sysconfig am33xx_mcasp_sysc = {
> -	.rev_offs	= 0x0,
> -	.sysc_offs	= 0x4,
> -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type3,
> -};
> -
> -static struct omap_hwmod_class am33xx_mcasp_hwmod_class = {
> -	.name		= "mcasp",
> -	.sysc		= &am33xx_mcasp_sysc,
> -};
> -
> -/* mcasp0 */
> -static struct omap_hwmod_irq_info am33xx_mcasp0_irqs[] = {
> -	{ .name = "ax", .irq = 80 + OMAP_INTC_START, },
> -	{ .name = "ar", .irq = 81 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mcasp0_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 8, },
> -	{ .name = "rx", .dma_req = 9, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_hwmod am33xx_mcasp0_hwmod = {
> -	.name		= "mcasp0",
> -	.class		= &am33xx_mcasp_hwmod_class,
> -	.clkdm_name	= "l3s_clkdm",
> -	.mpu_irqs	= am33xx_mcasp0_irqs,
> -	.sdma_reqs	= am33xx_mcasp0_edma_reqs,
> -	.main_clk	= "mcasp0_fck",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MCASP0_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* mcasp1 */
> -static struct omap_hwmod_irq_info am33xx_mcasp1_irqs[] = {
> -	{ .name = "ax", .irq = 82 + OMAP_INTC_START, },
> -	{ .name = "ar", .irq = 83 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mcasp1_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 10, },
> -	{ .name = "rx", .dma_req = 11, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_hwmod am33xx_mcasp1_hwmod = {
> -	.name		= "mcasp1",
> -	.class		= &am33xx_mcasp_hwmod_class,
> -	.clkdm_name	= "l3s_clkdm",
> -	.mpu_irqs	= am33xx_mcasp1_irqs,
> -	.sdma_reqs	= am33xx_mcasp1_edma_reqs,
> -	.main_clk	= "mcasp1_fck",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MCASP1_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* 'mmc' class */
> -static struct omap_hwmod_class_sysconfig am33xx_mmc_sysc = {
> -	.rev_offs	= 0x1fc,
> -	.sysc_offs	= 0x10,
> -	.syss_offs	= 0x14,
> -	.sysc_flags	= (SYSC_HAS_CLOCKACTIVITY | SYSC_HAS_SIDLEMODE |
> -			  SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET |
> -			  SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> -	.sysc_fields	= &omap_hwmod_sysc_type1,
> -};
> -
> -static struct omap_hwmod_class am33xx_mmc_hwmod_class = {
> -	.name		= "mmc",
> -	.sysc		= &am33xx_mmc_sysc,
> -};
> -
> -/* mmc0 */
> -static struct omap_hwmod_irq_info am33xx_mmc0_irqs[] = {
> -	{ .irq = 64 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mmc0_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 24, },
> -	{ .name = "rx", .dma_req = 25, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_mmc_dev_attr am33xx_mmc0_dev_attr = {
> -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> -};
> -
> -static struct omap_hwmod am33xx_mmc0_hwmod = {
> -	.name		= "mmc1",
> -	.class		= &am33xx_mmc_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_mmc0_irqs,
> -	.sdma_reqs	= am33xx_mmc0_edma_reqs,
> -	.main_clk	= "mmc_clk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MMC0_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -	.dev_attr	= &am33xx_mmc0_dev_attr,
> -};
> -
> -/* mmc1 */
> -static struct omap_hwmod_irq_info am33xx_mmc1_irqs[] = {
> -	{ .irq = 28 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mmc1_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 2, },
> -	{ .name = "rx", .dma_req = 3, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_mmc_dev_attr am33xx_mmc1_dev_attr = {
> -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> -};
> -
> -static struct omap_hwmod am33xx_mmc1_hwmod = {
> -	.name		= "mmc2",
> -	.class		= &am33xx_mmc_hwmod_class,
> -	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_mmc1_irqs,
> -	.sdma_reqs	= am33xx_mmc1_edma_reqs,
> -	.main_clk	= "mmc_clk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MMC1_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -	.dev_attr	= &am33xx_mmc1_dev_attr,
> -};
> -
> -/* mmc2 */
> -static struct omap_hwmod_irq_info am33xx_mmc2_irqs[] = {
> -	{ .irq = 29 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mmc2_edma_reqs[] = {
> -	{ .name = "tx", .dma_req = 64, },
> -	{ .name = "rx", .dma_req = 65, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_mmc_dev_attr am33xx_mmc2_dev_attr = {
> -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> -};
> -static struct omap_hwmod am33xx_mmc2_hwmod = {
> -	.name		= "mmc3",
> -	.class		= &am33xx_mmc_hwmod_class,
> -	.clkdm_name	= "l3s_clkdm",
> -	.mpu_irqs	= am33xx_mmc2_irqs,
> -	.sdma_reqs	= am33xx_mmc2_edma_reqs,
> -	.main_clk	= "mmc_clk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_MMC2_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -	.dev_attr	= &am33xx_mmc2_dev_attr,
> -};
> -
> -/*
> - * 'rtc' class
> - * rtc subsystem
> - */
> -static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
> -	.rev_offs	= 0x0074,
> -	.sysc_offs	= 0x0078,
> -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO |
> -			  SIDLE_SMART | SIDLE_SMART_WKUP),
> -	.sysc_fields	= &omap_hwmod_sysc_type3,
> -};
> +/*
> + * 'rtc' class
> + * rtc subsystem
> + */
> +static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
> +	.rev_offs	= 0x0074,
> +	.sysc_offs	= 0x0078,
> +	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> +	.idlemodes	= (SIDLE_FORCE | SIDLE_NO |
> +			  SIDLE_SMART | SIDLE_SMART_WKUP),
> +	.sysc_fields	= &omap_hwmod_sysc_type3,
> +};
> 
>  static struct omap_hwmod_class am33xx_rtc_hwmod_class = {
>  	.name		= "rtc",
>  	.sysc		= &am33xx_rtc_sysc,
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_rtc_irqs[] = {
> -	{ .name = "rtcint", .irq = 75 + OMAP_INTC_START, },
> -	{ .name = "rtcalarmint", .irq = 76 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_rtc_hwmod = {
>  	.name		= "rtc",
>  	.class		= &am33xx_rtc_hwmod_class,
>  	.clkdm_name	= "l4_rtc_clkdm",
> -	.mpu_irqs	= am33xx_rtc_irqs,
>  	.main_clk	= "clk_32768_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1582,19 +777,6 @@ static struct omap_hwmod_class
> am33xx_spi_hwmod_class = {
>  };
> 
>  /* spi0 */
> -static struct omap_hwmod_irq_info am33xx_spi0_irqs[] = {
> -	{ .irq = 65 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mcspi0_edma_reqs[] = {
> -	{ .name = "rx0", .dma_req = 17 },
> -	{ .name = "tx0", .dma_req = 16 },
> -	{ .name = "rx1", .dma_req = 19 },
> -	{ .name = "tx1", .dma_req = 18 },
> -	{ .dma_req = -1 }
> -};
> -
>  static struct omap2_mcspi_dev_attr mcspi_attrib = {
>  	.num_chipselect	= 2,
>  };
> @@ -1602,8 +784,6 @@ static struct omap_hwmod am33xx_spi0_hwmod = {
>  	.name		= "spi0",
>  	.class		= &am33xx_spi_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_spi0_irqs,
> -	.sdma_reqs	= am33xx_mcspi0_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1615,25 +795,10 @@ static struct omap_hwmod am33xx_spi0_hwmod = {
>  };
> 
>  /* spi1 */
> -static struct omap_hwmod_irq_info am33xx_spi1_irqs[] = {
> -	{ .irq = 125 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod_dma_info am33xx_mcspi1_edma_reqs[] = {
> -	{ .name = "rx0", .dma_req = 43 },
> -	{ .name = "tx0", .dma_req = 42 },
> -	{ .name = "rx1", .dma_req = 45 },
> -	{ .name = "tx1", .dma_req = 44 },
> -	{ .dma_req = -1 }
> -};
> -
>  static struct omap_hwmod am33xx_spi1_hwmod = {
>  	.name		= "spi1",
>  	.class		= &am33xx_spi_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_spi1_irqs,
> -	.sdma_reqs	= am33xx_mcspi1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1699,16 +864,10 @@ static struct omap_hwmod_class
> am33xx_timer1ms_hwmod_class = {
>  	.sysc		= &am33xx_timer1ms_sysc,
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer1_irqs[] = {
> -	{ .irq = 67 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer1_hwmod = {
>  	.name		= "timer1",
>  	.class		= &am33xx_timer1ms_hwmod_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= am33xx_timer1_irqs,
>  	.main_clk	= "timer1_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1718,16 +877,10 @@ static struct omap_hwmod am33xx_timer1_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer2_irqs[] = {
> -	{ .irq = 68 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer2_hwmod = {
>  	.name		= "timer2",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer2_irqs,
>  	.main_clk	= "timer2_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1737,16 +890,10 @@ static struct omap_hwmod am33xx_timer2_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer3_irqs[] = {
> -	{ .irq = 69 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer3_hwmod = {
>  	.name		= "timer3",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer3_irqs,
>  	.main_clk	= "timer3_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1756,16 +903,10 @@ static struct omap_hwmod am33xx_timer3_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer4_irqs[] = {
> -	{ .irq = 92 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer4_hwmod = {
>  	.name		= "timer4",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer4_irqs,
>  	.main_clk	= "timer4_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1775,16 +916,10 @@ static struct omap_hwmod am33xx_timer4_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer5_irqs[] = {
> -	{ .irq = 93 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer5_hwmod = {
>  	.name		= "timer5",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer5_irqs,
>  	.main_clk	= "timer5_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1794,16 +929,10 @@ static struct omap_hwmod am33xx_timer5_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer6_irqs[] = {
> -	{ .irq = 94 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer6_hwmod = {
>  	.name		= "timer6",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer6_irqs,
>  	.main_clk	= "timer6_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1813,16 +942,10 @@ static struct omap_hwmod am33xx_timer6_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_timer7_irqs[] = {
> -	{ .irq = 95 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_timer7_hwmod = {
>  	.name		= "timer7",
>  	.class		= &am33xx_timer_hwmod_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_timer7_irqs,
>  	.main_clk	= "timer7_fck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1837,18 +960,10 @@ static struct omap_hwmod_class
> am33xx_tpcc_hwmod_class = {
>  	.name		= "tpcc",
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_tpcc_irqs[] = {
> -	{ .name	= "edma0", .irq = 12 + OMAP_INTC_START, },
> -	{ .name = "edma0_mperr", .irq = 13 + OMAP_INTC_START, },
> -	{ .name	= "edma0_err", .irq = 14 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_tpcc_hwmod = {
>  	.name		= "tpcc",
>  	.class		= &am33xx_tpcc_hwmod_class,
>  	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_tpcc_irqs,
>  	.main_clk	= "l3_gclk",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1858,84 +973,6 @@ static struct omap_hwmod am33xx_tpcc_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_class_sysconfig am33xx_tptc_sysc = {
> -	.rev_offs	= 0x0,
> -	.sysc_offs	= 0x10,
> -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
> -			  SYSC_HAS_MIDLEMODE),
> -	.idlemodes	= (SIDLE_FORCE | SIDLE_SMART | MSTANDBY_FORCE),
> -	.sysc_fields	= &omap_hwmod_sysc_type2,
> -};
> -
> -/* 'tptc' class */
> -static struct omap_hwmod_class am33xx_tptc_hwmod_class = {
> -	.name		= "tptc",
> -	.sysc		= &am33xx_tptc_sysc,
> -};
> -
> -/* tptc0 */
> -static struct omap_hwmod_irq_info am33xx_tptc0_irqs[] = {
> -	{ .irq = 112 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_tptc0_hwmod = {
> -	.name		= "tptc0",
> -	.class		= &am33xx_tptc_hwmod_class,
> -	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_tptc0_irqs,
> -	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
> -	.main_clk	= "l3_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_TPTC0_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* tptc1 */
> -static struct omap_hwmod_irq_info am33xx_tptc1_irqs[] = {
> -	{ .irq = 113 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_tptc1_hwmod = {
> -	.name		= "tptc1",
> -	.class		= &am33xx_tptc_hwmod_class,
> -	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_tptc1_irqs,
> -	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> -	.main_clk	= "l3_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_TPTC1_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
> -/* tptc2 */
> -static struct omap_hwmod_irq_info am33xx_tptc2_irqs[] = {
> -	{ .irq = 114 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
> -static struct omap_hwmod am33xx_tptc2_hwmod = {
> -	.name		= "tptc2",
> -	.class		= &am33xx_tptc_hwmod_class,
> -	.clkdm_name	= "l3_clkdm",
> -	.mpu_irqs	= am33xx_tptc2_irqs,
> -	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> -	.main_clk	= "l3_gclk",
> -	.prcm		= {
> -		.omap4	= {
> -			.clkctrl_offs	=
> AM33XX_CM_PER_TPTC2_CLKCTRL_OFFSET,
> -			.modulemode	= MODULEMODE_SWCTRL,
> -		},
> -	},
> -};
> -
>  /* 'uart' class */
>  static struct omap_hwmod_class_sysconfig uart_sysc = {
>  	.rev_offs	= 0x50,
> @@ -1954,23 +991,10 @@ static struct omap_hwmod_class uart_class = {
>  };
> 
>  /* uart1 */
> -static struct omap_hwmod_dma_info uart1_edma_reqs[] = {
> -	{ .name = "tx",	.dma_req = 26, },
> -	{ .name = "rx",	.dma_req = 27, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_uart1_irqs[] = {
> -	{ .irq = 72 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart1_hwmod = {
>  	.name		= "uart1",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4_wkup_clkdm",
> -	.mpu_irqs	= am33xx_uart1_irqs,
> -	.sdma_reqs	= uart1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_wkupdm_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -1980,17 +1004,10 @@ static struct omap_hwmod am33xx_uart1_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_uart2_irqs[] = {
> -	{ .irq = 73 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart2_hwmod = {
>  	.name		= "uart2",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_uart2_irqs,
> -	.sdma_reqs	= uart1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -2001,23 +1018,10 @@ static struct omap_hwmod am33xx_uart2_hwmod = {
>  };
> 
>  /* uart3 */
> -static struct omap_hwmod_dma_info uart3_edma_reqs[] = {
> -	{ .name = "tx",	.dma_req = 30, },
> -	{ .name = "rx",	.dma_req = 31, },
> -	{ .dma_req = -1 }
> -};
> -
> -static struct omap_hwmod_irq_info am33xx_uart3_irqs[] = {
> -	{ .irq = 74 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart3_hwmod = {
>  	.name		= "uart3",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_uart3_irqs,
> -	.sdma_reqs	= uart3_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -2027,17 +1031,10 @@ static struct omap_hwmod am33xx_uart3_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_uart4_irqs[] = {
> -	{ .irq = 44 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart4_hwmod = {
>  	.name		= "uart4",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_uart4_irqs,
> -	.sdma_reqs	= uart1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -2047,17 +1044,10 @@ static struct omap_hwmod am33xx_uart4_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_uart5_irqs[] = {
> -	{ .irq = 45 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart5_hwmod = {
>  	.name		= "uart5",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_uart5_irqs,
> -	.sdma_reqs	= uart1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -2067,17 +1057,10 @@ static struct omap_hwmod am33xx_uart5_hwmod = {
>  	},
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_uart6_irqs[] = {
> -	{ .irq = 46 + OMAP_INTC_START, },
> -	{ .irq = -1 },
> -};
> -
>  static struct omap_hwmod am33xx_uart6_hwmod = {
>  	.name		= "uart6",
>  	.class		= &uart_class,
>  	.clkdm_name	= "l4ls_clkdm",
> -	.mpu_irqs	= am33xx_uart6_irqs,
> -	.sdma_reqs	= uart1_edma_reqs,
>  	.main_clk	= "dpll_per_m2_div4_ck",
>  	.prcm		= {
>  		.omap4	= {
> @@ -2123,7 +1106,7 @@ static struct omap_hwmod am33xx_wd_timer1_hwmod =
> {
>  	},
>  };
> 
> -/*
> + /*
>   * 'usb_otg' class
>   * high-speed on-the-go universal serial bus (usb_otg) controller
>   */
> @@ -2141,18 +1124,10 @@ static struct omap_hwmod_class
> am33xx_usbotg_class = {
>  	.sysc		= &am33xx_usbhsotg_sysc,
>  };
> 
> -static struct omap_hwmod_irq_info am33xx_usbss_mpu_irqs[] = {
> -	{ .name = "usbss-irq", .irq = 17 + OMAP_INTC_START, },
> -	{ .name = "musb0-irq", .irq = 18 + OMAP_INTC_START, },
> -	{ .name = "musb1-irq", .irq = 19 + OMAP_INTC_START, },
> -	{ .irq = -1, },
> -};
> -
>  static struct omap_hwmod am33xx_usbss_hwmod = {
>  	.name		= "usb_otg_hs",
>  	.class		= &am33xx_usbotg_class,
>  	.clkdm_name	= "l3s_clkdm",
> -	.mpu_irqs	= am33xx_usbss_mpu_irqs,
>  	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
>  	.main_clk	= "usbotg_fck",
>  	.prcm		= {
> @@ -2163,36 +1138,9 @@ static struct omap_hwmod am33xx_usbss_hwmod = {
>  	},
>  };
> 
> -
>  /*
>   * Interfaces
>   */
> -
> -/* l4 fw -> emif fw */
> -static struct omap_hwmod_ocp_if am33xx_l4_fw__emif_fw = {
> -	.master		= &am33xx_l4_fw_hwmod,
> -	.slave		= &am33xx_emif_fw_hwmod,
> -	.clk		= "l4fw_gclk",
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_emif_addrs[] = {
> -	{
> -		.pa_start	= 0x4c000000,
> -		.pa_end		= 0x4c000fff,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -/* l3 main -> emif */
> -static struct omap_hwmod_ocp_if am33xx_l3_main__emif = {
> -	.master		= &am33xx_l3_main_hwmod,
> -	.slave		= &am33xx_emif_hwmod,
> -	.clk		= "dpll_core_m4_ck",
> -	.addr		= am33xx_emif_addrs,
> -	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> -};
> -
>  /* mpu -> l3 main */
>  static struct omap_hwmod_ocp_if am33xx_mpu__l3_main = {
>  	.master		= &am33xx_mpu_hwmod,
> @@ -2233,14 +1181,6 @@ static struct omap_hwmod_ocp_if
> am33xx_l3_s__l4_wkup = {
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
> -/* l3 s -> l4 fw */
> -static struct omap_hwmod_ocp_if am33xx_l3_s__l4_fw = {
> -	.master		= &am33xx_l3_s_hwmod,
> -	.slave		= &am33xx_l4_fw_hwmod,
> -	.clk		= "l3s_gclk",
> -	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> -};
> -
>  /* l3 main -> l3 instr */
>  static struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr = {
>  	.master		= &am33xx_l3_main_hwmod,
> @@ -2290,1154 +1230,277 @@ static struct omap_hwmod_ocp_if
> am33xx_gfx__l3_main = {
>  };
> 
>  /* l4 wkup -> wkup m3 */
> -static struct omap_hwmod_addr_space am33xx_wkup_m3_addrs[] = {
> -	{
> -		.name		= "umem",
> -		.pa_start	= 0x44d00000,
> -		.pa_end		= 0x44d00000 + SZ_16K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{
> -		.name		= "dmem",
> -		.pa_start	= 0x44d80000,
> -		.pa_end		= 0x44d80000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__wkup_m3 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_wkup_m3_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_wkup_m3_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 hs -> pru-icss */
> -static struct omap_hwmod_addr_space am33xx_pruss_addrs[] = {
> -	{
> -		.pa_start	= 0x4a300000,
> -		.pa_end		= 0x4a300000 + SZ_512K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_hs__pruss = {
>  	.master		= &am33xx_l4_hs_hwmod,
>  	.slave		= &am33xx_pruss_hwmod,
>  	.clk		= "dpll_core_m4_ck",
> -	.addr		= am33xx_pruss_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l3 main -> gfx */
> -static struct omap_hwmod_addr_space am33xx_gfx_addrs[] = {
> -	{
> -		.pa_start	= 0x56000000,
> -		.pa_end		= 0x56000000 + SZ_16M - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l3_main__gfx = {
>  	.master		= &am33xx_l3_main_hwmod,
>  	.slave		= &am33xx_gfx_hwmod,
>  	.clk		= "dpll_core_m4_ck",
> -	.addr		= am33xx_gfx_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 wkup -> smartreflex0 */
> -static struct omap_hwmod_addr_space am33xx_smartreflex0_addrs[] = {
> -	{
> -		.pa_start	= 0x44e37000,
> -		.pa_end		= 0x44e37000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex0 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_smartreflex0_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_smartreflex0_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 wkup -> smartreflex1 */
> -static struct omap_hwmod_addr_space am33xx_smartreflex1_addrs[] = {
> -	{
> -		.pa_start	= 0x44e39000,
> -		.pa_end		= 0x44e39000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex1 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_smartreflex1_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_smartreflex1_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 wkup -> control */
> -static struct omap_hwmod_addr_space am33xx_control_addrs[] = {
> -	{
> -		.pa_start	= 0x44e10000,
> -		.pa_end		= 0x44e10000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__control = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_control_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_control_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 wkup -> rtc */
> -static struct omap_hwmod_addr_space am33xx_rtc_addrs[] = {
> -	{
> -		.pa_start	= 0x44e3e000,
> -		.pa_end		= 0x44e3e000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_rtc_hwmod,
>  	.clk		= "clkdiv32k_ick",
> -	.addr		= am33xx_rtc_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 per/ls -> DCAN0 */
> -static struct omap_hwmod_addr_space am33xx_dcan0_addrs[] = {
> -	{
> -		.pa_start	= 0x481CC000,
> -		.pa_end		= 0x481CC000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__dcan0 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_dcan0_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_dcan0_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 per/ls -> DCAN1 */
> -static struct omap_hwmod_addr_space am33xx_dcan1_addrs[] = {
> -	{
> -		.pa_start	= 0x481D0000,
> -		.pa_end		= 0x481D0000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__dcan1 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_dcan1_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_dcan1_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 per/ls -> GPIO2 */
> -static struct omap_hwmod_addr_space am33xx_gpio1_addrs[] = {
> -	{
> -		.pa_start	= 0x4804C000,
> -		.pa_end		= 0x4804C000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio1 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_gpio1_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_gpio1_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 per/ls -> gpio3 */
> -static struct omap_hwmod_addr_space am33xx_gpio2_addrs[] = {
> -	{
> -		.pa_start	= 0x481AC000,
> -		.pa_end		= 0x481AC000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio2 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_gpio2_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_gpio2_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
>  /* l4 per/ls -> gpio4 */
> -static struct omap_hwmod_addr_space am33xx_gpio3_addrs[] = {
> -	{
> -		.pa_start	= 0x481AE000,
> -		.pa_end		= 0x481AE000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio3 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_gpio3_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_gpio3_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
> -/* L4 WKUP -> I2C1 */
> -static struct omap_hwmod_addr_space am33xx_i2c1_addr_space[] = {
> -	{
> -		.pa_start	= 0x44E0B000,
> -		.pa_end		= 0x44E0B000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__i2c1 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_i2c1_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_i2c1_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* L4 WKUP -> GPIO1 */
> -static struct omap_hwmod_addr_space am33xx_gpio0_addrs[] = {
> -	{
> -		.pa_start	= 0x44E07000,
> -		.pa_end		= 0x44E07000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__gpio0 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_gpio0_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_gpio0_addrs,
>  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
>  };
> 
> -/* L4 WKUP -> ADC_TSC */
> -static struct omap_hwmod_addr_space am33xx_adc_tsc_addrs[] = {
> -	{
> -		.pa_start	= 0x44E0D000,
> -		.pa_end		= 0x44E0D000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_wkup__adc_tsc = {
> -	.master		= &am33xx_l4_wkup_hwmod,
> -	.slave		= &am33xx_adc_tsc_hwmod,
> -	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_adc_tsc_addrs,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_cpgmac0_addr_space[] = {
> -	/* cpsw ss */
> -	{
> -		.pa_start	= 0x4a100000,
> -		.pa_end		= 0x4a100000 + SZ_2K - 1,
> -	},
> -	/* cpsw wr */
> -	{
> -		.pa_start	= 0x4a101200,
> -		.pa_end		= 0x4a101200 + SZ_256 - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_hs__cpgmac0 = {
>  	.master		= &am33xx_l4_hs_hwmod,
>  	.slave		= &am33xx_cpgmac0_hwmod,
>  	.clk		= "cpsw_125mhz_gclk",
> -	.addr		= am33xx_cpgmac0_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -static struct omap_hwmod_addr_space am33xx_mdio_addr_space[] = {
> -	{
> -		.pa_start	= 0x4A101000,
> -		.pa_end		= 0x4A101000 + SZ_256 - 1,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio = {
>  	.master		= &am33xx_cpgmac0_hwmod,
>  	.slave		= &am33xx_mdio_hwmod,
> -	.addr		= am33xx_mdio_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = {
> -	{
> -		.pa_start	= 0x48080000,
> -		.pa_end		= 0x48080000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__elm = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_elm_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_elm_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_epwmss0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48300000,
> -		.pa_end		= 0x48300000 + SZ_16 - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss0 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_epwmss0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_epwmss0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ecap0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48300100,
> -		.pa_end		= 0x48300100 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss0__ecap0 = {
> -	.master		= &am33xx_epwmss0_hwmod,
> -	.slave		= &am33xx_ecap0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ecap0_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -static struct omap_hwmod_addr_space am33xx_eqep0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48300180,
> -		.pa_end		= 0x48300180 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss0__eqep0 = {
> -	.master		= &am33xx_epwmss0_hwmod,
> -	.slave		= &am33xx_eqep0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_eqep0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ehrpwm0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48300200,
> -		.pa_end		= 0x48300200 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss0__ehrpwm0 = {
> -	.master		= &am33xx_epwmss0_hwmod,
> -	.slave		= &am33xx_ehrpwm0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ehrpwm0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -
> -static struct omap_hwmod_addr_space am33xx_epwmss1_addr_space[] = {
> -	{
> -		.pa_start	= 0x48302000,
> -		.pa_end		= 0x48302000 + SZ_16 - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss1 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_epwmss1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_epwmss1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ecap1_addr_space[] = {
> -	{
> -		.pa_start	= 0x48302100,
> -		.pa_end		= 0x48302100 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss1__ecap1 = {
> -	.master		= &am33xx_epwmss1_hwmod,
> -	.slave		= &am33xx_ecap1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ecap1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_eqep1_addr_space[] = {
> -	{
> -		.pa_start	= 0x48302180,
> -		.pa_end		= 0x48302180 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss1__eqep1 = {
> -	.master		= &am33xx_epwmss1_hwmod,
> -	.slave		= &am33xx_eqep1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_eqep1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ehrpwm1_addr_space[] = {
> -	{
> -		.pa_start	= 0x48302200,
> -		.pa_end		= 0x48302200 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss1__ehrpwm1 = {
> -	.master		= &am33xx_epwmss1_hwmod,
> -	.slave		= &am33xx_ehrpwm1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ehrpwm1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_epwmss2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48304000,
> -		.pa_end		= 0x48304000 + SZ_16 - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss2 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_epwmss2_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_epwmss2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ecap2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48304100,
> -		.pa_end		= 0x48304100 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss2__ecap2 = {
> -	.master		= &am33xx_epwmss2_hwmod,
> -	.slave		= &am33xx_ecap2_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ecap2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_eqep2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48304180,
> -		.pa_end		= 0x48304180 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss2__eqep2 = {
> -	.master		= &am33xx_epwmss2_hwmod,
> -	.slave		= &am33xx_eqep2_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_eqep2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_ehrpwm2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48304200,
> -		.pa_end		= 0x48304200 + SZ_128 - 1,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_epwmss2__ehrpwm2 = {
> -	.master		= &am33xx_epwmss2_hwmod,
> -	.slave		= &am33xx_ehrpwm2_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_ehrpwm2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3s cfg -> gpmc */
> -static struct omap_hwmod_addr_space am33xx_gpmc_addr_space[] = {
> -	{
> -		.pa_start	= 0x50000000,
> -		.pa_end		= 0x50000000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_s__gpmc = {
> -	.master		= &am33xx_l3_s_hwmod,
> -	.slave		= &am33xx_gpmc_hwmod,
> -	.clk		= "l3s_gclk",
> -	.addr		= am33xx_gpmc_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* i2c2 */
> -static struct omap_hwmod_addr_space am33xx_i2c2_addr_space[] = {
> -	{
> -		.pa_start	= 0x4802A000,
> -		.pa_end		= 0x4802A000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__i2c2 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_i2c2_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_i2c2_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -static struct omap_hwmod_addr_space am33xx_i2c3_addr_space[] = {
> -	{
> -		.pa_start	= 0x4819C000,
> -		.pa_end		= 0x4819C000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_per__i2c3 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_i2c3_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_i2c3_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_lcdc_addr_space[] = {
> -	{
> -		.pa_start	= 0x4830E000,
> -		.pa_end		= 0x4830E000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_main__lcdc = {
> -	.master		= &am33xx_l3_main_hwmod,
> -	.slave		= &am33xx_lcdc_hwmod,
> -	.clk		= "dpll_core_m4_ck",
> -	.addr		= am33xx_lcdc_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -static struct omap_hwmod_addr_space am33xx_mailbox_addrs[] = {
> -	{
> -		.pa_start	= 0x480C8000,
> -		.pa_end		= 0x480C8000 + (SZ_4K - 1),
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -/* l4 ls -> mailbox */
> -static struct omap_hwmod_ocp_if am33xx_l4_per__mailbox = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_mailbox_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mailbox_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 ls -> spinlock */
> -static struct omap_hwmod_addr_space am33xx_spinlock_addrs[] = {
> -	{
> -		.pa_start	= 0x480Ca000,
> -		.pa_end		= 0x480Ca000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_spinlock_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_spinlock_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> mcasp0 */
> -static struct omap_hwmod_addr_space am33xx_mcasp0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48038000,
> -		.pa_end		= 0x48038000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_mcasp0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mcasp0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3 s -> mcasp0 data */
> -static struct omap_hwmod_addr_space am33xx_mcasp0_data_addr_space[] =
> {
> -	{
> -		.pa_start	= 0x46000000,
> -		.pa_end		= 0x46000000 + SZ_4M - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp0_data = {
> -	.master		= &am33xx_l3_s_hwmod,
> -	.slave		= &am33xx_mcasp0_hwmod,
> -	.clk		= "l3s_gclk",
> -	.addr		= am33xx_mcasp0_data_addr_space,
> -	.user		= OCP_USER_SDMA,
> -};
> -
> -/* l4 ls -> mcasp1 */
> -static struct omap_hwmod_addr_space am33xx_mcasp1_addr_space[] = {
> -	{
> -		.pa_start	= 0x4803C000,
> -		.pa_end		= 0x4803C000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_mcasp1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mcasp1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3 s -> mcasp1 data */
> -static struct omap_hwmod_addr_space am33xx_mcasp1_data_addr_space[] =
> {
> -	{
> -		.pa_start	= 0x46400000,
> -		.pa_end		= 0x46400000 + SZ_4M - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp1_data = {
> -	.master		= &am33xx_l3_s_hwmod,
> -	.slave		= &am33xx_mcasp1_hwmod,
> -	.clk		= "l3s_gclk",
> -	.addr		= am33xx_mcasp1_data_addr_space,
> -	.user		= OCP_USER_SDMA,
> -};
> -
> -/* l4 ls -> mmc0 */
> -static struct omap_hwmod_addr_space am33xx_mmc0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48060100,
> -		.pa_end		= 0x48060100 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_mmc0_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mmc0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l4 ls -> mmc1 */
> -static struct omap_hwmod_addr_space am33xx_mmc1_addr_space[] = {
> -	{
> -		.pa_start	= 0x481d8100,
> -		.pa_end		= 0x481d8100 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1 = {
> -	.master		= &am33xx_l4_ls_hwmod,
> -	.slave		= &am33xx_mmc1_hwmod,
> -	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mmc1_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3 s -> mmc2 */
> -static struct omap_hwmod_addr_space am33xx_mmc2_addr_space[] = {
> -	{
> -		.pa_start	= 0x47810100,
> -		.pa_end		= 0x47810100 + SZ_64K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_s__mmc2 = {
> -	.master		= &am33xx_l3_s_hwmod,
> -	.slave		= &am33xx_mmc2_hwmod,
> -	.clk		= "l3s_gclk",
> -	.addr		= am33xx_mmc2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l4 ls -> mcspi0 */
> -static struct omap_hwmod_addr_space am33xx_mcspi0_addr_space[] = {
> -	{
> -		.pa_start	= 0x48030000,
> -		.pa_end		= 0x48030000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_spi0_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mcspi0_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> mcspi1 */
> -static struct omap_hwmod_addr_space am33xx_mcspi1_addr_space[] = {
> -	{
> -		.pa_start	= 0x481A0000,
> -		.pa_end		= 0x481A0000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_spi1_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_mcspi1_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 wkup -> timer1 */
> -static struct omap_hwmod_addr_space am33xx_timer1_addr_space[] = {
> -	{
> -		.pa_start	= 0x44E31000,
> -		.pa_end		= 0x44E31000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__timer1 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_timer1_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_timer1_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer2 */
> -static struct omap_hwmod_addr_space am33xx_timer2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48040000,
> -		.pa_end		= 0x48040000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer2 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer2_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer2_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer3 */
> -static struct omap_hwmod_addr_space am33xx_timer3_addr_space[] = {
> -	{
> -		.pa_start	= 0x48042000,
> -		.pa_end		= 0x48042000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer3 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer3_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer3_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer4 */
> -static struct omap_hwmod_addr_space am33xx_timer4_addr_space[] = {
> -	{
> -		.pa_start	= 0x48044000,
> -		.pa_end		= 0x48044000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer4 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer4_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer4_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer5 */
> -static struct omap_hwmod_addr_space am33xx_timer5_addr_space[] = {
> -	{
> -		.pa_start	= 0x48046000,
> -		.pa_end		= 0x48046000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer5 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer5_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer5_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer6 */
> -static struct omap_hwmod_addr_space am33xx_timer6_addr_space[] = {
> -	{
> -		.pa_start	= 0x48048000,
> -		.pa_end		= 0x48048000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer6 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer6_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer6_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 per -> timer7 */
> -static struct omap_hwmod_addr_space am33xx_timer7_addr_space[] = {
> -	{
> -		.pa_start	= 0x4804A000,
> -		.pa_end		= 0x4804A000 + SZ_1K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer7 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_timer7_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_timer7_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l3 main -> tpcc */
> -static struct omap_hwmod_addr_space am33xx_tpcc_addr_space[] = {
> -	{
> -		.pa_start	= 0x49000000,
> -		.pa_end		= 0x49000000 + SZ_32K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l3_main__tpcc = {
>  	.master		= &am33xx_l3_main_hwmod,
>  	.slave		= &am33xx_tpcc_hwmod,
>  	.clk		= "l3_gclk",
> -	.addr		= am33xx_tpcc_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3 main -> tpcc0 */
> -static struct omap_hwmod_addr_space am33xx_tptc0_addr_space[] = {
> -	{
> -		.pa_start	= 0x49800000,
> -		.pa_end		= 0x49800000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc0 = {
> -	.master		= &am33xx_l3_main_hwmod,
> -	.slave		= &am33xx_tptc0_hwmod,
> -	.clk		= "l3_gclk",
> -	.addr		= am33xx_tptc0_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l3 main -> tpcc1 */
> -static struct omap_hwmod_addr_space am33xx_tptc1_addr_space[] = {
> -	{
> -		.pa_start	= 0x49900000,
> -		.pa_end		= 0x49900000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc1 = {
> -	.master		= &am33xx_l3_main_hwmod,
> -	.slave		= &am33xx_tptc1_hwmod,
> -	.clk		= "l3_gclk",
> -	.addr		= am33xx_tptc1_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l3 main -> tpcc2 */
> -static struct omap_hwmod_addr_space am33xx_tptc2_addr_space[] = {
> -	{
> -		.pa_start	= 0x49a00000,
> -		.pa_end		= 0x49a00000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
> -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc2 = {
> -	.master		= &am33xx_l3_main_hwmod,
> -	.slave		= &am33xx_tptc2_hwmod,
> -	.clk		= "l3_gclk",
> -	.addr		= am33xx_tptc2_addr_space,
> -	.user		= OCP_USER_MPU,
> -};
> -
> -/* l4 wkup -> uart1 */
> -static struct omap_hwmod_addr_space am33xx_uart1_addr_space[] = {
> -	{
> -		.pa_start	= 0x44E09000,
> -		.pa_end		= 0x44E09000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__uart1 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_uart1_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_uart1_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> uart2 */
> -static struct omap_hwmod_addr_space am33xx_uart2_addr_space[] = {
> -	{
> -		.pa_start	= 0x48022000,
> -		.pa_end		= 0x48022000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart2 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_uart2_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_uart2_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> uart3 */
> -static struct omap_hwmod_addr_space am33xx_uart3_addr_space[] = {
> -	{
> -		.pa_start	= 0x48024000,
> -		.pa_end		= 0x48024000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart3 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_uart3_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_uart3_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> uart4 */
> -static struct omap_hwmod_addr_space am33xx_uart4_addr_space[] = {
> -	{
> -		.pa_start	= 0x481A6000,
> -		.pa_end		= 0x481A6000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart4 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_uart4_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_uart4_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> uart5 */
> -static struct omap_hwmod_addr_space am33xx_uart5_addr_space[] = {
> -	{
> -		.pa_start	= 0x481A8000,
> -		.pa_end		= 0x481A8000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart5 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_uart5_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_uart5_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
> -/* l4 ls -> uart6 */
> -static struct omap_hwmod_addr_space am33xx_uart6_addr_space[] = {
> -	{
> -		.pa_start	= 0x481aa000,
> -		.pa_end		= 0x481aa000 + SZ_8K - 1,
> -		.flags		= ADDR_TYPE_RT,
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart6 = {
>  	.master		= &am33xx_l4_ls_hwmod,
>  	.slave		= &am33xx_uart6_hwmod,
>  	.clk		= "l4ls_gclk",
> -	.addr		= am33xx_uart6_addr_space,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* l4 wkup -> wd_timer1 */
> -static struct omap_hwmod_addr_space am33xx_wd_timer1_addrs[] = {
> -	{
> -		.pa_start	= 0x44e35000,
> -		.pa_end		= 0x44e35000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l4_wkup__wd_timer1 = {
>  	.master		= &am33xx_l4_wkup_hwmod,
>  	.slave		= &am33xx_wd_timer1_hwmod,
>  	.clk		= "dpll_core_m4_div2_ck",
> -	.addr		= am33xx_wd_timer1_addrs,
>  	.user		= OCP_USER_MPU,
>  };
> 
>  /* usbss */
>  /* l3 s -> USBSS interface */
> -static struct omap_hwmod_addr_space am33xx_usbss_addr_space[] = {
> -	{
> -		.name		= "usbss",
> -		.pa_start	= 0x47400000,
> -		.pa_end		= 0x47400000 + SZ_4K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{
> -		.name		= "musb0",
> -		.pa_start	= 0x47401000,
> -		.pa_end		= 0x47401000 + SZ_2K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{
> -		.name		= "musb1",
> -		.pa_start	= 0x47401800,
> -		.pa_end		= 0x47401800 + SZ_2K - 1,
> -		.flags		= ADDR_TYPE_RT
> -	},
> -	{ }
> -};
> -
>  static struct omap_hwmod_ocp_if am33xx_l3_s__usbss = {
>  	.master		= &am33xx_l3_s_hwmod,
>  	.slave		= &am33xx_usbss_hwmod,
>  	.clk		= "l3s_gclk",
> -	.addr		= am33xx_usbss_addr_space,
>  	.user		= OCP_USER_MPU,
>  	.flags		= OCPIF_SWSUP_IDLE,
>  };
> @@ -3450,13 +1513,10 @@ static struct omap_hwmod_ocp_if
> am33xx_l3_main__ocmc = {
>  };
> 
>  static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata = {
> -	&am33xx_l4_fw__emif_fw,
> -	&am33xx_l3_main__emif,
>  	&am33xx_mpu__l3_main,
>  	&am33xx_mpu__prcm,
>  	&am33xx_l3_s__l4_ls,
>  	&am33xx_l3_s__l4_wkup,
> -	&am33xx_l3_s__l4_fw,
>  	&am33xx_l3_main__l4_hs,
>  	&am33xx_l3_main__l3_s,
>  	&am33xx_l3_main__l3_instr,
> @@ -3474,7 +1534,6 @@ static struct omap_hwmod_ocp_if
> *am33xx_hwmod_ocp_ifs[] __initdata = {
>  	&am33xx_l4_wkup__rtc,
>  	&am33xx_l4_wkup__i2c1,
>  	&am33xx_l4_wkup__gpio0,
> -	&am33xx_l4_wkup__adc_tsc,
>  	&am33xx_l4_wkup__wd_timer1,
>  	&am33xx_l4_hs__pruss,
>  	&am33xx_l4_per__dcan0,
> @@ -3484,14 +1543,6 @@ static struct omap_hwmod_ocp_if
> *am33xx_hwmod_ocp_ifs[] __initdata = {
>  	&am33xx_l4_per__gpio3,
>  	&am33xx_l4_per__i2c2,
>  	&am33xx_l4_per__i2c3,
> -	&am33xx_l4_per__mailbox,
> -	&am33xx_l4_ls__mcasp0,
> -	&am33xx_l3_s__mcasp0_data,
> -	&am33xx_l4_ls__mcasp1,
> -	&am33xx_l3_s__mcasp1_data,
> -	&am33xx_l4_ls__mmc0,
> -	&am33xx_l4_ls__mmc1,
> -	&am33xx_l3_s__mmc2,
>  	&am33xx_l4_ls__timer2,
>  	&am33xx_l4_ls__timer3,
>  	&am33xx_l4_ls__timer4,
> @@ -3505,26 +1556,8 @@ static struct omap_hwmod_ocp_if
> *am33xx_hwmod_ocp_ifs[] __initdata = {
>  	&am33xx_l4_ls__uart5,
>  	&am33xx_l4_ls__uart6,
>  	&am33xx_l4_ls__spinlock,
> -	&am33xx_l4_ls__elm,
> -	&am33xx_l4_ls__epwmss0,
> -	&am33xx_epwmss0__ecap0,
> -	&am33xx_epwmss0__eqep0,
> -	&am33xx_epwmss0__ehrpwm0,
> -	&am33xx_l4_ls__epwmss1,
> -	&am33xx_epwmss1__ecap1,
> -	&am33xx_epwmss1__eqep1,
> -	&am33xx_epwmss1__ehrpwm1,
> -	&am33xx_l4_ls__epwmss2,
> -	&am33xx_epwmss2__ecap2,
> -	&am33xx_epwmss2__eqep2,
> -	&am33xx_epwmss2__ehrpwm2,
> -	&am33xx_l3_s__gpmc,
> -	&am33xx_l3_main__lcdc,
>  	&am33xx_l4_ls__mcspi0,
>  	&am33xx_l4_ls__mcspi1,
> -	&am33xx_l3_main__tptc0,
> -	&am33xx_l3_main__tptc1,
> -	&am33xx_l3_main__tptc2,
>  	&am33xx_l3_main__ocmc,
>  	&am33xx_l3_s__usbss,
>  	&am33xx_l4_hs__cpgmac0,
> --
> 1.7.9.5
hvaibhav@ti.com - April 10, 2013, 11:23 a.m.
> -----Original Message-----
> From: Hiremath, Vaibhav
> Sent: Wednesday, April 10, 2013 4:45 PM
> To: Shilimkar, Santosh; Tony Lindgren
> Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav
> Subject: RE: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> updates for 3.10
> 
> > -----Original Message-----
> > From: Shilimkar, Santosh
> > Sent: Friday, April 05, 2013 10:20 PM
> > To: Tony Lindgren
> > Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
> > kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> > Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav; Hiremath,
> > Vaibhav
> > Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> > updates for 3.10
> >
> > On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> > > On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> > >> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> > [..]
> >
> > >> Can't we already trim the am33xx hwmod data after your patches for
> > >> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> > >> negative diffstat in other ways for v3.10 merge window as we
> cannot
> > >> make omap4 DT only just quite yet.
> > >>
> > > Yes we can and I can take a stab it tomorrow. The only thing is I
> > > might need some support for testing but thats manageable. Will
> > > take a stab at it tomorrow and if everything goes well, post a
> > > patch for smae.
> > >
> > Patch for the AM33XX to trim is end of the email. Thanks to
> > Sricharan and Pekon for patch and testing. Looping both
> > Vaibhav's if they have any objection on the patch.
> >
> > Regards,
> > Santosh
> >
> > From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00
> 2001
> > From: Sricharan R <r.sricharan@ti.com>
> > Date: Fri, 5 Apr 2013 20:39:12 +0530
> > Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> >
> > - The IO resource information like dma request lines, irq number and
> > ocp address space can be populated via dt blob. So such data can be
> > stripped
> > from SOC hwmod data file.
> >
> > - The devices like adc, mailbox, gpmc which are missing the device
> > tree bindings, hwmod data is not added since AM33XX is DT only build.
> > When such devices add the dt bindings, respective hwmod data can be
> > added along with it.
> >
> This seems unnecessary churn to me. DT bindings for most of the devices
> which you mentioned above are submitted and are at various stages of
> review
> process.
> 

Hit sent button early, below are the links for the patches which have 
been submitted in the recent past but did not make it due to various
known reasons.

> ADC/TSC:
> 
https://lkml.org/lkml/2013/1/23/722


> GPMC:

http://lkml.indiana.edu/hypermail/linux/kernel/1301.3/00052.html

> 
> PWM:

https://lkml.org/lkml/2012/11/27/120


> 
> 
> > - The hwmod like firewall etc which are not useful are also dropped.
> >
> > This gets us around ~2000 loc of negative diff. Patch is boot tested
> on
> > AM335X EVM.
> >
> I would not recommend to get into unnecessary code churn in the future
> just
> to reduce temp Number of Lines of code. This will also kill our
> autogeneration
> concept as well.
> 
> I would suggest you to just alone drop base-addr, irq and dma
> references
> from hwmod entries.
> 
> Thanks,
> Vaibhav
> 
> > Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> > Signed-off-by: Sricharan R <r.sricharan@ti.com>
> > ---
> > Patch has to be based of the dt branch and recent cleanups which are
> > already in 3.10 queue. The patch also can be found on my git tree.
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git
> > for_3.10/am33xx_hwmod_cleanup
> >
> >  arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 1993 +-----------------
> --
> > --------
> >  1 file changed, 13 insertions(+), 1980 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> > b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> > index 31bea1c..19a35e8 100644
> > --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> > +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> > @@ -35,63 +35,6 @@
> >   */
> >
> >  /*
> > - * 'emif_fw' class
> > - * instance(s): emif_fw
> > - */
> > -static struct omap_hwmod_class am33xx_emif_fw_hwmod_class = {
> > -	.name		= "emif_fw",
> > -};
> > -
> > -/* emif_fw */
> > -static struct omap_hwmod am33xx_emif_fw_hwmod = {
> > -	.name		= "emif_fw",
> > -	.class		= &am33xx_emif_fw_hwmod_class,
> > -	.clkdm_name	= "l4fw_clkdm",
> > -	.main_clk	= "l4fw_gclk",
> > -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_EMIF_FW_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/*
> > - * 'emif' class
> > - * instance(s): emif
> > - */
> > -static struct omap_hwmod_class_sysconfig am33xx_emif_sysc = {
> > -	.rev_offs	= 0x0000,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_emif_hwmod_class = {
> > -	.name		= "emif",
> > -	.sysc		= &am33xx_emif_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_emif_irqs[] = {
> > -	{ .name = "ddrerr0", .irq = 101 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -/* emif */
> > -static struct omap_hwmod am33xx_emif_hwmod = {
> > -	.name		= "emif",
> > -	.class		= &am33xx_emif_hwmod_class,
> > -	.clkdm_name	= "l3_clkdm",
> > -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.mpu_irqs	= am33xx_emif_irqs,
> > -	.main_clk	= "dpll_ddr_m2_div2_ck",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_EMIF_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/*
> >   * 'l3' class
> >   * instance(s): l3_main, l3_s, l3_instr
> >   */
> > @@ -99,19 +42,11 @@ static struct omap_hwmod_class
> > am33xx_l3_hwmod_class = {
> >  	.name		= "l3",
> >  };
> >
> > -/* l3_main (l3_fast) */
> > -static struct omap_hwmod_irq_info am33xx_l3_main_irqs[] = {
> > -	{ .name = "l3debug", .irq = 9 + OMAP_INTC_START, },
> > -	{ .name = "l3appint", .irq = 10 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_l3_main_hwmod = {
> >  	.name		= "l3_main",
> >  	.class		= &am33xx_l3_hwmod_class,
> >  	.clkdm_name	= "l3_clkdm",
> >  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.mpu_irqs	= am33xx_l3_main_irqs,
> >  	.main_clk	= "l3_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -196,20 +131,6 @@ static struct omap_hwmod am33xx_l4_wkup_hwmod =
> {
> >  	},
> >  };
> >
> > -/* l4_fw */
> > -static struct omap_hwmod am33xx_l4_fw_hwmod = {
> > -	.name		= "l4_fw",
> > -	.class		= &am33xx_l4_hwmod_class,
> > -	.clkdm_name	= "l4fw_clkdm",
> > -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_L4FW_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> >  /*
> >   * 'mpu' class
> >   */
> > @@ -217,21 +138,11 @@ static struct omap_hwmod_class
> > am33xx_mpu_hwmod_class = {
> >  	.name	= "mpu",
> >  };
> >
> > -/* mpu */
> > -static struct omap_hwmod_irq_info am33xx_mpu_irqs[] = {
> > -	{ .name = "emuint", .irq = 0 + OMAP_INTC_START, },
> > -	{ .name = "commtx", .irq = 1 + OMAP_INTC_START, },
> > -	{ .name = "commrx", .irq = 2 + OMAP_INTC_START, },
> > -	{ .name = "bench", .irq = 3 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_mpu_hwmod = {
> >  	.name		= "mpu",
> >  	.class		= &am33xx_mpu_hwmod_class,
> >  	.clkdm_name	= "mpu_clkdm",
> >  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.mpu_irqs	= am33xx_mpu_irqs,
> >  	.main_clk	= "dpll_mpu_m2_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -253,11 +164,6 @@ static struct omap_hwmod_rst_info
> > am33xx_wkup_m3_resets[] = {
> >  	{ .name = "wkup_m3", .rst_shift = 3, .st_shift = 5 },
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_wkup_m3_irqs[] = {
> > -	{ .name = "txev", .irq = 78 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  /* wkup_m3  */
> >  static struct omap_hwmod am33xx_wkup_m3_hwmod = {
> >  	.name		= "wkup_m3",
> > @@ -265,7 +171,6 @@ static struct omap_hwmod am33xx_wkup_m3_hwmod = {
> >  	.clkdm_name	= "l4_wkup_aon_clkdm",
> >  	/* Keep hardreset asserted */
> >  	.flags		= HWMOD_INIT_NO_RESET | HWMOD_NO_IDLEST,
> > -	.mpu_irqs	= am33xx_wkup_m3_irqs,
> >  	.main_clk	= "dpll_core_m4_div2_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -291,25 +196,12 @@ static struct omap_hwmod_rst_info
> > am33xx_pruss_resets[] = {
> >  	{ .name = "pruss", .rst_shift = 1 },
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_pruss_irqs[] = {
> > -	{ .name = "evtout0", .irq = 20 + OMAP_INTC_START, },
> > -	{ .name = "evtout1", .irq = 21 + OMAP_INTC_START, },
> > -	{ .name = "evtout2", .irq = 22 + OMAP_INTC_START, },
> > -	{ .name = "evtout3", .irq = 23 + OMAP_INTC_START, },
> > -	{ .name = "evtout4", .irq = 24 + OMAP_INTC_START, },
> > -	{ .name = "evtout5", .irq = 25 + OMAP_INTC_START, },
> > -	{ .name = "evtout6", .irq = 26 + OMAP_INTC_START, },
> > -	{ .name = "evtout7", .irq = 27 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  /* pru-icss */
> >  /* Pseudo hwmod for reset control purpose only */
> >  static struct omap_hwmod am33xx_pruss_hwmod = {
> >  	.name		= "pruss",
> >  	.class		= &am33xx_pruss_hwmod_class,
> >  	.clkdm_name	= "pruss_ocp_clkdm",
> > -	.mpu_irqs	= am33xx_pruss_irqs,
> >  	.main_clk	= "pruss_ocp_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -332,16 +224,10 @@ static struct omap_hwmod_rst_info
> > am33xx_gfx_resets[] = {
> >  	{ .name = "gfx", .rst_shift = 0 },
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_gfx_irqs[] = {
> > -	{ .name = "gfxint", .irq = 37 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_gfx_hwmod = {
> >  	.name		= "gfx",
> >  	.class		= &am33xx_gfx_hwmod_class,
> >  	.clkdm_name	= "gfx_l3_clkdm",
> > -	.mpu_irqs	= am33xx_gfx_irqs,
> >  	.main_clk	= "gfx_fck_div_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -370,43 +256,6 @@ static struct omap_hwmod am33xx_prcm_hwmod = {
> >  };
> >
> >  /*
> > - * 'adc/tsc' class
> > - * TouchScreen Controller (Anolog-To-Digital Converter)
> > - */
> > -static struct omap_hwmod_class_sysconfig am33xx_adc_tsc_sysc = {
> > -	.rev_offs	= 0x00,
> > -	.sysc_offs	= 0x10,
> > -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
> > -			SIDLE_SMART_WKUP),
> > -	.sysc_fields	= &omap_hwmod_sysc_type2,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_adc_tsc_hwmod_class = {
> > -	.name		= "adc_tsc",
> > -	.sysc		= &am33xx_adc_tsc_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_adc_tsc_irqs[] = {
> > -	{ .irq = 16 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_adc_tsc_hwmod = {
> > -	.name		= "adc_tsc",
> > -	.class		= &am33xx_adc_tsc_hwmod_class,
> > -	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= am33xx_adc_tsc_irqs,
> > -	.main_clk	= "adc_tsc_fck",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_WKUP_ADC_TSC_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/*
> >   * Modules omap_hwmod structures
> >   *
> >   * The following IPs are excluded for the moment because:
> > @@ -508,16 +357,10 @@ static struct omap_hwmod_class
> > am33xx_aes_hwmod_class = {
> >  	.name		= "aes",
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_aes0_irqs[] = {
> > -	{ .irq = 102 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_aes0_hwmod = {
> >  	.name		= "aes0",
> >  	.class		= &am33xx_aes_hwmod_class,
> >  	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_aes0_irqs,
> >  	.main_clk	= "l3_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -532,16 +375,10 @@ static struct omap_hwmod_class
> > am33xx_sha0_hwmod_class = {
> >  	.name		= "sha0",
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_sha0_irqs[] = {
> > -	{ .irq = 108 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_sha0_hwmod = {
> >  	.name		= "sha0",
> >  	.class		= &am33xx_sha0_hwmod_class,
> >  	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_sha0_irqs,
> >  	.main_clk	= "l3_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -577,17 +414,10 @@ static struct omap_hwmod_class
> > am33xx_smartreflex_hwmod_class = {
> >  	.name		= "smartreflex",
> >  };
> >
> > -/* smartreflex0 */
> > -static struct omap_hwmod_irq_info am33xx_smartreflex0_irqs[] = {
> > -	{ .irq = 120 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_smartreflex0_hwmod = {
> >  	.name		= "smartreflex0",
> >  	.class		= &am33xx_smartreflex_hwmod_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= am33xx_smartreflex0_irqs,
> >  	.main_clk	= "smartreflex0_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -597,17 +427,10 @@ static struct omap_hwmod
> > am33xx_smartreflex0_hwmod = {
> >  	},
> >  };
> >
> > -/* smartreflex1 */
> > -static struct omap_hwmod_irq_info am33xx_smartreflex1_irqs[] = {
> > -	{ .irq = 121 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_smartreflex1_hwmod = {
> >  	.name		= "smartreflex1",
> >  	.class		= &am33xx_smartreflex_hwmod_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= am33xx_smartreflex1_irqs,
> >  	.main_clk	= "smartreflex1_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -624,17 +447,11 @@ static struct omap_hwmod_class
> > am33xx_control_hwmod_class = {
> >  	.name		= "control",
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_control_irqs[] = {
> > -	{ .irq = 8 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_control_hwmod = {
> >  	.name		= "control",
> >  	.class		= &am33xx_control_hwmod_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> >  	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.mpu_irqs	= am33xx_control_irqs,
> >  	.main_clk	= "dpll_core_m4_div2_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -664,20 +481,11 @@ static struct omap_hwmod_class
> > am33xx_cpgmac0_hwmod_class = {
> >  	.sysc		= &am33xx_cpgmac_sysc,
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_cpgmac0_irqs[] = {
> > -	{ .name = "c0_rx_thresh_pend", .irq = 40 + OMAP_INTC_START, },
> > -	{ .name = "c0_rx_pend", .irq = 41 + OMAP_INTC_START, },
> > -	{ .name = "c0_tx_pend", .irq = 42 + OMAP_INTC_START, },
> > -	{ .name = "c0_misc_pend", .irq = 43 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_cpgmac0_hwmod = {
> >  	.name		= "cpgmac0",
> >  	.class		= &am33xx_cpgmac0_hwmod_class,
> >  	.clkdm_name	= "cpsw_125mhz_clkdm",
> >  	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> > -	.mpu_irqs	= am33xx_cpgmac0_irqs,
> >  	.main_clk	= "cpsw_125mhz_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -708,18 +516,10 @@ static struct omap_hwmod_class
> > am33xx_dcan_hwmod_class = {
> >  	.name = "d_can",
> >  };
> >
> > -/* dcan0 */
> > -static struct omap_hwmod_irq_info am33xx_dcan0_irqs[] = {
> > -	{ .name = "d_can_ms", .irq = 52 + OMAP_INTC_START, },
> > -	{ .name = "d_can_mo", .irq = 53 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_dcan0_hwmod = {
> >  	.name		= "d_can0",
> >  	.class		= &am33xx_dcan_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_dcan0_irqs,
> >  	.main_clk	= "dcan0_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -729,17 +529,10 @@ static struct omap_hwmod am33xx_dcan0_hwmod = {
> >  	},
> >  };
> >
> > -/* dcan1 */
> > -static struct omap_hwmod_irq_info am33xx_dcan1_irqs[] = {
> > -	{ .name = "d_can_ms", .irq = 55 + OMAP_INTC_START, },
> > -	{ .name = "d_can_mo", .irq = 56 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> >  static struct omap_hwmod am33xx_dcan1_hwmod = {
> >  	.name		= "d_can1",
> >  	.class		= &am33xx_dcan_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_dcan1_irqs,
> >  	.main_clk	= "dcan1_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -749,241 +542,6 @@ static struct omap_hwmod am33xx_dcan1_hwmod = {
> >  	},
> >  };
> >
> > -/* elm */
> > -static struct omap_hwmod_class_sysconfig am33xx_elm_sysc = {
> > -	.rev_offs	= 0x0000,
> > -	.sysc_offs	= 0x0010,
> > -	.syss_offs	= 0x0014,
> > -	.sysc_flags	= (SYSC_HAS_CLOCKACTIVITY | SYSC_HAS_SIDLEMODE |
> > -			SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
> > -			SYSS_HAS_RESET_STATUS),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type1,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_elm_hwmod_class = {
> > -	.name		= "elm",
> > -	.sysc		= &am33xx_elm_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_elm_irqs[] = {
> > -	{ .irq = 4 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_elm_hwmod = {
> > -	.name		= "elm",
> > -	.class		= &am33xx_elm_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_elm_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	= AM33XX_CM_PER_ELM_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* pwmss  */
> > -static struct omap_hwmod_class_sysconfig am33xx_epwmss_sysc = {
> > -	.rev_offs	= 0x0,
> > -	.sysc_offs	= 0x4,
> > -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
> > -			SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
> > -			MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
> > -	.sysc_fields	= &omap_hwmod_sysc_type2,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_epwmss_hwmod_class = {
> > -	.name		= "epwmss",
> > -	.sysc		= &am33xx_epwmss_sysc,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_ecap_hwmod_class = {
> > -	.name		= "ecap",
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_eqep_hwmod_class = {
> > -	.name		= "eqep",
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_ehrpwm_hwmod_class = {
> > -	.name		= "ehrpwm",
> > -};
> > -
> > -/* epwmss0 */
> > -static struct omap_hwmod am33xx_epwmss0_hwmod = {
> > -	.name		= "epwmss0",
> > -	.class		= &am33xx_epwmss_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.main_clk	= "l4ls_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_EPWMSS0_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* ecap0 */
> > -static struct omap_hwmod_irq_info am33xx_ecap0_irqs[] = {
> > -	{ .irq = 31 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ecap0_hwmod = {
> > -	.name		= "ecap0",
> > -	.class		= &am33xx_ecap_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ecap0_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* eqep0 */
> > -static struct omap_hwmod_irq_info am33xx_eqep0_irqs[] = {
> > -	{ .irq = 79 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_eqep0_hwmod = {
> > -	.name		= "eqep0",
> > -	.class		= &am33xx_eqep_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_eqep0_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* ehrpwm0 */
> > -static struct omap_hwmod_irq_info am33xx_ehrpwm0_irqs[] = {
> > -	{ .name = "int", .irq = 86 + OMAP_INTC_START, },
> > -	{ .name = "tzint", .irq = 58 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ehrpwm0_hwmod = {
> > -	.name		= "ehrpwm0",
> > -	.class		= &am33xx_ehrpwm_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ehrpwm0_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* epwmss1 */
> > -static struct omap_hwmod am33xx_epwmss1_hwmod = {
> > -	.name		= "epwmss1",
> > -	.class		= &am33xx_epwmss_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.main_clk	= "l4ls_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_EPWMSS1_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* ecap1 */
> > -static struct omap_hwmod_irq_info am33xx_ecap1_irqs[] = {
> > -	{ .irq = 47 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ecap1_hwmod = {
> > -	.name		= "ecap1",
> > -	.class		= &am33xx_ecap_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ecap1_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* eqep1 */
> > -static struct omap_hwmod_irq_info am33xx_eqep1_irqs[] = {
> > -	{ .irq = 88 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_eqep1_hwmod = {
> > -	.name		= "eqep1",
> > -	.class		= &am33xx_eqep_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_eqep1_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* ehrpwm1 */
> > -static struct omap_hwmod_irq_info am33xx_ehrpwm1_irqs[] = {
> > -	{ .name = "int", .irq = 87 + OMAP_INTC_START, },
> > -	{ .name = "tzint", .irq = 59 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ehrpwm1_hwmod = {
> > -	.name		= "ehrpwm1",
> > -	.class		= &am33xx_ehrpwm_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ehrpwm1_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* epwmss2 */
> > -static struct omap_hwmod am33xx_epwmss2_hwmod = {
> > -	.name		= "epwmss2",
> > -	.class		= &am33xx_epwmss_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.main_clk	= "l4ls_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_EPWMSS2_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* ecap2 */
> > -static struct omap_hwmod_irq_info am33xx_ecap2_irqs[] = {
> > -	{ .irq = 61 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ecap2_hwmod = {
> > -	.name		= "ecap2",
> > -	.class		= &am33xx_ecap_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ecap2_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* eqep2 */
> > -static struct omap_hwmod_irq_info am33xx_eqep2_irqs[] = {
> > -	{ .irq = 89 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_eqep2_hwmod = {
> > -	.name		= "eqep2",
> > -	.class		= &am33xx_eqep_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_eqep2_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> > -/* ehrpwm2 */
> > -static struct omap_hwmod_irq_info am33xx_ehrpwm2_irqs[] = {
> > -	{ .name = "int", .irq = 39 + OMAP_INTC_START, },
> > -	{ .name = "tzint", .irq = 60 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_ehrpwm2_hwmod = {
> > -	.name		= "ehrpwm2",
> > -	.class		= &am33xx_ehrpwm_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_ehrpwm2_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -};
> > -
> >  /*
> >   * 'gpio' class: for gpio 0,1,2,3
> >   */
> > @@ -1015,17 +573,11 @@ static struct omap_hwmod_opt_clk
> > gpio0_opt_clks[] = {
> >  	{ .role = "dbclk", .clk = "gpio0_dbclk" },
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_gpio0_irqs[] = {
> > -	{ .irq = 96 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_gpio0_hwmod = {
> >  	.name		= "gpio1",
> >  	.class		= &am33xx_gpio_hwmod_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> >  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> > -	.mpu_irqs	= am33xx_gpio0_irqs,
> >  	.main_clk	= "dpll_core_m4_div2_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1039,11 +591,6 @@ static struct omap_hwmod am33xx_gpio0_hwmod = {
> >  };
> >
> >  /* gpio1 */
> > -static struct omap_hwmod_irq_info am33xx_gpio1_irqs[] = {
> > -	{ .irq = 98 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod_opt_clk gpio1_opt_clks[] = {
> >  	{ .role = "dbclk", .clk = "gpio1_dbclk" },
> >  };
> > @@ -1053,7 +600,6 @@ static struct omap_hwmod am33xx_gpio1_hwmod = {
> >  	.class		= &am33xx_gpio_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> >  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> > -	.mpu_irqs	= am33xx_gpio1_irqs,
> >  	.main_clk	= "l4ls_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1067,11 +613,6 @@ static struct omap_hwmod am33xx_gpio1_hwmod = {
> >  };
> >
> >  /* gpio2 */
> > -static struct omap_hwmod_irq_info am33xx_gpio2_irqs[] = {
> > -	{ .irq = 32 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod_opt_clk gpio2_opt_clks[] = {
> >  	{ .role = "dbclk", .clk = "gpio2_dbclk" },
> >  };
> > @@ -1081,7 +622,6 @@ static struct omap_hwmod am33xx_gpio2_hwmod = {
> >  	.class		= &am33xx_gpio_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> >  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> > -	.mpu_irqs	= am33xx_gpio2_irqs,
> >  	.main_clk	= "l4ls_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1095,11 +635,6 @@ static struct omap_hwmod am33xx_gpio2_hwmod = {
> >  };
> >
> >  /* gpio3 */
> > -static struct omap_hwmod_irq_info am33xx_gpio3_irqs[] = {
> > -	{ .irq = 62 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod_opt_clk gpio3_opt_clks[] = {
> >  	{ .role = "dbclk", .clk = "gpio3_dbclk" },
> >  };
> > @@ -1109,7 +644,6 @@ static struct omap_hwmod am33xx_gpio3_hwmod = {
> >  	.class		= &am33xx_gpio_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> >  	.flags		= HWMOD_CONTROL_OPT_CLKS_IN_RESET,
> > -	.mpu_irqs	= am33xx_gpio3_irqs,
> >  	.main_clk	= "l4ls_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1122,42 +656,6 @@ static struct omap_hwmod am33xx_gpio3_hwmod = {
> >  	.dev_attr	= &gpio_dev_attr,
> >  };
> >
> > -/* gpmc */
> > -static struct omap_hwmod_class_sysconfig gpmc_sysc = {
> > -	.rev_offs	= 0x0,
> > -	.sysc_offs	= 0x10,
> > -	.syss_offs	= 0x14,
> > -	.sysc_flags	= (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
> > -			SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type1,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_gpmc_hwmod_class = {
> > -	.name		= "gpmc",
> > -	.sysc		= &gpmc_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_gpmc_irqs[] = {
> > -	{ .irq = 100 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_gpmc_hwmod = {
> > -	.name		= "gpmc",
> > -	.class		= &am33xx_gpmc_hwmod_class,
> > -	.clkdm_name	= "l3s_clkdm",
> > -	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
> > -	.mpu_irqs	= am33xx_gpmc_irqs,
> > -	.main_clk	= "l3s_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_GPMC_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> >  /* 'i2c' class */
> >  static struct omap_hwmod_class_sysconfig am33xx_i2c_sysc = {
> >  	.sysc_offs	= 0x0010,
> > @@ -1182,23 +680,10 @@ static struct omap_i2c_dev_attr i2c_dev_attr =
> {
> >  };
> >
> >  /* i2c1 */
> > -static struct omap_hwmod_irq_info i2c1_mpu_irqs[] = {
> > -	{ .irq = 70 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info i2c1_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 0, },
> > -	{ .name = "rx", .dma_req = 0, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> >  static struct omap_hwmod am33xx_i2c1_hwmod = {
> >  	.name		= "i2c1",
> >  	.class		= &i2c_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= i2c1_mpu_irqs,
> > -	.sdma_reqs	= i2c1_edma_reqs,
> >  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
> >  	.main_clk	= "dpll_per_m2_div4_wkupdm_ck",
> >  	.prcm		= {
> > @@ -1211,23 +696,10 @@ static struct omap_hwmod am33xx_i2c1_hwmod = {
> >  };
> >
> >  /* i2c1 */
> > -static struct omap_hwmod_irq_info i2c2_mpu_irqs[] = {
> > -	{ .irq = 71 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info i2c2_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 0, },
> > -	{ .name = "rx", .dma_req = 0, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> >  static struct omap_hwmod am33xx_i2c2_hwmod = {
> >  	.name		= "i2c2",
> >  	.class		= &i2c_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= i2c2_mpu_irqs,
> > -	.sdma_reqs	= i2c2_edma_reqs,
> >  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> > @@ -1240,23 +712,10 @@ static struct omap_hwmod am33xx_i2c2_hwmod = {
> >  };
> >
> >  /* i2c3 */
> > -static struct omap_hwmod_dma_info i2c3_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 0, },
> > -	{ .name = "rx", .dma_req = 0, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_hwmod_irq_info i2c3_mpu_irqs[] = {
> > -	{ .irq = 30 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_i2c3_hwmod = {
> >  	.name		= "i2c3",
> >  	.class		= &i2c_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= i2c3_mpu_irqs,
> > -	.sdma_reqs	= i2c3_edma_reqs,
> >  	.flags		= HWMOD_16BIT_REG | HWMOD_SET_DEFAULT_CLOCKACT,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> > @@ -1268,292 +727,28 @@ static struct omap_hwmod am33xx_i2c3_hwmod =
> {
> >  	.dev_attr	= &i2c_dev_attr,
> >  };
> >
> > -
> > -/* lcdc */
> > -static struct omap_hwmod_class_sysconfig lcdc_sysc = {
> > -	.rev_offs	= 0x0,
> > -	.sysc_offs	= 0x54,
> > -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type2,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_lcdc_hwmod_class = {
> > -	.name		= "lcdc",
> > -	.sysc		= &lcdc_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_lcdc_irqs[] = {
> > -	{ .irq = 36 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_lcdc_hwmod = {
> > -	.name		= "lcdc",
> > -	.class		= &am33xx_lcdc_hwmod_class,
> > -	.clkdm_name	= "lcdc_clkdm",
> > -	.mpu_irqs	= am33xx_lcdc_irqs,
> > -	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
> > -	.main_clk	= "lcd_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_LCDC_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/*
> > - * 'mailbox' class
> > - * mailbox module allowing communication between the on-chip
> > processors using a
> > - * queued mailbox-interrupt mechanism.
> > - */
> > -static struct omap_hwmod_class_sysconfig am33xx_mailbox_sysc = {
> > -	.rev_offs	= 0x0000,
> > -	.sysc_offs	= 0x0010,
> > -	.sysc_flags	= (SYSC_HAS_RESET_STATUS | SYSC_HAS_SIDLEMODE |
> > -			  SYSC_HAS_SOFTRESET),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type2,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_mailbox_hwmod_class = {
> > -	.name	= "mailbox",
> > -	.sysc	= &am33xx_mailbox_sysc,
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_mailbox_irqs[] = {
> > -	{ .irq = 77 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_mailbox_hwmod = {
> > -	.name		= "mailbox",
> > -	.class		= &am33xx_mailbox_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_mailbox_irqs,
> > -	.main_clk	= "l4ls_gclk",
> > -	.prcm = {
> > -		.omap4 = {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MAILBOX0_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/*
> > - * 'mcasp' class
> > - */
> > -static struct omap_hwmod_class_sysconfig am33xx_mcasp_sysc = {
> > -	.rev_offs	= 0x0,
> > -	.sysc_offs	= 0x4,
> > -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type3,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_mcasp_hwmod_class = {
> > -	.name		= "mcasp",
> > -	.sysc		= &am33xx_mcasp_sysc,
> > -};
> > -
> > -/* mcasp0 */
> > -static struct omap_hwmod_irq_info am33xx_mcasp0_irqs[] = {
> > -	{ .name = "ax", .irq = 80 + OMAP_INTC_START, },
> > -	{ .name = "ar", .irq = 81 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mcasp0_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 8, },
> > -	{ .name = "rx", .dma_req = 9, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_hwmod am33xx_mcasp0_hwmod = {
> > -	.name		= "mcasp0",
> > -	.class		= &am33xx_mcasp_hwmod_class,
> > -	.clkdm_name	= "l3s_clkdm",
> > -	.mpu_irqs	= am33xx_mcasp0_irqs,
> > -	.sdma_reqs	= am33xx_mcasp0_edma_reqs,
> > -	.main_clk	= "mcasp0_fck",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MCASP0_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* mcasp1 */
> > -static struct omap_hwmod_irq_info am33xx_mcasp1_irqs[] = {
> > -	{ .name = "ax", .irq = 82 + OMAP_INTC_START, },
> > -	{ .name = "ar", .irq = 83 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mcasp1_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 10, },
> > -	{ .name = "rx", .dma_req = 11, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_hwmod am33xx_mcasp1_hwmod = {
> > -	.name		= "mcasp1",
> > -	.class		= &am33xx_mcasp_hwmod_class,
> > -	.clkdm_name	= "l3s_clkdm",
> > -	.mpu_irqs	= am33xx_mcasp1_irqs,
> > -	.sdma_reqs	= am33xx_mcasp1_edma_reqs,
> > -	.main_clk	= "mcasp1_fck",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MCASP1_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* 'mmc' class */
> > -static struct omap_hwmod_class_sysconfig am33xx_mmc_sysc = {
> > -	.rev_offs	= 0x1fc,
> > -	.sysc_offs	= 0x10,
> > -	.syss_offs	= 0x14,
> > -	.sysc_flags	= (SYSC_HAS_CLOCKACTIVITY | SYSC_HAS_SIDLEMODE |
> > -			  SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET |
> > -			  SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> > -	.sysc_fields	= &omap_hwmod_sysc_type1,
> > -};
> > -
> > -static struct omap_hwmod_class am33xx_mmc_hwmod_class = {
> > -	.name		= "mmc",
> > -	.sysc		= &am33xx_mmc_sysc,
> > -};
> > -
> > -/* mmc0 */
> > -static struct omap_hwmod_irq_info am33xx_mmc0_irqs[] = {
> > -	{ .irq = 64 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mmc0_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 24, },
> > -	{ .name = "rx", .dma_req = 25, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_mmc_dev_attr am33xx_mmc0_dev_attr = {
> > -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> > -};
> > -
> > -static struct omap_hwmod am33xx_mmc0_hwmod = {
> > -	.name		= "mmc1",
> > -	.class		= &am33xx_mmc_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_mmc0_irqs,
> > -	.sdma_reqs	= am33xx_mmc0_edma_reqs,
> > -	.main_clk	= "mmc_clk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MMC0_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -	.dev_attr	= &am33xx_mmc0_dev_attr,
> > -};
> > -
> > -/* mmc1 */
> > -static struct omap_hwmod_irq_info am33xx_mmc1_irqs[] = {
> > -	{ .irq = 28 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mmc1_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 2, },
> > -	{ .name = "rx", .dma_req = 3, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_mmc_dev_attr am33xx_mmc1_dev_attr = {
> > -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> > -};
> > -
> > -static struct omap_hwmod am33xx_mmc1_hwmod = {
> > -	.name		= "mmc2",
> > -	.class		= &am33xx_mmc_hwmod_class,
> > -	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_mmc1_irqs,
> > -	.sdma_reqs	= am33xx_mmc1_edma_reqs,
> > -	.main_clk	= "mmc_clk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MMC1_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -	.dev_attr	= &am33xx_mmc1_dev_attr,
> > -};
> > -
> > -/* mmc2 */
> > -static struct omap_hwmod_irq_info am33xx_mmc2_irqs[] = {
> > -	{ .irq = 29 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mmc2_edma_reqs[] = {
> > -	{ .name = "tx", .dma_req = 64, },
> > -	{ .name = "rx", .dma_req = 65, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_mmc_dev_attr am33xx_mmc2_dev_attr = {
> > -	.flags		= OMAP_HSMMC_SUPPORTS_DUAL_VOLT,
> > -};
> > -static struct omap_hwmod am33xx_mmc2_hwmod = {
> > -	.name		= "mmc3",
> > -	.class		= &am33xx_mmc_hwmod_class,
> > -	.clkdm_name	= "l3s_clkdm",
> > -	.mpu_irqs	= am33xx_mmc2_irqs,
> > -	.sdma_reqs	= am33xx_mmc2_edma_reqs,
> > -	.main_clk	= "mmc_clk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_MMC2_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -	.dev_attr	= &am33xx_mmc2_dev_attr,
> > -};
> > -
> > -/*
> > - * 'rtc' class
> > - * rtc subsystem
> > - */
> > -static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
> > -	.rev_offs	= 0x0074,
> > -	.sysc_offs	= 0x0078,
> > -	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_NO |
> > -			  SIDLE_SMART | SIDLE_SMART_WKUP),
> > -	.sysc_fields	= &omap_hwmod_sysc_type3,
> > -};
> > +/*
> > + * 'rtc' class
> > + * rtc subsystem
> > + */
> > +static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
> > +	.rev_offs	= 0x0074,
> > +	.sysc_offs	= 0x0078,
> > +	.sysc_flags	= SYSC_HAS_SIDLEMODE,
> > +	.idlemodes	= (SIDLE_FORCE | SIDLE_NO |
> > +			  SIDLE_SMART | SIDLE_SMART_WKUP),
> > +	.sysc_fields	= &omap_hwmod_sysc_type3,
> > +};
> >
> >  static struct omap_hwmod_class am33xx_rtc_hwmod_class = {
> >  	.name		= "rtc",
> >  	.sysc		= &am33xx_rtc_sysc,
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_rtc_irqs[] = {
> > -	{ .name = "rtcint", .irq = 75 + OMAP_INTC_START, },
> > -	{ .name = "rtcalarmint", .irq = 76 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_rtc_hwmod = {
> >  	.name		= "rtc",
> >  	.class		= &am33xx_rtc_hwmod_class,
> >  	.clkdm_name	= "l4_rtc_clkdm",
> > -	.mpu_irqs	= am33xx_rtc_irqs,
> >  	.main_clk	= "clk_32768_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1582,19 +777,6 @@ static struct omap_hwmod_class
> > am33xx_spi_hwmod_class = {
> >  };
> >
> >  /* spi0 */
> > -static struct omap_hwmod_irq_info am33xx_spi0_irqs[] = {
> > -	{ .irq = 65 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mcspi0_edma_reqs[] = {
> > -	{ .name = "rx0", .dma_req = 17 },
> > -	{ .name = "tx0", .dma_req = 16 },
> > -	{ .name = "rx1", .dma_req = 19 },
> > -	{ .name = "tx1", .dma_req = 18 },
> > -	{ .dma_req = -1 }
> > -};
> > -
> >  static struct omap2_mcspi_dev_attr mcspi_attrib = {
> >  	.num_chipselect	= 2,
> >  };
> > @@ -1602,8 +784,6 @@ static struct omap_hwmod am33xx_spi0_hwmod = {
> >  	.name		= "spi0",
> >  	.class		= &am33xx_spi_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_spi0_irqs,
> > -	.sdma_reqs	= am33xx_mcspi0_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1615,25 +795,10 @@ static struct omap_hwmod am33xx_spi0_hwmod = {
> >  };
> >
> >  /* spi1 */
> > -static struct omap_hwmod_irq_info am33xx_spi1_irqs[] = {
> > -	{ .irq = 125 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod_dma_info am33xx_mcspi1_edma_reqs[] = {
> > -	{ .name = "rx0", .dma_req = 43 },
> > -	{ .name = "tx0", .dma_req = 42 },
> > -	{ .name = "rx1", .dma_req = 45 },
> > -	{ .name = "tx1", .dma_req = 44 },
> > -	{ .dma_req = -1 }
> > -};
> > -
> >  static struct omap_hwmod am33xx_spi1_hwmod = {
> >  	.name		= "spi1",
> >  	.class		= &am33xx_spi_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_spi1_irqs,
> > -	.sdma_reqs	= am33xx_mcspi1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1699,16 +864,10 @@ static struct omap_hwmod_class
> > am33xx_timer1ms_hwmod_class = {
> >  	.sysc		= &am33xx_timer1ms_sysc,
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer1_irqs[] = {
> > -	{ .irq = 67 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer1_hwmod = {
> >  	.name		= "timer1",
> >  	.class		= &am33xx_timer1ms_hwmod_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= am33xx_timer1_irqs,
> >  	.main_clk	= "timer1_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1718,16 +877,10 @@ static struct omap_hwmod am33xx_timer1_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer2_irqs[] = {
> > -	{ .irq = 68 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer2_hwmod = {
> >  	.name		= "timer2",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer2_irqs,
> >  	.main_clk	= "timer2_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1737,16 +890,10 @@ static struct omap_hwmod am33xx_timer2_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer3_irqs[] = {
> > -	{ .irq = 69 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer3_hwmod = {
> >  	.name		= "timer3",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer3_irqs,
> >  	.main_clk	= "timer3_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1756,16 +903,10 @@ static struct omap_hwmod am33xx_timer3_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer4_irqs[] = {
> > -	{ .irq = 92 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer4_hwmod = {
> >  	.name		= "timer4",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer4_irqs,
> >  	.main_clk	= "timer4_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1775,16 +916,10 @@ static struct omap_hwmod am33xx_timer4_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer5_irqs[] = {
> > -	{ .irq = 93 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer5_hwmod = {
> >  	.name		= "timer5",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer5_irqs,
> >  	.main_clk	= "timer5_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1794,16 +929,10 @@ static struct omap_hwmod am33xx_timer5_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer6_irqs[] = {
> > -	{ .irq = 94 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer6_hwmod = {
> >  	.name		= "timer6",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer6_irqs,
> >  	.main_clk	= "timer6_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1813,16 +942,10 @@ static struct omap_hwmod am33xx_timer6_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_timer7_irqs[] = {
> > -	{ .irq = 95 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_timer7_hwmod = {
> >  	.name		= "timer7",
> >  	.class		= &am33xx_timer_hwmod_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_timer7_irqs,
> >  	.main_clk	= "timer7_fck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1837,18 +960,10 @@ static struct omap_hwmod_class
> > am33xx_tpcc_hwmod_class = {
> >  	.name		= "tpcc",
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_tpcc_irqs[] = {
> > -	{ .name	= "edma0", .irq = 12 + OMAP_INTC_START, },
> > -	{ .name = "edma0_mperr", .irq = 13 + OMAP_INTC_START, },
> > -	{ .name	= "edma0_err", .irq = 14 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_tpcc_hwmod = {
> >  	.name		= "tpcc",
> >  	.class		= &am33xx_tpcc_hwmod_class,
> >  	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_tpcc_irqs,
> >  	.main_clk	= "l3_gclk",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1858,84 +973,6 @@ static struct omap_hwmod am33xx_tpcc_hwmod = {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_class_sysconfig am33xx_tptc_sysc = {
> > -	.rev_offs	= 0x0,
> > -	.sysc_offs	= 0x10,
> > -	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
> > -			  SYSC_HAS_MIDLEMODE),
> > -	.idlemodes	= (SIDLE_FORCE | SIDLE_SMART | MSTANDBY_FORCE),
> > -	.sysc_fields	= &omap_hwmod_sysc_type2,
> > -};
> > -
> > -/* 'tptc' class */
> > -static struct omap_hwmod_class am33xx_tptc_hwmod_class = {
> > -	.name		= "tptc",
> > -	.sysc		= &am33xx_tptc_sysc,
> > -};
> > -
> > -/* tptc0 */
> > -static struct omap_hwmod_irq_info am33xx_tptc0_irqs[] = {
> > -	{ .irq = 112 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_tptc0_hwmod = {
> > -	.name		= "tptc0",
> > -	.class		= &am33xx_tptc_hwmod_class,
> > -	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_tptc0_irqs,
> > -	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
> > -	.main_clk	= "l3_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_TPTC0_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* tptc1 */
> > -static struct omap_hwmod_irq_info am33xx_tptc1_irqs[] = {
> > -	{ .irq = 113 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_tptc1_hwmod = {
> > -	.name		= "tptc1",
> > -	.class		= &am33xx_tptc_hwmod_class,
> > -	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_tptc1_irqs,
> > -	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> > -	.main_clk	= "l3_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_TPTC1_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> > -/* tptc2 */
> > -static struct omap_hwmod_irq_info am33xx_tptc2_irqs[] = {
> > -	{ .irq = 114 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> > -static struct omap_hwmod am33xx_tptc2_hwmod = {
> > -	.name		= "tptc2",
> > -	.class		= &am33xx_tptc_hwmod_class,
> > -	.clkdm_name	= "l3_clkdm",
> > -	.mpu_irqs	= am33xx_tptc2_irqs,
> > -	.flags		= (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
> > -	.main_clk	= "l3_gclk",
> > -	.prcm		= {
> > -		.omap4	= {
> > -			.clkctrl_offs	=
> > AM33XX_CM_PER_TPTC2_CLKCTRL_OFFSET,
> > -			.modulemode	= MODULEMODE_SWCTRL,
> > -		},
> > -	},
> > -};
> > -
> >  /* 'uart' class */
> >  static struct omap_hwmod_class_sysconfig uart_sysc = {
> >  	.rev_offs	= 0x50,
> > @@ -1954,23 +991,10 @@ static struct omap_hwmod_class uart_class = {
> >  };
> >
> >  /* uart1 */
> > -static struct omap_hwmod_dma_info uart1_edma_reqs[] = {
> > -	{ .name = "tx",	.dma_req = 26, },
> > -	{ .name = "rx",	.dma_req = 27, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_uart1_irqs[] = {
> > -	{ .irq = 72 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart1_hwmod = {
> >  	.name		= "uart1",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4_wkup_clkdm",
> > -	.mpu_irqs	= am33xx_uart1_irqs,
> > -	.sdma_reqs	= uart1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_wkupdm_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -1980,17 +1004,10 @@ static struct omap_hwmod am33xx_uart1_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_uart2_irqs[] = {
> > -	{ .irq = 73 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart2_hwmod = {
> >  	.name		= "uart2",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_uart2_irqs,
> > -	.sdma_reqs	= uart1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -2001,23 +1018,10 @@ static struct omap_hwmod am33xx_uart2_hwmod =
> {
> >  };
> >
> >  /* uart3 */
> > -static struct omap_hwmod_dma_info uart3_edma_reqs[] = {
> > -	{ .name = "tx",	.dma_req = 30, },
> > -	{ .name = "rx",	.dma_req = 31, },
> > -	{ .dma_req = -1 }
> > -};
> > -
> > -static struct omap_hwmod_irq_info am33xx_uart3_irqs[] = {
> > -	{ .irq = 74 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart3_hwmod = {
> >  	.name		= "uart3",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_uart3_irqs,
> > -	.sdma_reqs	= uart3_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -2027,17 +1031,10 @@ static struct omap_hwmod am33xx_uart3_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_uart4_irqs[] = {
> > -	{ .irq = 44 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart4_hwmod = {
> >  	.name		= "uart4",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_uart4_irqs,
> > -	.sdma_reqs	= uart1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -2047,17 +1044,10 @@ static struct omap_hwmod am33xx_uart4_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_uart5_irqs[] = {
> > -	{ .irq = 45 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart5_hwmod = {
> >  	.name		= "uart5",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_uart5_irqs,
> > -	.sdma_reqs	= uart1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -2067,17 +1057,10 @@ static struct omap_hwmod am33xx_uart5_hwmod =
> {
> >  	},
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_uart6_irqs[] = {
> > -	{ .irq = 46 + OMAP_INTC_START, },
> > -	{ .irq = -1 },
> > -};
> > -
> >  static struct omap_hwmod am33xx_uart6_hwmod = {
> >  	.name		= "uart6",
> >  	.class		= &uart_class,
> >  	.clkdm_name	= "l4ls_clkdm",
> > -	.mpu_irqs	= am33xx_uart6_irqs,
> > -	.sdma_reqs	= uart1_edma_reqs,
> >  	.main_clk	= "dpll_per_m2_div4_ck",
> >  	.prcm		= {
> >  		.omap4	= {
> > @@ -2123,7 +1106,7 @@ static struct omap_hwmod am33xx_wd_timer1_hwmod
> =
> > {
> >  	},
> >  };
> >
> > -/*
> > + /*
> >   * 'usb_otg' class
> >   * high-speed on-the-go universal serial bus (usb_otg) controller
> >   */
> > @@ -2141,18 +1124,10 @@ static struct omap_hwmod_class
> > am33xx_usbotg_class = {
> >  	.sysc		= &am33xx_usbhsotg_sysc,
> >  };
> >
> > -static struct omap_hwmod_irq_info am33xx_usbss_mpu_irqs[] = {
> > -	{ .name = "usbss-irq", .irq = 17 + OMAP_INTC_START, },
> > -	{ .name = "musb0-irq", .irq = 18 + OMAP_INTC_START, },
> > -	{ .name = "musb1-irq", .irq = 19 + OMAP_INTC_START, },
> > -	{ .irq = -1, },
> > -};
> > -
> >  static struct omap_hwmod am33xx_usbss_hwmod = {
> >  	.name		= "usb_otg_hs",
> >  	.class		= &am33xx_usbotg_class,
> >  	.clkdm_name	= "l3s_clkdm",
> > -	.mpu_irqs	= am33xx_usbss_mpu_irqs,
> >  	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
> >  	.main_clk	= "usbotg_fck",
> >  	.prcm		= {
> > @@ -2163,36 +1138,9 @@ static struct omap_hwmod am33xx_usbss_hwmod =
> {
> >  	},
> >  };
> >
> > -
> >  /*
> >   * Interfaces
> >   */
> > -
> > -/* l4 fw -> emif fw */
> > -static struct omap_hwmod_ocp_if am33xx_l4_fw__emif_fw = {
> > -	.master		= &am33xx_l4_fw_hwmod,
> > -	.slave		= &am33xx_emif_fw_hwmod,
> > -	.clk		= "l4fw_gclk",
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_emif_addrs[] = {
> > -	{
> > -		.pa_start	= 0x4c000000,
> > -		.pa_end		= 0x4c000fff,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -/* l3 main -> emif */
> > -static struct omap_hwmod_ocp_if am33xx_l3_main__emif = {
> > -	.master		= &am33xx_l3_main_hwmod,
> > -	.slave		= &am33xx_emif_hwmod,
> > -	.clk		= "dpll_core_m4_ck",
> > -	.addr		= am33xx_emif_addrs,
> > -	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> > -};
> > -
> >  /* mpu -> l3 main */
> >  static struct omap_hwmod_ocp_if am33xx_mpu__l3_main = {
> >  	.master		= &am33xx_mpu_hwmod,
> > @@ -2233,14 +1181,6 @@ static struct omap_hwmod_ocp_if
> > am33xx_l3_s__l4_wkup = {
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> > -/* l3 s -> l4 fw */
> > -static struct omap_hwmod_ocp_if am33xx_l3_s__l4_fw = {
> > -	.master		= &am33xx_l3_s_hwmod,
> > -	.slave		= &am33xx_l4_fw_hwmod,
> > -	.clk		= "l3s_gclk",
> > -	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> > -};
> > -
> >  /* l3 main -> l3 instr */
> >  static struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr = {
> >  	.master		= &am33xx_l3_main_hwmod,
> > @@ -2290,1154 +1230,277 @@ static struct omap_hwmod_ocp_if
> > am33xx_gfx__l3_main = {
> >  };
> >
> >  /* l4 wkup -> wkup m3 */
> > -static struct omap_hwmod_addr_space am33xx_wkup_m3_addrs[] = {
> > -	{
> > -		.name		= "umem",
> > -		.pa_start	= 0x44d00000,
> > -		.pa_end		= 0x44d00000 + SZ_16K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{
> > -		.name		= "dmem",
> > -		.pa_start	= 0x44d80000,
> > -		.pa_end		= 0x44d80000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__wkup_m3 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_wkup_m3_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_wkup_m3_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 hs -> pru-icss */
> > -static struct omap_hwmod_addr_space am33xx_pruss_addrs[] = {
> > -	{
> > -		.pa_start	= 0x4a300000,
> > -		.pa_end		= 0x4a300000 + SZ_512K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_hs__pruss = {
> >  	.master		= &am33xx_l4_hs_hwmod,
> >  	.slave		= &am33xx_pruss_hwmod,
> >  	.clk		= "dpll_core_m4_ck",
> > -	.addr		= am33xx_pruss_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l3 main -> gfx */
> > -static struct omap_hwmod_addr_space am33xx_gfx_addrs[] = {
> > -	{
> > -		.pa_start	= 0x56000000,
> > -		.pa_end		= 0x56000000 + SZ_16M - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l3_main__gfx = {
> >  	.master		= &am33xx_l3_main_hwmod,
> >  	.slave		= &am33xx_gfx_hwmod,
> >  	.clk		= "dpll_core_m4_ck",
> > -	.addr		= am33xx_gfx_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 wkup -> smartreflex0 */
> > -static struct omap_hwmod_addr_space am33xx_smartreflex0_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44e37000,
> > -		.pa_end		= 0x44e37000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex0 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_smartreflex0_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_smartreflex0_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 wkup -> smartreflex1 */
> > -static struct omap_hwmod_addr_space am33xx_smartreflex1_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44e39000,
> > -		.pa_end		= 0x44e39000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex1 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_smartreflex1_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_smartreflex1_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 wkup -> control */
> > -static struct omap_hwmod_addr_space am33xx_control_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44e10000,
> > -		.pa_end		= 0x44e10000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__control = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_control_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_control_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 wkup -> rtc */
> > -static struct omap_hwmod_addr_space am33xx_rtc_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44e3e000,
> > -		.pa_end		= 0x44e3e000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_rtc_hwmod,
> >  	.clk		= "clkdiv32k_ick",
> > -	.addr		= am33xx_rtc_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 per/ls -> DCAN0 */
> > -static struct omap_hwmod_addr_space am33xx_dcan0_addrs[] = {
> > -	{
> > -		.pa_start	= 0x481CC000,
> > -		.pa_end		= 0x481CC000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__dcan0 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_dcan0_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_dcan0_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 per/ls -> DCAN1 */
> > -static struct omap_hwmod_addr_space am33xx_dcan1_addrs[] = {
> > -	{
> > -		.pa_start	= 0x481D0000,
> > -		.pa_end		= 0x481D0000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__dcan1 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_dcan1_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_dcan1_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 per/ls -> GPIO2 */
> > -static struct omap_hwmod_addr_space am33xx_gpio1_addrs[] = {
> > -	{
> > -		.pa_start	= 0x4804C000,
> > -		.pa_end		= 0x4804C000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio1 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_gpio1_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_gpio1_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 per/ls -> gpio3 */
> > -static struct omap_hwmod_addr_space am33xx_gpio2_addrs[] = {
> > -	{
> > -		.pa_start	= 0x481AC000,
> > -		.pa_end		= 0x481AC000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio2 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_gpio2_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_gpio2_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> >  /* l4 per/ls -> gpio4 */
> > -static struct omap_hwmod_addr_space am33xx_gpio3_addrs[] = {
> > -	{
> > -		.pa_start	= 0x481AE000,
> > -		.pa_end		= 0x481AE000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__gpio3 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_gpio3_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_gpio3_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> > -/* L4 WKUP -> I2C1 */
> > -static struct omap_hwmod_addr_space am33xx_i2c1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x44E0B000,
> > -		.pa_end		= 0x44E0B000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__i2c1 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_i2c1_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_i2c1_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* L4 WKUP -> GPIO1 */
> > -static struct omap_hwmod_addr_space am33xx_gpio0_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44E07000,
> > -		.pa_end		= 0x44E07000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__gpio0 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_gpio0_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_gpio0_addrs,
> >  	.user		= OCP_USER_MPU | OCP_USER_SDMA,
> >  };
> >
> > -/* L4 WKUP -> ADC_TSC */
> > -static struct omap_hwmod_addr_space am33xx_adc_tsc_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44E0D000,
> > -		.pa_end		= 0x44E0D000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_wkup__adc_tsc = {
> > -	.master		= &am33xx_l4_wkup_hwmod,
> > -	.slave		= &am33xx_adc_tsc_hwmod,
> > -	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_adc_tsc_addrs,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_cpgmac0_addr_space[] = {
> > -	/* cpsw ss */
> > -	{
> > -		.pa_start	= 0x4a100000,
> > -		.pa_end		= 0x4a100000 + SZ_2K - 1,
> > -	},
> > -	/* cpsw wr */
> > -	{
> > -		.pa_start	= 0x4a101200,
> > -		.pa_end		= 0x4a101200 + SZ_256 - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_hs__cpgmac0 = {
> >  	.master		= &am33xx_l4_hs_hwmod,
> >  	.slave		= &am33xx_cpgmac0_hwmod,
> >  	.clk		= "cpsw_125mhz_gclk",
> > -	.addr		= am33xx_cpgmac0_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -static struct omap_hwmod_addr_space am33xx_mdio_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4A101000,
> > -		.pa_end		= 0x4A101000 + SZ_256 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio = {
> >  	.master		= &am33xx_cpgmac0_hwmod,
> >  	.slave		= &am33xx_mdio_hwmod,
> > -	.addr		= am33xx_mdio_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_elm_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48080000,
> > -		.pa_end		= 0x48080000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__elm = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_elm_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_elm_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_epwmss0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48300000,
> > -		.pa_end		= 0x48300000 + SZ_16 - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss0 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_epwmss0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_epwmss0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ecap0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48300100,
> > -		.pa_end		= 0x48300100 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss0__ecap0 = {
> > -	.master		= &am33xx_epwmss0_hwmod,
> > -	.slave		= &am33xx_ecap0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ecap0_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -static struct omap_hwmod_addr_space am33xx_eqep0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48300180,
> > -		.pa_end		= 0x48300180 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss0__eqep0 = {
> > -	.master		= &am33xx_epwmss0_hwmod,
> > -	.slave		= &am33xx_eqep0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_eqep0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ehrpwm0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48300200,
> > -		.pa_end		= 0x48300200 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss0__ehrpwm0 = {
> > -	.master		= &am33xx_epwmss0_hwmod,
> > -	.slave		= &am33xx_ehrpwm0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ehrpwm0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -
> > -static struct omap_hwmod_addr_space am33xx_epwmss1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48302000,
> > -		.pa_end		= 0x48302000 + SZ_16 - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss1 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_epwmss1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_epwmss1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ecap1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48302100,
> > -		.pa_end		= 0x48302100 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss1__ecap1 = {
> > -	.master		= &am33xx_epwmss1_hwmod,
> > -	.slave		= &am33xx_ecap1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ecap1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_eqep1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48302180,
> > -		.pa_end		= 0x48302180 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss1__eqep1 = {
> > -	.master		= &am33xx_epwmss1_hwmod,
> > -	.slave		= &am33xx_eqep1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_eqep1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ehrpwm1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48302200,
> > -		.pa_end		= 0x48302200 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss1__ehrpwm1 = {
> > -	.master		= &am33xx_epwmss1_hwmod,
> > -	.slave		= &am33xx_ehrpwm1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ehrpwm1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_epwmss2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48304000,
> > -		.pa_end		= 0x48304000 + SZ_16 - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss2 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_epwmss2_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_epwmss2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ecap2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48304100,
> > -		.pa_end		= 0x48304100 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss2__ecap2 = {
> > -	.master		= &am33xx_epwmss2_hwmod,
> > -	.slave		= &am33xx_ecap2_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ecap2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_eqep2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48304180,
> > -		.pa_end		= 0x48304180 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss2__eqep2 = {
> > -	.master		= &am33xx_epwmss2_hwmod,
> > -	.slave		= &am33xx_eqep2_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_eqep2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_ehrpwm2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48304200,
> > -		.pa_end		= 0x48304200 + SZ_128 - 1,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_epwmss2__ehrpwm2 = {
> > -	.master		= &am33xx_epwmss2_hwmod,
> > -	.slave		= &am33xx_ehrpwm2_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_ehrpwm2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3s cfg -> gpmc */
> > -static struct omap_hwmod_addr_space am33xx_gpmc_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x50000000,
> > -		.pa_end		= 0x50000000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_s__gpmc = {
> > -	.master		= &am33xx_l3_s_hwmod,
> > -	.slave		= &am33xx_gpmc_hwmod,
> > -	.clk		= "l3s_gclk",
> > -	.addr		= am33xx_gpmc_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* i2c2 */
> > -static struct omap_hwmod_addr_space am33xx_i2c2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4802A000,
> > -		.pa_end		= 0x4802A000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__i2c2 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_i2c2_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_i2c2_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -static struct omap_hwmod_addr_space am33xx_i2c3_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4819C000,
> > -		.pa_end		= 0x4819C000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_per__i2c3 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_i2c3_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_i2c3_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_lcdc_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4830E000,
> > -		.pa_end		= 0x4830E000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_main__lcdc = {
> > -	.master		= &am33xx_l3_main_hwmod,
> > -	.slave		= &am33xx_lcdc_hwmod,
> > -	.clk		= "dpll_core_m4_ck",
> > -	.addr		= am33xx_lcdc_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -static struct omap_hwmod_addr_space am33xx_mailbox_addrs[] = {
> > -	{
> > -		.pa_start	= 0x480C8000,
> > -		.pa_end		= 0x480C8000 + (SZ_4K - 1),
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -/* l4 ls -> mailbox */
> > -static struct omap_hwmod_ocp_if am33xx_l4_per__mailbox = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_mailbox_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mailbox_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 ls -> spinlock */
> > -static struct omap_hwmod_addr_space am33xx_spinlock_addrs[] = {
> > -	{
> > -		.pa_start	= 0x480Ca000,
> > -		.pa_end		= 0x480Ca000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_spinlock_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_spinlock_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> mcasp0 */
> > -static struct omap_hwmod_addr_space am33xx_mcasp0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48038000,
> > -		.pa_end		= 0x48038000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_mcasp0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mcasp0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3 s -> mcasp0 data */
> > -static struct omap_hwmod_addr_space am33xx_mcasp0_data_addr_space[]
> =
> > {
> > -	{
> > -		.pa_start	= 0x46000000,
> > -		.pa_end		= 0x46000000 + SZ_4M - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp0_data = {
> > -	.master		= &am33xx_l3_s_hwmod,
> > -	.slave		= &am33xx_mcasp0_hwmod,
> > -	.clk		= "l3s_gclk",
> > -	.addr		= am33xx_mcasp0_data_addr_space,
> > -	.user		= OCP_USER_SDMA,
> > -};
> > -
> > -/* l4 ls -> mcasp1 */
> > -static struct omap_hwmod_addr_space am33xx_mcasp1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4803C000,
> > -		.pa_end		= 0x4803C000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_mcasp1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mcasp1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3 s -> mcasp1 data */
> > -static struct omap_hwmod_addr_space am33xx_mcasp1_data_addr_space[]
> =
> > {
> > -	{
> > -		.pa_start	= 0x46400000,
> > -		.pa_end		= 0x46400000 + SZ_4M - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp1_data = {
> > -	.master		= &am33xx_l3_s_hwmod,
> > -	.slave		= &am33xx_mcasp1_hwmod,
> > -	.clk		= "l3s_gclk",
> > -	.addr		= am33xx_mcasp1_data_addr_space,
> > -	.user		= OCP_USER_SDMA,
> > -};
> > -
> > -/* l4 ls -> mmc0 */
> > -static struct omap_hwmod_addr_space am33xx_mmc0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48060100,
> > -		.pa_end		= 0x48060100 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_mmc0_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mmc0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l4 ls -> mmc1 */
> > -static struct omap_hwmod_addr_space am33xx_mmc1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x481d8100,
> > -		.pa_end		= 0x481d8100 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1 = {
> > -	.master		= &am33xx_l4_ls_hwmod,
> > -	.slave		= &am33xx_mmc1_hwmod,
> > -	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mmc1_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3 s -> mmc2 */
> > -static struct omap_hwmod_addr_space am33xx_mmc2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x47810100,
> > -		.pa_end		= 0x47810100 + SZ_64K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_s__mmc2 = {
> > -	.master		= &am33xx_l3_s_hwmod,
> > -	.slave		= &am33xx_mmc2_hwmod,
> > -	.clk		= "l3s_gclk",
> > -	.addr		= am33xx_mmc2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l4 ls -> mcspi0 */
> > -static struct omap_hwmod_addr_space am33xx_mcspi0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48030000,
> > -		.pa_end		= 0x48030000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_spi0_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mcspi0_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> mcspi1 */
> > -static struct omap_hwmod_addr_space am33xx_mcspi1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x481A0000,
> > -		.pa_end		= 0x481A0000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_spi1_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_mcspi1_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 wkup -> timer1 */
> > -static struct omap_hwmod_addr_space am33xx_timer1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x44E31000,
> > -		.pa_end		= 0x44E31000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__timer1 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_timer1_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_timer1_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer2 */
> > -static struct omap_hwmod_addr_space am33xx_timer2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48040000,
> > -		.pa_end		= 0x48040000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer2 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer2_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer2_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer3 */
> > -static struct omap_hwmod_addr_space am33xx_timer3_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48042000,
> > -		.pa_end		= 0x48042000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer3 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer3_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer3_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer4 */
> > -static struct omap_hwmod_addr_space am33xx_timer4_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48044000,
> > -		.pa_end		= 0x48044000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer4 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer4_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer4_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer5 */
> > -static struct omap_hwmod_addr_space am33xx_timer5_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48046000,
> > -		.pa_end		= 0x48046000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer5 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer5_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer5_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer6 */
> > -static struct omap_hwmod_addr_space am33xx_timer6_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48048000,
> > -		.pa_end		= 0x48048000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer6 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer6_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer6_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 per -> timer7 */
> > -static struct omap_hwmod_addr_space am33xx_timer7_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x4804A000,
> > -		.pa_end		= 0x4804A000 + SZ_1K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__timer7 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_timer7_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_timer7_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l3 main -> tpcc */
> > -static struct omap_hwmod_addr_space am33xx_tpcc_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x49000000,
> > -		.pa_end		= 0x49000000 + SZ_32K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l3_main__tpcc = {
> >  	.master		= &am33xx_l3_main_hwmod,
> >  	.slave		= &am33xx_tpcc_hwmod,
> >  	.clk		= "l3_gclk",
> > -	.addr		= am33xx_tpcc_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3 main -> tpcc0 */
> > -static struct omap_hwmod_addr_space am33xx_tptc0_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x49800000,
> > -		.pa_end		= 0x49800000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc0 = {
> > -	.master		= &am33xx_l3_main_hwmod,
> > -	.slave		= &am33xx_tptc0_hwmod,
> > -	.clk		= "l3_gclk",
> > -	.addr		= am33xx_tptc0_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l3 main -> tpcc1 */
> > -static struct omap_hwmod_addr_space am33xx_tptc1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x49900000,
> > -		.pa_end		= 0x49900000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc1 = {
> > -	.master		= &am33xx_l3_main_hwmod,
> > -	.slave		= &am33xx_tptc1_hwmod,
> > -	.clk		= "l3_gclk",
> > -	.addr		= am33xx_tptc1_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l3 main -> tpcc2 */
> > -static struct omap_hwmod_addr_space am33xx_tptc2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x49a00000,
> > -		.pa_end		= 0x49a00000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> > -static struct omap_hwmod_ocp_if am33xx_l3_main__tptc2 = {
> > -	.master		= &am33xx_l3_main_hwmod,
> > -	.slave		= &am33xx_tptc2_hwmod,
> > -	.clk		= "l3_gclk",
> > -	.addr		= am33xx_tptc2_addr_space,
> > -	.user		= OCP_USER_MPU,
> > -};
> > -
> > -/* l4 wkup -> uart1 */
> > -static struct omap_hwmod_addr_space am33xx_uart1_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x44E09000,
> > -		.pa_end		= 0x44E09000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__uart1 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_uart1_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_uart1_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> uart2 */
> > -static struct omap_hwmod_addr_space am33xx_uart2_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48022000,
> > -		.pa_end		= 0x48022000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart2 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_uart2_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_uart2_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> uart3 */
> > -static struct omap_hwmod_addr_space am33xx_uart3_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x48024000,
> > -		.pa_end		= 0x48024000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart3 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_uart3_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_uart3_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> uart4 */
> > -static struct omap_hwmod_addr_space am33xx_uart4_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x481A6000,
> > -		.pa_end		= 0x481A6000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart4 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_uart4_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_uart4_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> uart5 */
> > -static struct omap_hwmod_addr_space am33xx_uart5_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x481A8000,
> > -		.pa_end		= 0x481A8000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart5 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_uart5_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_uart5_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> > -/* l4 ls -> uart6 */
> > -static struct omap_hwmod_addr_space am33xx_uart6_addr_space[] = {
> > -	{
> > -		.pa_start	= 0x481aa000,
> > -		.pa_end		= 0x481aa000 + SZ_8K - 1,
> > -		.flags		= ADDR_TYPE_RT,
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_ls__uart6 = {
> >  	.master		= &am33xx_l4_ls_hwmod,
> >  	.slave		= &am33xx_uart6_hwmod,
> >  	.clk		= "l4ls_gclk",
> > -	.addr		= am33xx_uart6_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* l4 wkup -> wd_timer1 */
> > -static struct omap_hwmod_addr_space am33xx_wd_timer1_addrs[] = {
> > -	{
> > -		.pa_start	= 0x44e35000,
> > -		.pa_end		= 0x44e35000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l4_wkup__wd_timer1 = {
> >  	.master		= &am33xx_l4_wkup_hwmod,
> >  	.slave		= &am33xx_wd_timer1_hwmod,
> >  	.clk		= "dpll_core_m4_div2_ck",
> > -	.addr		= am33xx_wd_timer1_addrs,
> >  	.user		= OCP_USER_MPU,
> >  };
> >
> >  /* usbss */
> >  /* l3 s -> USBSS interface */
> > -static struct omap_hwmod_addr_space am33xx_usbss_addr_space[] = {
> > -	{
> > -		.name		= "usbss",
> > -		.pa_start	= 0x47400000,
> > -		.pa_end		= 0x47400000 + SZ_4K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{
> > -		.name		= "musb0",
> > -		.pa_start	= 0x47401000,
> > -		.pa_end		= 0x47401000 + SZ_2K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{
> > -		.name		= "musb1",
> > -		.pa_start	= 0x47401800,
> > -		.pa_end		= 0x47401800 + SZ_2K - 1,
> > -		.flags		= ADDR_TYPE_RT
> > -	},
> > -	{ }
> > -};
> > -
> >  static struct omap_hwmod_ocp_if am33xx_l3_s__usbss = {
> >  	.master		= &am33xx_l3_s_hwmod,
> >  	.slave		= &am33xx_usbss_hwmod,
> >  	.clk		= "l3s_gclk",
> > -	.addr		= am33xx_usbss_addr_space,
> >  	.user		= OCP_USER_MPU,
> >  	.flags		= OCPIF_SWSUP_IDLE,
> >  };
> > @@ -3450,13 +1513,10 @@ static struct omap_hwmod_ocp_if
> > am33xx_l3_main__ocmc = {
> >  };
> >
> >  static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata =
> {
> > -	&am33xx_l4_fw__emif_fw,
> > -	&am33xx_l3_main__emif,
> >  	&am33xx_mpu__l3_main,
> >  	&am33xx_mpu__prcm,
> >  	&am33xx_l3_s__l4_ls,
> >  	&am33xx_l3_s__l4_wkup,
> > -	&am33xx_l3_s__l4_fw,
> >  	&am33xx_l3_main__l4_hs,
> >  	&am33xx_l3_main__l3_s,
> >  	&am33xx_l3_main__l3_instr,
> > @@ -3474,7 +1534,6 @@ static struct omap_hwmod_ocp_if
> > *am33xx_hwmod_ocp_ifs[] __initdata = {
> >  	&am33xx_l4_wkup__rtc,
> >  	&am33xx_l4_wkup__i2c1,
> >  	&am33xx_l4_wkup__gpio0,
> > -	&am33xx_l4_wkup__adc_tsc,
> >  	&am33xx_l4_wkup__wd_timer1,
> >  	&am33xx_l4_hs__pruss,
> >  	&am33xx_l4_per__dcan0,
> > @@ -3484,14 +1543,6 @@ static struct omap_hwmod_ocp_if
> > *am33xx_hwmod_ocp_ifs[] __initdata = {
> >  	&am33xx_l4_per__gpio3,
> >  	&am33xx_l4_per__i2c2,
> >  	&am33xx_l4_per__i2c3,
> > -	&am33xx_l4_per__mailbox,
> > -	&am33xx_l4_ls__mcasp0,
> > -	&am33xx_l3_s__mcasp0_data,
> > -	&am33xx_l4_ls__mcasp1,
> > -	&am33xx_l3_s__mcasp1_data,
> > -	&am33xx_l4_ls__mmc0,
> > -	&am33xx_l4_ls__mmc1,
> > -	&am33xx_l3_s__mmc2,
> >  	&am33xx_l4_ls__timer2,
> >  	&am33xx_l4_ls__timer3,
> >  	&am33xx_l4_ls__timer4,
> > @@ -3505,26 +1556,8 @@ static struct omap_hwmod_ocp_if
> > *am33xx_hwmod_ocp_ifs[] __initdata = {
> >  	&am33xx_l4_ls__uart5,
> >  	&am33xx_l4_ls__uart6,
> >  	&am33xx_l4_ls__spinlock,
> > -	&am33xx_l4_ls__elm,
> > -	&am33xx_l4_ls__epwmss0,
> > -	&am33xx_epwmss0__ecap0,
> > -	&am33xx_epwmss0__eqep0,
> > -	&am33xx_epwmss0__ehrpwm0,
> > -	&am33xx_l4_ls__epwmss1,
> > -	&am33xx_epwmss1__ecap1,
> > -	&am33xx_epwmss1__eqep1,
> > -	&am33xx_epwmss1__ehrpwm1,
> > -	&am33xx_l4_ls__epwmss2,
> > -	&am33xx_epwmss2__ecap2,
> > -	&am33xx_epwmss2__eqep2,
> > -	&am33xx_epwmss2__ehrpwm2,
> > -	&am33xx_l3_s__gpmc,
> > -	&am33xx_l3_main__lcdc,
> >  	&am33xx_l4_ls__mcspi0,
> >  	&am33xx_l4_ls__mcspi1,
> > -	&am33xx_l3_main__tptc0,
> > -	&am33xx_l3_main__tptc1,
> > -	&am33xx_l3_main__tptc2,
> >  	&am33xx_l3_main__ocmc,
> >  	&am33xx_l3_s__usbss,
> >  	&am33xx_l4_hs__cpgmac0,
> > --
> > 1.7.9.5
Santosh Shilimkar - April 10, 2013, 11:32 a.m.
On Wednesday 10 April 2013 04:45 PM, Hiremath, Vaibhav wrote:
>> -----Original Message-----
>> From: Shilimkar, Santosh
>> Sent: Friday, April 05, 2013 10:20 PM
>> To: Tony Lindgren
>> Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
>> kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
>> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav; Hiremath,
>> Vaibhav
>> Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
>> updates for 3.10
>>
>> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
>>> On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
>>>> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
>> [..]
>>
>>>> Can't we already trim the am33xx hwmod data after your patches for
>>>> v3.10 as am33xx is already DT only? Unfortunately we cannot create
>>>> negative diffstat in other ways for v3.10 merge window as we cannot
>>>> make omap4 DT only just quite yet.
>>>>
>>> Yes we can and I can take a stab it tomorrow. The only thing is I
>>> might need some support for testing but thats manageable. Will
>>> take a stab at it tomorrow and if everything goes well, post a
>>> patch for smae.
>>>
>> Patch for the AM33XX to trim is end of the email. Thanks to
>> Sricharan and Pekon for patch and testing. Looping both
>> Vaibhav's if they have any objection on the patch.
>>
>> Regards,
>> Santosh
>>
>> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
>> From: Sricharan R <r.sricharan@ti.com>
>> Date: Fri, 5 Apr 2013 20:39:12 +0530
>> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
>>
>> - The IO resource information like dma request lines, irq number and
>> ocp address space can be populated via dt blob. So such data can be
>> stripped
>> from SOC hwmod data file.
>>
>> - The devices like adc, mailbox, gpmc which are missing the device
>> tree bindings, hwmod data is not added since AM33XX is DT only build.
>> When such devices add the dt bindings, respective hwmod data can be
>> added along with it.
>>
> This seems unnecessary churn to me. DT bindings for most of the devices 
> which you mentioned above are submitted and are at various stages of review
> process.
> 
> ADC:
> 
> GPMC:
> 
> PWM:
>
The modules are dropped as per what is going for 3.10 merge window.
Above 3 modules can be retained if the DT conversion patches are
under review and can go along with this patch most likely for 3.11.
 
> 
>> - The hwmod like firewall etc which are not useful are also dropped.
>>
>> This gets us around ~2000 loc of negative diff. Patch is boot tested on
>> AM335X EVM.
>>
> I would not recommend to get into unnecessary code churn in the future just 
> to reduce temp Number of Lines of code. This will also kill our autogeneration 
> concept as well.
>
It doesn't break any concept. We just autogenrate what is *useful* rather.
BTW, I didn't find any srcipt to auto-generate the AM33XX data so we have
to manually do the updates. Can you send me a pointer if you have a sript
for this. With script it is much simpler to clean-up the data.

 
> I would suggest you to just alone drop base-addr, irq and dma references
> from hwmod entries.
> 
That we are doing anyways. Apart from that we should also clean-up data
which is not used and useful. Why do you need unused data like firewall and
friends ? 

So as I understood, you would like to keep the data for ADC, PWM and GPMC
which is fine by me. We just need those DT bindings in place so that they
go together. Who is following the DT patches for these ? 

Thanks for looking into it Vaibhav.

Regards,
Santosh
hvaibhav@ti.com - April 15, 2013, 5:06 a.m.
> -----Original Message-----
> From: Shilimkar, Santosh
> Sent: Wednesday, April 10, 2013 5:02 PM
> To: Hiremath, Vaibhav
> Cc: Tony Lindgren; Paul Walmsley; linux-omap@vger.kernel.org; linux-
> arm-kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav
> Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> updates for 3.10
> 
> On Wednesday 10 April 2013 04:45 PM, Hiremath, Vaibhav wrote:
> >> -----Original Message-----
> >> From: Shilimkar, Santosh
> >> Sent: Friday, April 05, 2013 10:20 PM
> >> To: Tony Lindgren
> >> Cc: Paul Walmsley; linux-omap@vger.kernel.org; linux-arm-
> >> kernel@lists.infradead.org; Kristo, Tero; Menon, Nishanth; Nayak,
> >> Rajendra; Valentin, Eduardo; Anna, Suman; Bedia, Vaibhav; Hiremath,
> >> Vaibhav
> >> Subject: Re: [GIT PULL] ARM: OMAP5: hwmod, prm/cm data files and
> >> updates for 3.10
> >>
> >> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> >>> On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> >>>> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> >> [..]
> >>
> >>>> Can't we already trim the am33xx hwmod data after your patches for
> >>>> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> >>>> negative diffstat in other ways for v3.10 merge window as we
> cannot
> >>>> make omap4 DT only just quite yet.
> >>>>
> >>> Yes we can and I can take a stab it tomorrow. The only thing is I
> >>> might need some support for testing but thats manageable. Will
> >>> take a stab at it tomorrow and if everything goes well, post a
> >>> patch for smae.
> >>>
> >> Patch for the AM33XX to trim is end of the email. Thanks to
> >> Sricharan and Pekon for patch and testing. Looping both
> >> Vaibhav's if they have any objection on the patch.
> >>
> >> Regards,
> >> Santosh
> >>
> >> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00
> 2001
> >> From: Sricharan R <r.sricharan@ti.com>
> >> Date: Fri, 5 Apr 2013 20:39:12 +0530
> >> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> >>
> >> - The IO resource information like dma request lines, irq number and
> >> ocp address space can be populated via dt blob. So such data can be
> >> stripped
> >> from SOC hwmod data file.
> >>
> >> - The devices like adc, mailbox, gpmc which are missing the device
> >> tree bindings, hwmod data is not added since AM33XX is DT only
> build.
> >> When such devices add the dt bindings, respective hwmod data can be
> >> added along with it.
> >>
> > This seems unnecessary churn to me. DT bindings for most of the
> devices
> > which you mentioned above are submitted and are at various stages of
> review
> > process.
> >
> > ADC:
> >
> > GPMC:
> >
> > PWM:
> >
> The modules are dropped as per what is going for 3.10 merge window.
> Above 3 modules can be retained if the DT conversion patches are
> under review and can go along with this patch most likely for 3.11.
> 
> >
> >> - The hwmod like firewall etc which are not useful are also dropped.
> >>
> >> This gets us around ~2000 loc of negative diff. Patch is boot tested
> on
> >> AM335X EVM.
> >>
> > I would not recommend to get into unnecessary code churn in the
> future just
> > to reduce temp Number of Lines of code. This will also kill our
> autogeneration
> > concept as well.
> >
> It doesn't break any concept. We just autogenrate what is *useful*
> rather.
> BTW, I didn't find any srcipt to auto-generate the AM33XX data so we
> have
> to manually do the updates. Can you send me a pointer if you have a
> sript
> for this. With script it is much simpler to clean-up the data.
> 
> 
> > I would suggest you to just alone drop base-addr, irq and dma
> references
> > from hwmod entries.
> >
> That we are doing anyways. Apart from that we should also clean-up data
> which is not used and useful. Why do you need unused data like firewall
> and
> friends ?
> 
> So as I understood, you would like to keep the data for ADC, PWM and
> GPMC
> which is fine by me. We just need those DT bindings in place so that
> they
> go together. Who is following the DT patches for these ?
> 
> Thanks for looking into it Vaibhav.
> 
Are you planning to send updated version of this?
I would rather prefer to review next version.

Please let me know if you need any help here.

Thanks,
Vaibhav
Santosh Shilimkar - April 15, 2013, 6:20 a.m.
On Monday 15 April 2013 10:36 AM, Hiremath, Vaibhav wrote:
> 
>> -----Original Message-----
>> From: Shilimkar, Santosh
>> Sent: Wednesday, April 10, 2013 5:02 PM

[..]

>>>> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00
>> 2001
>>>> From: Sricharan R <r.sricharan@ti.com>
>>>> Date: Fri, 5 Apr 2013 20:39:12 +0530
>>>> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
>>>>
>>>> - The IO resource information like dma request lines, irq number and
>>>> ocp address space can be populated via dt blob. So such data can be
>>>> stripped
>>>> from SOC hwmod data file.
>>>>
>>>> - The devices like adc, mailbox, gpmc which are missing the device
>>>> tree bindings, hwmod data is not added since AM33XX is DT only
>> build.
>>>> When such devices add the dt bindings, respective hwmod data can be
>>>> added along with it.
>>>>
>>> This seems unnecessary churn to me. DT bindings for most of the
>> devices
>>> which you mentioned above are submitted and are at various stages of
>> review
>>> process.
>>>
>>> ADC:
>>>
>>> GPMC:
>>>
>>> PWM:
>>>
>> The modules are dropped as per what is going for 3.10 merge window.
>> Above 3 modules can be retained if the DT conversion patches are
>> under review and can go along with this patch most likely for 3.11.
>>
>>>
>>>> - The hwmod like firewall etc which are not useful are also dropped.
>>>>
>>>> This gets us around ~2000 loc of negative diff. Patch is boot tested
>> on
>>>> AM335X EVM.
>>>>
>>> I would not recommend to get into unnecessary code churn in the
>> future just
>>> to reduce temp Number of Lines of code. This will also kill our
>> autogeneration
>>> concept as well.
>>>
>> It doesn't break any concept. We just autogenrate what is *useful*
>> rather.
>> BTW, I didn't find any srcipt to auto-generate the AM33XX data so we
>> have
>> to manually do the updates. Can you send me a pointer if you have a
>> sript
>> for this. With script it is much simpler to clean-up the data.
>>
>>
>>> I would suggest you to just alone drop base-addr, irq and dma
>> references
>>> from hwmod entries.
>>>
>> That we are doing anyways. Apart from that we should also clean-up data
>> which is not used and useful. Why do you need unused data like firewall
>> and
>> friends ?
>>
>> So as I understood, you would like to keep the data for ADC, PWM and
>> GPMC
>> which is fine by me. We just need those DT bindings in place so that
>> they
>> go together. Who is following the DT patches for these ?
>>
>> Thanks for looking into it Vaibhav.
>>
> Are you planning to send updated version of this?
> I would rather prefer to review next version.
> 
> Please let me know if you need any help here.
> 
Yes :-)
It will be great if you take the patch forward and update it
based on the discussion.

Regards,
Santosh
Santosh Shilimkar - May 17, 2013, 8 a.m.
Paul, Tony,

On Friday 05 April 2013 10:20 PM, Santosh Shilimkar wrote:
> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
>> On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
>>> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> [..]
> 
>>> Can't we already trim the am33xx hwmod data after your patches for
>>> v3.10 as am33xx is already DT only? Unfortunately we cannot create
>>> negative diffstat in other ways for v3.10 merge window as we cannot
>>> make omap4 DT only just quite yet.
>>>
>> Yes we can and I can take a stab it tomorrow. The only thing is I
>> might need some support for testing but thats manageable. Will
>> take a stab at it tomorrow and if everything goes well, post a
>> patch for smae.
>>
> Patch for the AM33XX to trim is end of the email. Thanks to
> Sricharan and Pekon for patch and testing. Looping both
> Vaibhav's if they have any objection on the patch.
> 
> Regards,
> Santosh
> 
> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
> From: Sricharan R <r.sricharan@ti.com>
> Date: Fri, 5 Apr 2013 20:39:12 +0530
> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> 
For whatever reason, we again missed the merge window for the subject
series, I would like to know your plan on the subject series for
at least 3.11. Asking *well in advance* to avoid late merge related
discussions.

Thanks to Vaibhav, AM33XX patch is tested and validated with some
updates considering upcoming PM support for AM33XX. So that
patch will be included in the series.

Rajendra will follow up the patchset if there is some re-basing is
needed since I will away for few weeks because of travel. 

OMAP5 data is the *only* thing which is gating the device to boot
from mainline.

Thanks in advance.

Regards,
Santosh
Tony Lindgren - May 17, 2013, 5:22 p.m.
* Santosh Shilimkar <santosh.shilimkar@ti.com> [130517 01:02]:
> Paul, Tony,
> 
> On Friday 05 April 2013 10:20 PM, Santosh Shilimkar wrote:
> > On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
> >> On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
> >>> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
> > [..]
> > 
> >>> Can't we already trim the am33xx hwmod data after your patches for
> >>> v3.10 as am33xx is already DT only? Unfortunately we cannot create
> >>> negative diffstat in other ways for v3.10 merge window as we cannot
> >>> make omap4 DT only just quite yet.
> >>>
> >> Yes we can and I can take a stab it tomorrow. The only thing is I
> >> might need some support for testing but thats manageable. Will
> >> take a stab at it tomorrow and if everything goes well, post a
> >> patch for smae.
> >>
> > Patch for the AM33XX to trim is end of the email. Thanks to
> > Sricharan and Pekon for patch and testing. Looping both
> > Vaibhav's if they have any objection on the patch.
> > 
> > Regards,
> > Santosh
> > 
> > From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
> > From: Sricharan R <r.sricharan@ti.com>
> > Date: Fri, 5 Apr 2013 20:39:12 +0530
> > Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
> > 
> For whatever reason, we again missed the merge window for the subject
> series, I would like to know your plan on the subject series for
> at least 3.11. Asking *well in advance* to avoid late merge related
> discussions.

Yes, I think we should have now a omap5 hwmod data sized hole coming
up with conversion of omap4 to be DT only. I'll post those patches
today for the board file and legacy mux removal for omap4:

12 files changed, 52 insertions(+), 3260 deletions(-)

Those coupled with your am33xx hwmod cleanup patch and your omap4
hwmod cleanup patch should allow us having the omap5 hwmod data
without making the diffstats look too bad.
 
> Thanks to Vaibhav, AM33XX patch is tested and validated with some
> updates considering upcoming PM support for AM33XX. So that
> patch will be included in the series.
> 
> Rajendra will follow up the patchset if there is some re-basing is
> needed since I will away for few weeks because of travel. 

OK, well the omap4 hwmod clean-up patch depends on first dropping
the above mentioned omap4 legacy files.
 
> OMAP5 data is the *only* thing which is gating the device to boot
> from mainline.

That's great!

Regards,

Tony
Santosh Shilimkar - May 29, 2013, 4:41 p.m.
On Friday 17 May 2013 01:22 PM, Tony Lindgren wrote:
> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130517 01:02]:
>> Paul, Tony,
>>
>> On Friday 05 April 2013 10:20 PM, Santosh Shilimkar wrote:
>>> On Thursday 04 April 2013 10:27 PM, Santosh Shilimkar wrote:
>>>> On Thursday 04 April 2013 10:22 PM, Tony Lindgren wrote:
>>>>> * Santosh Shilimkar <santosh.shilimkar@ti.com> [130404 04:15]:
>>> [..]
>>>
>>>>> Can't we already trim the am33xx hwmod data after your patches for
>>>>> v3.10 as am33xx is already DT only? Unfortunately we cannot create
>>>>> negative diffstat in other ways for v3.10 merge window as we cannot
>>>>> make omap4 DT only just quite yet.
>>>>>
>>>> Yes we can and I can take a stab it tomorrow. The only thing is I
>>>> might need some support for testing but thats manageable. Will
>>>> take a stab at it tomorrow and if everything goes well, post a
>>>> patch for smae.
>>>>
>>> Patch for the AM33XX to trim is end of the email. Thanks to
>>> Sricharan and Pekon for patch and testing. Looping both
>>> Vaibhav's if they have any objection on the patch.
>>>
>>> Regards,
>>> Santosh
>>>
>>> From b95dd33fe59b8e77727eb3b1717d763bbf9a2893 Mon Sep 17 00:00:00 2001
>>> From: Sricharan R <r.sricharan@ti.com>
>>> Date: Fri, 5 Apr 2013 20:39:12 +0530
>>> Subject: [PATCH] ARM: AM33XX: hwmod data: Clean up the data file
>>>
>> For whatever reason, we again missed the merge window for the subject
>> series, I would like to know your plan on the subject series for
>> at least 3.11. Asking *well in advance* to avoid late merge related
>> discussions.
> 
> Yes, I think we should have now a omap5 hwmod data sized hole coming
> up with conversion of omap4 to be DT only. I'll post those patches
> today for the board file and legacy mux removal for omap4:
> 
> 12 files changed, 52 insertions(+), 3260 deletions(-)
> 
Cool.

> Those coupled with your am33xx hwmod cleanup patch and your omap4
> hwmod cleanup patch should allow us having the omap5 hwmod data
> without making the diffstats look too bad.
>  
>> Thanks to Vaibhav, AM33XX patch is tested and validated with some
>> updates considering upcoming PM support for AM33XX. So that
>> patch will be included in the series.
>>
>> Rajendra will follow up the patchset if there is some re-basing is
>> needed since I will away for few weeks because of travel. 
> 
> OK, well the omap4 hwmod clean-up patch depends on first dropping
> the above mentioned omap4 legacy files.
>  
Have posted the series which includes AM33XX and OMAP4 data
reduction patch as well.

regards,
Santosh