Merge tag 'omap-cleanup-a-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorTony Lindgren <tony@atomide.com>
Thu, 25 Oct 2012 00:05:59 +0000 (17:05 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 25 Oct 2012 00:05:59 +0000 (17:05 -0700)
The first set of OMAP PRM/CM-related cleanup patches for 3.8.
Prepares for the future move of the PRM/CM code to drivers/.  Also
includes some prcm.[ch] cleanup patches from the WDTIMER cleanup
series that don't need external acks.

Basic test logs for this branch on top of v3.7-rc2 are here:

http://www.pwsan.com/omap/testlogs/prcm_cleanup_a_3.8/20121021123719/

But due to the number of unrelated regressions present in v3.7-rc[12],
it's not particularly usable as a testing base.  With reverts, fixes,
and workarounds applied as documented in:

http://www.pwsan.com/omap/testlogs/test_v3.7-rc2/20121020134755/README.txt

the following test logs were obtained:

http://www.pwsan.com/omap/testlogs/prcm_cleanup_a_3.8/20121020231757/

which indicate that the series tests cleanly.

Conflicts:
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/clockdomain2xxx_3xxx.c
arch/arm/mach-omap2/pm24xx.c

20 files changed:
1  2 
arch/arm/mach-omap1/common.h
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/clkt2xxx_apll.c
arch/arm/mach-omap2/clkt2xxx_dpll.c
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock2420_data.c
arch/arm/mach-omap2/clock2430.c
arch/arm/mach-omap2/clock2430_data.c
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/clock3517.c
arch/arm/mach-omap2/clock3xxx_data.c
arch/arm/mach-omap2/cm33xx.c
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-omap2/prm33xx.c
arch/arm/mach-omap2/prm_common.c
arch/arm/mach-omap2/sdrc2xxx.c
arch/arm/mach-omap2/sleep34xx.S

Simple merge
@@@ -4,18 -4,20 +4,21 @@@
  
  # Common support
  obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
 -       common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o
 +       common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
 +       omap_device.o
  
- # INTCPS IP block support - XXX should be moved to drivers/
- obj-$(CONFIG_ARCH_OMAP2)              += irq.o
- obj-$(CONFIG_ARCH_OMAP3)              += irq.o
- obj-$(CONFIG_SOC_AM33XX)              += irq.o
- # Secure monitor API support
- obj-$(CONFIG_ARCH_OMAP3)              += omap-smc.o omap-secure.o
- obj-$(CONFIG_ARCH_OMAP4)              += omap-smc.o omap-secure.o
- obj-$(CONFIG_SOC_OMAP5)                       += omap-smc.o omap-secure.o
+ omap-2-3-common                               = irq.o
+ hwmod-common                          = omap_hwmod.o \
+                                         omap_hwmod_common_data.o
+ clock-common                          = clock.o clock_common_data.o \
+                                         clkt_dpll.o clkt_clksel.o
+ secure-common                         = omap-smc.o omap-secure.o
+ obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
+ obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
+ obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
+ obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
+ obj-$(CONFIG_SOC_OMAP5)        += prm44xx.o $(hwmod-common) $(secure-common)
  
  ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
  obj-y += mcbsp.o
Simple merge
  #include <linux/errno.h>
  #include <linux/clk.h>
  #include <linux/io.h>
 -
 -#include <plat/clock.h>
  
  #include "clock.h"
- #include "cm2xxx_3xxx.h"
+ #include "cm2xxx.h"
  #include "cm-regbits-24xx.h"
  
  /* Private functions */
Simple merge
Simple merge
Simple merge
Simple merge
  #include <linux/clk.h>
  #include <linux/io.h>
  
 -#include <plat/clock.h>
 -
  #include "clock.h"
  #include "clock34xx.h"
- #include "cm2xxx_3xxx.h"
+ #include "cm3xxx.h"
  #include "cm-regbits-34xx.h"
  
  /**
  #include <linux/clk.h>
  #include <linux/io.h>
  
 -#include <plat/clock.h>
 -
  #include "clock.h"
  #include "clock3517.h"
- #include "cm2xxx_3xxx.h"
+ #include "cm3xxx.h"
  #include "cm-regbits-34xx.h"
  
  /*
Simple merge
@@@ -22,8 -22,9 +22,9 @@@
  #include <linux/err.h>
  #include <linux/io.h>
  
 -#include <plat/common.h>
 +#include "../plat-omap/common.h"
  
+ #include "clockdomain.h"
  #include "cm.h"
  #include "cm33xx.h"
  #include "cm-regbits-34xx.h"
Simple merge
Simple merge
  #include <asm/mach-types.h>
  #include <asm/system_misc.h>
  
 -#include <plat/clock.h>
 -#include <plat/sram.h>
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
  
 +#include "../plat-omap/sram.h"
 +
 +#include "soc.h"
  #include "common.h"
- #include "prm2xxx_3xxx.h"
 +#include "clock.h"
+ #include "prm2xxx.h"
  #include "prm-regbits-24xx.h"
- #include "cm2xxx_3xxx.h"
+ #include "cm2xxx.h"
  #include "cm-regbits-24xx.h"
  #include "sdrc.h"
  #include "pm.h"
  #include <asm/suspend.h>
  #include <asm/system_misc.h>
  
 -#include <plat/sram.h>
  #include "clockdomain.h"
  #include "powerdomain.h"
 -#include <plat/sdrc.h>
  #include <plat/prcm.h>
 -#include <plat/gpmc.h>
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
  
 +#include "../plat-omap/sram.h"
 +
 +#include "soc.h"
  #include "common.h"
- #include "cm2xxx_3xxx.h"
+ #include "cm3xxx.h"
  #include "cm-regbits-34xx.h"
 +#include "gpmc.h"
  #include "prm-regbits-34xx.h"
- #include "prm2xxx_3xxx.h"
+ #include "prm3xxx.h"
  #include "pm.h"
  #include "sdrc.h"
  #include "control.h"
  #include <linux/err.h>
  #include <linux/io.h>
  
 -#include <plat/common.h>
 +#include "../plat-omap/common.h"
  
  #include "common.h"
+ #include "powerdomain.h"
  #include "prm33xx.h"
  #include "prm-regbits-33xx.h"
  
Simple merge
Simple merge
Simple merge