Merge branch 'prima2/multiplatform' into next/multiplatform
authorArnd Bergmann <arnd@arndb.de>
Thu, 28 Mar 2013 11:25:51 +0000 (12:25 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Mar 2013 11:25:51 +0000 (12:25 +0100)
This series enables multiplatform support on the SIRF prima2/marco/atlas6
platform. The code was already quite tidy, so this is a relatively simple
change, and it follows similar changes we made to other ARMv7 based
platforms recently.

* prima2/multiplatform:
  ARM: sirf: enable support in multi_v7_defconfig
  ARM: sirf: enable multiplatform support
  ARM: sirf: use clocksource_of infrastructure
  ARM: sirf: move debug-macro.S to include/debug/sirf.S
  ARM: sirf: enable sparse IRQ
  ARM: sirf: move irq driver to drivers/irqchip
  ARM: sirf: fix prima2 interrupt lookup
  pinctrl: sirf: convert to linear irq domain
  clocksource: make CLOCKSOURCE_OF_DECLARE type safe
  ARM/dts: prima2: add .dtsi for atlas6 and .dts for atla6-evb board
  arm: prima2: add new SiRFatlas6 machine in common board
  ARM: smp_twd: convert to use CLKSRC_OF init
  clocksource: tegra20: use the device_node pointer passed to init
  clocksource: pass DT node pointer to init functions
  clocksource: add empty version of clocksource_of_init

Conflicts:
arch/arm/configs/multi_v7_defconfig
arch/arm/mach-spear/spear13xx.c
Tested-by: Barry Song <Barry.Song@csr.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1  2 
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/configs/multi_v7_defconfig
arch/arm/mach-spear/spear13xx.c

Simple merge
@@@ -605,9 -590,9 +605,10 @@@ config DEBUG_LL_INCLUD
                                 DEBUG_IMX6Q_UART
        default "debug/highbank.S" if DEBUG_HIGHBANK_UART
        default "debug/mvebu.S" if DEBUG_MVEBU_UART
 +      default "debug/nomadik.S" if DEBUG_NOMADIK_UART
        default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
        default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART
+       default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
        default "debug/socfpga.S" if DEBUG_SOCFPGA_UART
        default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1
        default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \
@@@ -44,9 -41,10 +47,11 @@@ CONFIG_IPMI_HANDLER=
  CONFIG_IPMI_SI=y
  CONFIG_I2C=y
  CONFIG_I2C_DESIGNWARE_PLATFORM=y
+ CONFIG_I2C_SIRF=y
  CONFIG_SPI=y
  CONFIG_SPI_PL022=y
+ CONFIG_SPI_SIRF=y
 +CONFIG_GPIO_PL061=y
  CONFIG_FB=y
  CONFIG_FB_ARMCLCD=y
  CONFIG_FRAMEBUFFER_CONSOLE=y
@@@ -66,4 -63,4 +71,5 @@@ CONFIG_RTC_CLASS=
  CONFIG_RTC_DRV_PL031=y
  CONFIG_DMADEVICES=y
  CONFIG_PL330_DMA=y
+ CONFIG_SIRF_DMA=y
 +CONFIG_DW_DMAC=y
  #include <linux/of.h>
  #include <asm/hardware/cache-l2x0.h>
  #include <asm/mach/map.h>
- #include <asm/smp_twd.h>
 -#include <mach/dma.h>
 -#include <mach/generic.h>
 +#include "generic.h"
  #include <mach/spear.h>
  
 +#include "spear13xx-dma.h"
 +
  /* common dw_dma filter routine to be used by peripherals */
  bool dw_dma_filter(struct dma_chan *chan, void *slave)
  {