[PATCH v2 00/18] OMAP4: PM data big spring cleanup and fixes

Paul Walmsley paul at pwsan.com
Fri Jul 8 03:33:32 EDT 2011


On Thu, 7 Jul 2011, Tony Lindgren wrote:

> Well sounds like we might be able to get rid of CHIP_IS in the *_data.c 
> files if we use SoC variant specific lists. Of course Paul might have 
> some other ideas here.

Sounds like a reasonable approach to me for the data files.  The 
powerdomain, clockdomain, and hwmod data would be good places to start.  
It will come at the cost of some extra memory and duplicated data - 
consider mach-omap2/clockdomains2xxx_3xxx_data.c. But given the zeitgeist, 
it's probably worth it to avoid patching that data when we need to 
generalize.

Unfortunately, we'll still have the macro naming and file naming parts of 
the problem.  Not sure if there's an easy fix for those, though.


- Paul



More information about the linux-arm-kernel mailing list