Remove the OMAP_CHIP bitmasks from the powerdomain and clockdomain code. In their place, use lists of powerdomains and clockdomains to register for particular chips and chip families. The intention of this change is to reduce the number of lines that need to be patched to add support for new SoCs that are similar to previous SoCs. This series has been boot-tested on a 2430SDP, BeagleBoard 35xx and 37xx, and PandaBoard 44xxES2, but I don't have boards for all of the different variants needed for a complete test. A git branch 'pwrdm_clkdm_remove_omap_chip_cleanup_3.2' is available at git://git.pwsan.com/linux-2.6 based on v3.1-rc4 with prcm-fixes-a-3.1rc and id_3517_cleanup_3.2. This second version is updated to apply on the id_3517_cleanup_3.2 branch, and the 3517/3505 revision test code has been appropriately updated. - Paul --- pwrdm_clkdm_remove_omap_chip_cleanup_3.2 text data bss dec hex filename 6329924 656956 5591124 12578004 bfecd4 vmlinux.omap2plus_defconfig.orig 6330120 656044 5591124 12577288 bfea08 vmlinux.omap2plus_defconfig.patched Paul Walmsley (4): OMAP: clockdomain: split clkdm_init() OMAP: clockdomain code/data: remove omap_chip bitmask from struct clockdomain OMAP: powerdomain: split pwrdm_init() into two functions OMAP: powerdomain: remove omap_chip bitmasks arch/arm/mach-omap2/Makefile | 5 arch/arm/mach-omap2/clockdomain.c | 149 +++- arch/arm/mach-omap2/clockdomain.h | 22 - arch/arm/mach-omap2/clockdomain2xxx_3xxx.c | 4 arch/arm/mach-omap2/clockdomain44xx.c | 2 arch/arm/mach-omap2/clockdomains2420_data.c | 155 ++++ arch/arm/mach-omap2/clockdomains2430_data.c | 181 +++++ arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | 803 ---------------------- arch/arm/mach-omap2/clockdomains3xxx_data.c | 398 +++++++++++ arch/arm/mach-omap2/clockdomains44xx_data.c | 409 ++--------- arch/arm/mach-omap2/io.c | 8 arch/arm/mach-omap2/powerdomain-common.c | 7 arch/arm/mach-omap2/powerdomain.c | 87 ++ arch/arm/mach-omap2/powerdomain.h | 9 arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | 19 - arch/arm/mach-omap2/powerdomains2xxx_data.c | 44 + arch/arm/mach-omap2/powerdomains3xxx_data.c | 81 +- arch/arm/mach-omap2/powerdomains44xx_data.c | 20 - 18 files changed, 1104 insertions(+), 1299 deletions(-) create mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c create mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c create mode 100644 arch/arm/mach-omap2/clockdomains3xxx_data.c -- Signature -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html