]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'renesas/next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 12 Oct 2012 03:36:49 +0000 (14:36 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 12 Oct 2012 03:36:49 +0000 (14:36 +1100)
Conflicts:
arch/arm/Kconfig

1  2 
arch/arm/Kconfig
arch/arm/mach-shmobile/board-kzm9g.c
arch/arm/mach-shmobile/include/mach/sh7372.h
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-sh7372.c

diff --combined arch/arm/Kconfig
index 47c2f86ca12919c27b1ff4dc2d52c7a287ca8933,3576a28dedd14bb4eda52e63ebeec18c2069852c..272c3a1386300514efc7fa3949f964681f9fb9b1
@@@ -16,7 -16,6 +16,7 @@@ config AR
        select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
 +      select HAVE_SYSCALL_TRACEPOINTS
        select HAVE_KPROBES if !XIP_KERNEL
        select HAVE_KRETPROBES if (HAVE_KPROBES)
        select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
@@@ -25,7 -24,6 +25,7 @@@
        select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
        select ARCH_BINFMT_ELF_RANDOMIZE_PIE
        select HAVE_GENERIC_DMA_COHERENT
 +      select HAVE_DEBUG_KMEMLEAK
        select HAVE_KERNEL_GZIP
        select HAVE_KERNEL_LZO
        select HAVE_KERNEL_LZMA
@@@ -40,7 -38,6 +40,7 @@@
        select HARDIRQS_SW_RESEND
        select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
 +      select HAVE_UID16
        select ARCH_WANT_IPC_PARSE_VERSION
        select HARDIRQS_SW_RESEND
        select CPU_PM if (SUSPEND || CPU_IDLE)
@@@ -52,9 -49,6 +52,9 @@@
        select GENERIC_STRNCPY_FROM_USER
        select GENERIC_STRNLEN_USER
        select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN
 +      select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND
 +      select MODULES_USE_ELF_REL
 +      select GENERIC_KERNEL_THREAD
        help
          The ARM series is a line of low-power-consumption RISC chip designs
          licensed by ARM Ltd and targeted at embedded applications and
@@@ -208,13 -202,6 +208,13 @@@ config ARM_PATCH_PHYS_VIR
          this feature (eg, building a kernel for a single machine) and
          you need to shrink the kernel to the minimal size.
  
 +config NEED_MACH_GPIO_H
 +      bool
 +      help
 +        Select this when mach/gpio.h is required to provide special
 +        definitions for this platform. The need for mach/gpio.h should
 +        be avoided when possible.
 +
  config NEED_MACH_IO_H
        bool
        help
@@@ -260,29 -247,39 +260,29 @@@ config MM
  #
  choice
        prompt "ARM system type"
 -      default ARCH_VERSATILE
 +      default ARCH_MULTIPLATFORM
  
 -config ARCH_SOCFPGA
 -      bool "Altera SOCFPGA family"
 -      select ARCH_WANT_OPTIONAL_GPIOLIB
 -      select ARM_AMBA
 -      select ARM_GIC
 -      select CACHE_L2X0
 -      select CLKDEV_LOOKUP
 +config ARCH_MULTIPLATFORM
 +      bool "Allow multiple platforms to be selected"
 +      select ARM_PATCH_PHYS_VIRT
 +      select AUTO_ZRELADDR
        select COMMON_CLK
 -      select CPU_V7
 -      select DW_APB_TIMER
 -      select DW_APB_TIMER_OF
 -      select GENERIC_CLOCKEVENTS
 -      select GPIO_PL061 if GPIOLIB
 -      select HAVE_ARM_SCU
 +      select MULTI_IRQ_HANDLER
        select SPARSE_IRQ
        select USE_OF
 -      help
 -        This enables support for Altera SOCFPGA Cyclone V platform
 +      depends on MMU
  
  config ARCH_INTEGRATOR
        bool "ARM Ltd. Integrator family"
        select ARM_AMBA
        select ARCH_HAS_CPUFREQ
        select COMMON_CLK
 -      select CLK_VERSATILE
 +      select COMMON_CLK_VERSATILE
        select HAVE_TCM
        select ICST
        select GENERIC_CLOCKEVENTS
        select PLAT_VERSATILE
        select PLAT_VERSATILE_FPGA_IRQ
 -      select NEED_MACH_IO_H
        select NEED_MACH_MEMORY_H
        select SPARSE_IRQ
        select MULTI_IRQ_HANDLER
  config ARCH_REALVIEW
        bool "ARM Ltd. RealView family"
        select ARM_AMBA
 -      select CLKDEV_LOOKUP
 -      select HAVE_MACH_CLKDEV
 +      select COMMON_CLK
 +      select COMMON_CLK_VERSATILE
        select ICST
        select GENERIC_CLOCKEVENTS
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select PLAT_VERSATILE
 -      select PLAT_VERSATILE_CLOCK
        select PLAT_VERSATILE_CLCD
        select ARM_TIMER_SP804
        select GPIO_PL061 if GPIOLIB
@@@ -314,6 -312,7 +314,6 @@@ config ARCH_VERSATIL
        select ICST
        select GENERIC_CLOCKEVENTS
        select ARCH_WANT_OPTIONAL_GPIOLIB
 -      select NEED_MACH_IO_H if PCI
        select PLAT_VERSATILE
        select PLAT_VERSATILE_CLOCK
        select PLAT_VERSATILE_CLCD
        help
          This enables support for ARM Ltd Versatile board.
  
 -config ARCH_VEXPRESS
 -      bool "ARM Ltd. Versatile Express family"
 -      select ARCH_WANT_OPTIONAL_GPIOLIB
 -      select ARM_AMBA
 -      select ARM_TIMER_SP804
 -      select CLKDEV_LOOKUP
 -      select COMMON_CLK
 -      select GENERIC_CLOCKEVENTS
 -      select HAVE_CLK
 -      select HAVE_PATA_PLATFORM
 -      select ICST
 -      select NO_IOPORT
 -      select PLAT_VERSATILE
 -      select PLAT_VERSATILE_CLCD
 -      select REGULATOR_FIXED_VOLTAGE if REGULATOR
 -      help
 -        This enables support for the ARM Ltd Versatile Express boards.
 -
  config ARCH_AT91
        bool "Atmel AT91"
        select ARCH_REQUIRE_GPIOLIB
        select HAVE_CLK
        select CLKDEV_LOOKUP
        select IRQ_DOMAIN
 +      select NEED_MACH_GPIO_H
        select NEED_MACH_IO_H if PCCARD
 +      select PINCTRL
 +      select PINCTRL_AT91 if USE_OF
        help
          This enables support for systems based on Atmel
          AT91RM9200 and AT91SAM9* processors.
  
 -config ARCH_BCMRING
 -      bool "Broadcom BCMRING"
 -      depends on MMU
 -      select CPU_V6
 -      select ARM_AMBA
 -      select ARM_TIMER_SP804
 -      select CLKDEV_LOOKUP
 -      select GENERIC_CLOCKEVENTS
 -      select ARCH_WANT_OPTIONAL_GPIOLIB
 -      help
 -        Support for Broadcom's BCMRing platform.
 -
 -config ARCH_HIGHBANK
 -      bool "Calxeda Highbank-based"
 +config ARCH_BCM2835
 +      bool "Broadcom BCM2835 family"
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select ARM_AMBA
 -      select ARM_GIC
 +      select ARM_ERRATA_411920
        select ARM_TIMER_SP804
 -      select CACHE_L2X0
        select CLKDEV_LOOKUP
        select COMMON_CLK
 -      select CPU_V7
 +      select CPU_V6
        select GENERIC_CLOCKEVENTS
 -      select HAVE_ARM_SCU
 -      select HAVE_SMP
 +      select MULTI_IRQ_HANDLER
        select SPARSE_IRQ
        select USE_OF
        help
 -        Support for the Calxeda Highbank SoC based boards.
 +        This enables support for the Broadcom BCM2835 SoC. This SoC is
 +        use in the Raspberry Pi, and Roku 2 devices.
  
  config ARCH_CLPS711X
        bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
        select CPU_ARM720T
        select ARCH_USES_GETTIMEOFFSET
 +      select COMMON_CLK
 +      select CLKDEV_LOOKUP
        select NEED_MACH_MEMORY_H
        help
          Support for Cirrus Logic 711x/721x/731x based boards.
@@@ -382,19 -407,21 +382,19 @@@ config ARCH_GEMIN
        help
          Support for the Cortina Systems Gemini family SoCs
  
 -config ARCH_PRIMA2
 -      bool "CSR SiRFSoC PRIMA2 ARM Cortex A9 Platform"
 -      select CPU_V7
 +config ARCH_SIRF
 +      bool "CSR SiRF"
        select NO_IOPORT
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_CLOCKEVENTS
 -      select CLKDEV_LOOKUP
 +      select COMMON_CLK
        select GENERIC_IRQ_CHIP
        select MIGHT_HAVE_CACHE_L2X0
        select PINCTRL
        select PINCTRL_SIRF
        select USE_OF
 -      select ZONE_DMA
        help
 -          Support for CSR SiRFSoC ARM Cortex A9 Platform
 +        Support for CSR SiRFprimaII/Marco/Polo platforms
  
  config ARCH_EBSA110
        bool "EBSA-110"
@@@ -429,7 -456,7 +429,7 @@@ config ARCH_FOOTBRIDG
        select FOOTBRIDGE
        select GENERIC_CLOCKEVENTS
        select HAVE_IDE
 -      select NEED_MACH_IO_H
 +      select NEED_MACH_IO_H if !MMU
        select NEED_MACH_MEMORY_H
        help
          Support for systems based on the DC21285 companion chip
@@@ -456,9 -483,7 +456,9 @@@ config ARCH_MX
        select CLKSRC_MMIO
        select COMMON_CLK
        select HAVE_CLK_PREPARE
 +      select MULTI_IRQ_HANDLER
        select PINCTRL
 +      select SPARSE_IRQ
        select USE_OF
        help
          Support for Freescale MXS-based family of processors
@@@ -488,6 -513,7 +488,6 @@@ config ARCH_IOP13X
        select PCI
        select ARCH_SUPPORTS_MSI
        select VMSPLIT_1G
 -      select NEED_MACH_IO_H
        select NEED_MACH_MEMORY_H
        select NEED_RET_TO_USER
        help
@@@ -497,7 -523,7 +497,7 @@@ config ARCH_IOP32
        bool "IOP32x-based"
        depends on MMU
        select CPU_XSCALE
 -      select NEED_MACH_IO_H
 +      select NEED_MACH_GPIO_H
        select NEED_RET_TO_USER
        select PLAT_IOP
        select PCI
@@@ -510,7 -536,7 +510,7 @@@ config ARCH_IOP33
        bool "IOP33x-based"
        depends on MMU
        select CPU_XSCALE
 -      select NEED_MACH_IO_H
 +      select NEED_MACH_GPIO_H
        select NEED_RET_TO_USER
        select PLAT_IOP
        select PCI
@@@ -532,14 -558,26 +532,14 @@@ config ARCH_IXP4X
        help
          Support for Intel's IXP4XX (XScale) family of processors.
  
 -config ARCH_MVEBU
 -      bool "Marvell SOCs with Device Tree support"
 -      select GENERIC_CLOCKEVENTS
 -      select MULTI_IRQ_HANDLER
 -      select SPARSE_IRQ
 -      select CLKSRC_MMIO
 -      select GENERIC_IRQ_CHIP
 -      select IRQ_DOMAIN
 -      select COMMON_CLK
 -      help
 -        Support for the Marvell SoC Family with device tree support
 -
  config ARCH_DOVE
        bool "Marvell Dove"
        select CPU_V7
 -      select PCI
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_CLOCKEVENTS
 -      select NEED_MACH_IO_H
 -      select PLAT_ORION
 +      select MIGHT_HAVE_PCI
 +      select PLAT_ORION_LEGACY
 +      select USB_ARCH_HAS_EHCI
        help
          Support for the Marvell Dove SoC 88AP510
  
@@@ -549,7 -587,8 +549,7 @@@ config ARCH_KIRKWOO
        select PCI
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_CLOCKEVENTS
 -      select NEED_MACH_IO_H
 -      select PLAT_ORION
 +      select PLAT_ORION_LEGACY
        help
          Support for the following Marvell Kirkwood series SoCs:
          88F6180, 88F6192 and 88F6281.
@@@ -575,7 -614,8 +575,7 @@@ config ARCH_MV78XX
        select PCI
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_CLOCKEVENTS
 -      select NEED_MACH_IO_H
 -      select PLAT_ORION
 +      select PLAT_ORION_LEGACY
        help
          Support for the following Marvell MV78xx0 series SoCs:
          MV781x0, MV782x0.
@@@ -587,7 -627,8 +587,7 @@@ config ARCH_ORION5
        select PCI
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_CLOCKEVENTS
 -      select NEED_MACH_IO_H
 -      select PLAT_ORION
 +      select PLAT_ORION_LEGACY
        help
          Support for the following Marvell Orion 5x series SoCs:
          Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
@@@ -604,7 -645,6 +604,7 @@@ config ARCH_MM
        select PLAT_PXA
        select SPARSE_IRQ
        select GENERIC_ALLOCATOR
 +      select NEED_MACH_GPIO_H
        help
          Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
  
@@@ -612,9 -652,8 +612,9 @@@ config ARCH_KS869
        bool "Micrel/Kendin KS8695"
        select CPU_ARM922T
        select ARCH_REQUIRE_GPIOLIB
 -      select ARCH_USES_GETTIMEOFFSET
        select NEED_MACH_MEMORY_H
 +      select CLKSRC_MMIO
 +      select GENERIC_CLOCKEVENTS
        help
          Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
          System-on-Chip devices.
@@@ -644,13 -683,40 +644,13 @@@ config ARCH_TEGR
        select HAVE_CLK
        select HAVE_SMP
        select MIGHT_HAVE_CACHE_L2X0
 -      select NEED_MACH_IO_H if PCI
        select ARCH_HAS_CPUFREQ
        select USE_OF
 +      select COMMON_CLK
        help
          This enables support for NVIDIA Tegra based systems (Tegra APX,
          Tegra 6xx and Tegra 2 series).
  
 -config ARCH_PICOXCELL
 -      bool "Picochip picoXcell"
 -      select ARCH_REQUIRE_GPIOLIB
 -      select ARM_PATCH_PHYS_VIRT
 -      select ARM_VIC
 -      select CPU_V6K
 -      select DW_APB_TIMER
 -      select DW_APB_TIMER_OF
 -      select GENERIC_CLOCKEVENTS
 -      select GENERIC_GPIO
 -      select HAVE_TCM
 -      select NO_IOPORT
 -      select SPARSE_IRQ
 -      select USE_OF
 -      help
 -        This enables support for systems based on the Picochip picoXcell
 -        family of Femtocell devices.  The picoxcell support requires device tree
 -        for all boards.
 -
 -config ARCH_PNX4008
 -      bool "Philips Nexperia PNX4008 Mobile"
 -      select CPU_ARM926T
 -      select CLKDEV_LOOKUP
 -      select ARCH_USES_GETTIMEOFFSET
 -      help
 -        This enables support for Philips PNX4008 mobile platform.
 -
  config ARCH_PXA
        bool "PXA2xx/PXA3xx-based"
        depends on MMU
        select MULTI_IRQ_HANDLER
        select ARM_CPU_SUSPEND if PM
        select HAVE_IDE
 +      select NEED_MACH_GPIO_H
        help
          Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
  
@@@ -730,7 -795,6 +730,7 @@@ config ARCH_SA110
        select CLKDEV_LOOKUP
        select ARCH_REQUIRE_GPIOLIB
        select HAVE_IDE
 +      select NEED_MACH_GPIO_H
        select NEED_MACH_MEMORY_H
        select SPARSE_IRQ
        help
@@@ -746,7 -810,6 +746,7 @@@ config ARCH_S3C24X
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
 +      select NEED_MACH_GPIO_H
        select NEED_MACH_IO_H
        help
          Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
@@@ -774,7 -837,6 +774,7 @@@ config ARCH_S3C64X
        select SAMSUNG_GPIOLIB_4BIT
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
 +      select NEED_MACH_GPIO_H
        help
          Samsung S3C64XX series based systems
  
@@@ -789,7 -851,6 +789,7 @@@ config ARCH_S5P64X
        select GENERIC_CLOCKEVENTS
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
 +      select NEED_MACH_GPIO_H
        help
          Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
          SMDK6450.
@@@ -804,7 -865,6 +804,7 @@@ config ARCH_S5PC10
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
 +      select NEED_MACH_GPIO_H
        help
          Samsung S5PC100 series based systems
  
@@@ -822,7 -882,6 +822,7 @@@ config ARCH_S5PV21
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
 +      select NEED_MACH_GPIO_H
        select NEED_MACH_MEMORY_H
        help
          Samsung S5PV210/S5PC110 series based systems
@@@ -840,7 -899,6 +840,7 @@@ config ARCH_EXYNO
        select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
 +      select NEED_MACH_GPIO_H
        select NEED_MACH_MEMORY_H
        help
          Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
@@@ -854,6 -912,7 +854,6 @@@ config ARCH_SHAR
        select PCI
        select ARCH_USES_GETTIMEOFFSET
        select NEED_MACH_MEMORY_H
 -      select NEED_MACH_IO_H
        help
          Support for the StrongARM based Digital DNARD machine, also known
          as "Shark" (<http://www.shark-linux.de/shark.html>).
@@@ -872,7 -931,6 +872,7 @@@ config ARCH_U30
        select COMMON_CLK
        select GENERIC_GPIO
        select ARCH_REQUIRE_GPIOLIB
 +      select SPARSE_IRQ
        help
          Support for ST-Ericsson U300 series mobile platforms.
  
@@@ -898,7 -956,6 +898,7 @@@ config ARCH_NOMADI
        select COMMON_CLK
        select GENERIC_CLOCKEVENTS
        select PINCTRL
 +      select PINCTRL_STN8815
        select MIGHT_HAVE_CACHE_L2X0
        select ARCH_REQUIRE_GPIOLIB
        help
@@@ -914,7 -971,6 +914,7 @@@ config ARCH_DAVINC
        select GENERIC_ALLOCATOR
        select GENERIC_IRQ_CHIP
        select ARCH_HAS_HOLES_MEMORYMODEL
 +      select NEED_MACH_GPIO_H
        help
          Support for TI's DaVinci platform.
  
@@@ -927,7 -983,6 +927,7 @@@ config ARCH_OMA
        select CLKSRC_MMIO
        select GENERIC_CLOCKEVENTS
        select ARCH_HAS_HOLES_MEMORYMODEL
 +      select NEED_MACH_GPIO_H
        help
          Support for TI's OMAP platform (OMAP1/2/3/4).
  
@@@ -950,10 -1005,6 +950,10 @@@ config ARCH_VT850
        select ARCH_HAS_CPUFREQ
        select GENERIC_CLOCKEVENTS
        select ARCH_REQUIRE_GPIOLIB
 +      select USE_OF
 +      select COMMON_CLK
 +      select HAVE_CLK
 +      select CLKDEV_LOOKUP
        help
          Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip.
  
@@@ -971,50 -1022,6 +971,50 @@@ config ARCH_ZYN
          Support for Xilinx Zynq ARM Cortex A9 Platform
  endchoice
  
 +menu "Multiple platform selection"
 +      depends on ARCH_MULTIPLATFORM
 +
 +comment "CPU Core family selection"
 +
 +config ARCH_MULTI_V4
 +      bool "ARMv4 based platforms (FA526, StrongARM)"
 +      select ARCH_MULTI_V4_V5
 +      depends on !ARCH_MULTI_V6_V7
 +
 +config ARCH_MULTI_V4T
 +      bool "ARMv4T based platforms (ARM720T, ARM920T, ...)"
 +      select ARCH_MULTI_V4_V5
 +      depends on !ARCH_MULTI_V6_V7
 +
 +config ARCH_MULTI_V5
 +      bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)"
 +      select ARCH_MULTI_V4_V5
 +      depends on !ARCH_MULTI_V6_V7
 +
 +config ARCH_MULTI_V4_V5
 +      bool
 +
 +config ARCH_MULTI_V6
 +      bool "ARMv6 based platforms (ARM11, Scorpion, ...)"
 +      select CPU_V6
 +      select ARCH_MULTI_V6_V7
 +
 +config ARCH_MULTI_V7
 +      bool "ARMv7 based platforms (Cortex-A, PJ4, Krait)"
 +      select CPU_V7
 +      select ARCH_VEXPRESS
 +      default y
 +      select ARCH_MULTI_V6_V7
 +
 +config ARCH_MULTI_V6_V7
 +      bool
 +
 +config ARCH_MULTI_CPU_AUTO
 +      def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
 +      select ARCH_MULTI_V5
 +
 +endmenu
 +
  #
  # This is sorted alphabetically by mach-* pathname.  However, plat-*
  # Kconfigs may be included either alphabetically (according to the
@@@ -1024,6 -1031,8 +1024,6 @@@ source "arch/arm/mach-mvebu/Kconfig
  
  source "arch/arm/mach-at91/Kconfig"
  
 -source "arch/arm/mach-bcmring/Kconfig"
 -
  source "arch/arm/mach-clps711x/Kconfig"
  
  source "arch/arm/mach-cns3xxx/Kconfig"
@@@ -1040,8 -1049,6 +1040,8 @@@ source "arch/arm/mach-gemini/Kconfig
  
  source "arch/arm/mach-h720x/Kconfig"
  
 +source "arch/arm/mach-highbank/Kconfig"
 +
  source "arch/arm/mach-integrator/Kconfig"
  
  source "arch/arm/mach-iop32x/Kconfig"
@@@ -1077,8 -1084,6 +1077,8 @@@ source "arch/arm/mach-omap2/Kconfig
  
  source "arch/arm/mach-orion5x/Kconfig"
  
 +source "arch/arm/mach-picoxcell/Kconfig"
 +
  source "arch/arm/mach-pxa/Kconfig"
  source "arch/arm/plat-pxa/Kconfig"
  
@@@ -1091,8 -1096,6 +1091,8 @@@ source "arch/arm/mach-sa1100/Kconfig
  source "arch/arm/plat-samsung/Kconfig"
  source "arch/arm/plat-s3c24xx/Kconfig"
  
 +source "arch/arm/mach-socfpga/Kconfig"
 +
  source "arch/arm/plat-spear/Kconfig"
  
  source "arch/arm/mach-s3c24xx/Kconfig"
@@@ -1115,8 -1118,6 +1115,8 @@@ source "arch/arm/mach-exynos/Kconfig
  
  source "arch/arm/mach-shmobile/Kconfig"
  
 +source "arch/arm/mach-prima2/Kconfig"
 +
  source "arch/arm/mach-tegra/Kconfig"
  
  source "arch/arm/mach-u300/Kconfig"
@@@ -1128,6 -1129,8 +1128,6 @@@ source "arch/arm/mach-versatile/Kconfig
  source "arch/arm/mach-vexpress/Kconfig"
  source "arch/arm/plat-versatile/Kconfig"
  
 -source "arch/arm/mach-vt8500/Kconfig"
 -
  source "arch/arm/mach-w90x900/Kconfig"
  
  # Definitions to make life easier
@@@ -1145,10 -1148,6 +1145,10 @@@ config PLAT_ORIO
        select IRQ_DOMAIN
        select COMMON_CLK
  
 +config PLAT_ORION_LEGACY
 +      bool
 +      select PLAT_ORION
 +
  config PLAT_PXA
        bool
  
@@@ -1418,6 -1417,15 +1418,15 @@@ config ARM_ERRATA_77542
         to deadlock. This workaround puts DSB before executing ISB if
         an abort may occur on cache maintenance.
  
+ config ARM_ERRATA_782773
+       bool "ARM errata: Updating a translation entry might cause an unexpected translation fault"
+       depends on CPU_V7
+       help
+         This option enables the workaround for the 782773 Cortex-A9 (all r0,
+         r2 and r3 revisions) erratum. It might cause MMU exception in case
+         page table walk happens just after updating the existing
+         with setting page table in L1 data cache.
  endmenu
  
  source "arch/arm/common/Kconfig"
@@@ -1628,7 -1636,6 +1637,7 @@@ config ARCH_NR_GPI
        default 355 if ARCH_U8500
        default 264 if MACH_H4700
        default 512 if SOC_OMAP5
 +      default 288 if ARCH_VT8500
        default 0
        help
          Maximum number of GPIOs in the system.
@@@ -1774,7 -1781,6 +1783,7 @@@ source "mm/Kconfig
  config FORCE_MAX_ZONEORDER
        int "Maximum zone order" if ARCH_SHMOBILE
        range 11 64 if ARCH_SHMOBILE
 +      default "12" if SOC_AM33XX
        default "9" if SA1111
        default "11"
        help
          This config option is actually maximum order plus one. For example,
          a value of 11 means that the largest free memory block is 2^10 pages.
  
 -config LEDS
 -      bool "Timer and CPU usage LEDs"
 -      depends on ARCH_CDB89712 || ARCH_EBSA110 || \
 -                 ARCH_EBSA285 || ARCH_INTEGRATOR || \
 -                 ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
 -                 ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
 -                 ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
 -                 ARCH_AT91 || ARCH_DAVINCI || \
 -                 ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
 -      help
 -        If you say Y here, the LEDs on your machine will be used
 -        to provide useful information about your current system status.
 -
 -        If you are compiling a kernel for a NetWinder or EBSA-285, you will
 -        be able to select which LEDs are active using the options below. If
 -        you are compiling a kernel for the EBSA-110 or the LART however, the
 -        red LED will simply flash regularly to indicate that the system is
 -        still functional. It is safe to say Y here if you have a CATS
 -        system, but the driver will do nothing.
 -
 -config LEDS_TIMER
 -      bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
 -                          OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
 -                          || MACH_OMAP_PERSEUS2
 -      depends on LEDS
 -      depends on !GENERIC_CLOCKEVENTS
 -      default y if ARCH_EBSA110
 -      help
 -        If you say Y here, one of the system LEDs (the green one on the
 -        NetWinder, the amber one on the EBSA285, or the red one on the LART)
 -        will flash regularly to indicate that the system is still
 -        operational. This is mainly useful to kernel hackers who are
 -        debugging unstable kernels.
 -
 -        The LART uses the same LED for both Timer LED and CPU usage LED
 -        functions. You may choose to use both, but the Timer LED function
 -        will overrule the CPU usage LED.
 -
 -config LEDS_CPU
 -      bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
 -                      !ARCH_OMAP) \
 -                      || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
 -                      || MACH_OMAP_PERSEUS2
 -      depends on LEDS
 -      help
 -        If you say Y here, the red LED will be used to give a good real
 -        time indication of CPU usage, by lighting whenever the idle task
 -        is not currently executing.
 -
 -        The LART uses the same LED for both Timer LED and CPU usage LED
 -        functions. You may choose to use both, but the Timer LED function
 -        will overrule the CPU usage LED.
 -
  config ALIGNMENT_TRAP
        bool
        depends on CPU_CP15_MMU
          configuration it is safe to say N, otherwise say Y.
  
  config UACCESS_WITH_MEMCPY
 -      bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
 -      depends on MMU && EXPERIMENTAL
 +      bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"
 +      depends on MMU
        default y if CPU_FEROCEON
        help
          Implement faster copy_to_user and clear_user methods for CPU
@@@ -1845,15 -1904,11 +1854,15 @@@ config CC_STACKPROTECTO
          neutralized via a kernel panic.
          This feature requires gcc version 4.2 or above.
  
 -config DEPRECATED_PARAM_STRUCT
 -      bool "Provide old way to pass kernel parameters"
 +config XEN_DOM0
 +      def_bool y
 +      depends on XEN
 +
 +config XEN
 +      bool "Xen guest support on ARM (EXPERIMENTAL)"
 +      depends on EXPERIMENTAL && ARM && OF
        help
 -        This was deprecated in 2001 and announced to live on for 5 years.
 -        Some old boot loaders still use this way.
 +        Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
  
  endmenu
  
@@@ -1867,23 -1922,6 +1876,23 @@@ config USE_O
        help
          Include support for flattened device tree machine descriptions.
  
 +config ATAGS
 +      bool "Support for the traditional ATAGS boot data passing" if USE_OF
 +      default y
 +      help
 +        This is the traditional way of passing data to the kernel at boot
 +        time. If you are solely relying on the flattened device tree (or
 +        the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
 +        to remove ATAGS support from your kernel binary.  If unsure,
 +        leave this to y.
 +
 +config DEPRECATED_PARAM_STRUCT
 +      bool "Provide old way to pass kernel parameters"
 +      depends on ATAGS
 +      help
 +        This was deprecated in 2001 and announced to live on for 5 years.
 +        Some old boot loaders still use this way.
 +
  # Compressed boot loader in ROM.  Yes, we really want to ask about
  # TEXT and BSS so we preserve their values in the config files.
  config ZBOOT_ROM_TEXT
@@@ -2010,7 -2048,6 +2019,7 @@@ config CMDLIN
  choice
        prompt "Kernel command line type" if CMDLINE != ""
        default CMDLINE_FROM_BOOTLOADER
 +      depends on ATAGS
  
  config CMDLINE_FROM_BOOTLOADER
        bool "Use bootloader kernel arguments if available"
@@@ -2036,7 -2073,7 +2045,7 @@@ endchoic
  
  config XIP_KERNEL
        bool "Kernel Execute-In-Place from ROM"
 -      depends on !ZBOOT_ROM && !ARM_LPAE
 +      depends on !ZBOOT_ROM && !ARM_LPAE && !ARCH_MULTIPLATFORM
        help
          Execute-In-Place allows the kernel to run from non-volatile storage
          directly addressable by the CPU, such as NOR flash. This saves RAM
@@@ -2080,7 -2117,7 +2089,7 @@@ config KEXE
  
  config ATAGS_PROC
        bool "Export atags in procfs"
 -      depends on KEXEC
 +      depends on ATAGS && KEXEC
        default y
        help
          Should the atags used to boot the kernel be exported in an "atags"
@@@ -2289,7 -2326,7 +2298,7 @@@ menu "Power management options
  source "kernel/power/Kconfig"
  
  config ARCH_SUSPEND_POSSIBLE
 -      depends on !ARCH_S5PC100 && !ARCH_TEGRA
 +      depends on !ARCH_S5PC100
        depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
                CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
        def_bool y
index 0a43f3189c21c176f41f13ee82062f837a9ab6f8,29cca8068be0ea746ab248ffa6ec28bd1ac48890..f63f2eeb0205d4361226a95ccb68fb5b34571bfa
@@@ -133,8 -133,8 +133,8 @@@ static struct platform_device usb_host_
  
  /* USB Func CN17 */
  struct usbhs_private {
 -      unsigned int phy;
 -      unsigned int cr2;
 +      void __iomem *phy;
 +      void __iomem *cr2;
        struct renesas_usbhs_platform_info info;
  };
  
@@@ -232,8 -232,8 +232,8 @@@ static u32 usbhs_pipe_cfg[] = 
  };
  
  static struct usbhs_private usbhs_private = {
 -      .phy    = 0xe60781e0,           /* USBPHYINT */
 -      .cr2    = 0xe605810c,           /* USBCR2 */
 +      .phy    = IOMEM(0xe60781e0),            /* USBPHYINT */
 +      .cr2    = IOMEM(0xe605810c),            /* USBCR2 */
        .info = {
                .platform_callback = {
                        .hardware_init  = usbhs_hardware_init,
@@@ -346,11 -346,11 +346,11 @@@ static struct resource sh_mmcif_resourc
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
 -              .start  = gic_spi(141),
 +              .start  = gic_spi(140),
                .flags  = IORESOURCE_IRQ,
        },
        [2] = {
 -              .start  = gic_spi(140),
 +              .start  = gic_spi(141),
                .flags  = IORESOURCE_IRQ,
        },
  };
@@@ -384,6 -384,8 +384,8 @@@ static struct regulator_consumer_suppl
  
  /* SDHI */
  static struct sh_mobile_sdhi_info sdhi0_info = {
+       .dma_slave_tx   = SHDMA_SLAVE_SDHI0_TX,
+       .dma_slave_rx   = SHDMA_SLAVE_SDHI0_RX,
        .tmio_flags     = TMIO_MMC_HAS_IDLE_WAIT,
        .tmio_caps      = MMC_CAP_SD_HIGHSPEED,
        .tmio_ocr_mask  = MMC_VDD_27_28 | MMC_VDD_28_29,
@@@ -424,6 -426,8 +426,8 @@@ static struct platform_device sdhi0_dev
  
  /* Micro SD */
  static struct sh_mobile_sdhi_info sdhi2_info = {
+       .dma_slave_tx   = SHDMA_SLAVE_SDHI2_TX,
+       .dma_slave_rx   = SHDMA_SLAVE_SDHI2_RX,
        .tmio_flags     = TMIO_MMC_HAS_IDLE_WAIT |
                          TMIO_MMC_USE_GPIO_CD |
                          TMIO_MMC_WRPROTECT_DISABLE,
@@@ -557,7 -561,15 +561,15 @@@ static struct i2c_board_info i2c0_devic
        },
        {
                I2C_BOARD_INFO("r2025sd", 0x32),
-       }
+       },
+       {
+               I2C_BOARD_INFO("ak8975", 0x0c),
+               .irq = intcs_evt2irq(0x3380), /* IRQ28 */
+       },
+       {
+               I2C_BOARD_INFO("adxl34x", 0x1d),
+               .irq = intcs_evt2irq(0x3340), /* IRQ26 */
+       },
  };
  
  static struct i2c_board_info i2c1_devices[] = {
@@@ -764,7 -776,7 +776,7 @@@ static void __init kzm_init(void
  
  static void kzm9g_restart(char mode, const char *cmd)
  {
 -#define RESCNT2 0xe6188020
 +#define RESCNT2 IOMEM(0xe6188020)
        /* Do soft power on reset */
        writel((1 << 31), RESCNT2);
  }
@@@ -775,7 -787,6 +787,7 @@@ static const char *kzm9g_boards_compat_
  };
  
  DT_MACHINE_START(KZM9G_DT, "kzm9g")
 +      .smp            = smp_ops(sh73a0_smp_ops),
        .map_io         = sh73a0_map_io,
        .init_early     = sh73a0_add_early_devices,
        .nr_irqs        = NR_IRQS_LEGACY,
index eb98b45c508902c631153c093ed14aea877893d5,0ad42203aa4bfab614f8ee019fd6a022bfc31479..d65fbbe84678190522c1b6a40b3f830082ba47b0
@@@ -452,6 -452,10 +452,10 @@@ enum 
        SHDMA_SLAVE_SCIF5_RX,
        SHDMA_SLAVE_SCIF6_TX,
        SHDMA_SLAVE_SCIF6_RX,
+       SHDMA_SLAVE_FLCTL0_TX,
+       SHDMA_SLAVE_FLCTL0_RX,
+       SHDMA_SLAVE_FLCTL1_TX,
+       SHDMA_SLAVE_FLCTL1_RX,
        SHDMA_SLAVE_SDHI0_RX,
        SHDMA_SLAVE_SDHI0_TX,
        SHDMA_SLAVE_SDHI1_RX,
@@@ -478,17 -482,21 +482,17 @@@ extern struct clk sh7372_fsibck_clk
  extern struct clk sh7372_fsidiva_clk;
  extern struct clk sh7372_fsidivb_clk;
  
 -#ifdef CONFIG_PM
 -extern struct rmobile_pm_domain sh7372_pd_a4lc;
 -extern struct rmobile_pm_domain sh7372_pd_a4mp;
 -extern struct rmobile_pm_domain sh7372_pd_d4;
 -extern struct rmobile_pm_domain sh7372_pd_a4r;
 -extern struct rmobile_pm_domain sh7372_pd_a3rv;
 -extern struct rmobile_pm_domain sh7372_pd_a3ri;
 -extern struct rmobile_pm_domain sh7372_pd_a4s;
 -extern struct rmobile_pm_domain sh7372_pd_a3sp;
 -extern struct rmobile_pm_domain sh7372_pd_a3sg;
 -#endif /* CONFIG_PM */
 -
  extern void sh7372_intcs_suspend(void);
  extern void sh7372_intcs_resume(void);
  extern void sh7372_intca_suspend(void);
  extern void sh7372_intca_resume(void);
  
 +#ifdef CONFIG_PM
 +extern void __init sh7372_init_pm_domains(void);
 +#else
 +static inline void sh7372_init_pm_domains(void) {}
 +#endif
 +
 +extern void __init sh7372_pm_init_late(void);
 +
  #endif /* __ASM_SH7372_H__ */
index 11bb1d9841975ef9be12c1591fae32c80903b55e,d3d62952bbc42579732c783ea6e5f46b667294e7..1e032cb55e07e00cdf5f3c58f98a566834c14c9d
@@@ -590,6 -590,21 +590,21 @@@ static struct platform_device i2c1_devi
        .num_resources  = ARRAY_SIZE(i2c1_resources),
  };
  
+ static struct resource pmu_resources[] = {
+       [0] = {
+               .start  = evt2irq(0x19a0),
+               .end    = evt2irq(0x19a0),
+               .flags  = IORESOURCE_IRQ,
+       },
+ };
+ static struct platform_device pmu_device = {
+       .name   = "arm-pmu",
+       .id             = -1,
+       .num_resources = ARRAY_SIZE(pmu_resources),
+       .resource = pmu_resources,
+ };
  static struct platform_device *r8a7740_late_devices[] __initdata = {
        &i2c0_device,
        &i2c1_device,
        &dma1_device,
        &dma2_device,
        &usb_dma_device,
+       &pmu_device,
  };
  
  /*
@@@ -673,7 -689,12 +689,7 @@@ void __init r8a7740_add_standard_device
        r8a7740_i2c_workaround(&i2c0_device);
        r8a7740_i2c_workaround(&i2c1_device);
  
 -      /* PM domain */
 -      rmobile_init_pm_domain(&r8a7740_pd_a4s);
 -      rmobile_init_pm_domain(&r8a7740_pd_a3sp);
 -      rmobile_init_pm_domain(&r8a7740_pd_a4lc);
 -
 -      rmobile_pm_add_subdomain(&r8a7740_pd_a4s, &r8a7740_pd_a3sp);
 +      r8a7740_init_pm_domains();
  
        /* add devices */
        platform_add_devices(r8a7740_early_devices,
  
        /* add devices to PM domain  */
  
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif0_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif1_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif2_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif3_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif4_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif5_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif6_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scif7_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &scifb_device);
 -      rmobile_add_device_to_domain(&r8a7740_pd_a3sp,  &i2c1_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif0_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif1_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif2_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif3_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif4_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif5_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif6_device);
 +      rmobile_add_device_to_domain("A3SP",    &scif7_device);
 +      rmobile_add_device_to_domain("A3SP",    &scifb_device);
 +      rmobile_add_device_to_domain("A3SP",    &i2c1_device);
  }
  
  static void __init r8a7740_earlytimer_init(void)
index a07954fbcd22b9017b588ef1f745bddf101bf419,64af6ea6d632cacdcde9573826f7c99c059ae0d8..a36011184c16c05d432de1cb0fbd678749a9ade8
@@@ -407,6 -407,26 +407,26 @@@ static const struct sh_dmae_slave_confi
                .addr           = 0xe6c30060,
                .chcr           = CHCR_RX(XMIT_SZ_8BIT),
                .mid_rid        = 0x3e,
+       }, {
+               .slave_id       = SHDMA_SLAVE_FLCTL0_TX,
+               .addr           = 0xe6a30050,
+               .chcr           = CHCR_TX(XMIT_SZ_32BIT),
+               .mid_rid        = 0x83,
+       }, {
+               .slave_id       = SHDMA_SLAVE_FLCTL0_RX,
+               .addr           = 0xe6a30050,
+               .chcr           = CHCR_RX(XMIT_SZ_32BIT),
+               .mid_rid        = 0x83,
+       }, {
+               .slave_id       = SHDMA_SLAVE_FLCTL1_TX,
+               .addr           = 0xe6a30060,
+               .chcr           = CHCR_TX(XMIT_SZ_32BIT),
+               .mid_rid        = 0x87,
+       }, {
+               .slave_id       = SHDMA_SLAVE_FLCTL1_RX,
+               .addr           = 0xe6a30060,
+               .chcr           = CHCR_RX(XMIT_SZ_32BIT),
+               .mid_rid        = 0x87,
        }, {
                .slave_id       = SHDMA_SLAVE_SDHI0_TX,
                .addr           = 0xe6850030,
@@@ -1001,34 -1021,21 +1021,34 @@@ static struct platform_device *sh7372_l
  
  void __init sh7372_add_standard_devices(void)
  {
 -      rmobile_init_pm_domain(&sh7372_pd_a4lc);
 -      rmobile_init_pm_domain(&sh7372_pd_a4mp);
 -      rmobile_init_pm_domain(&sh7372_pd_d4);
 -      rmobile_init_pm_domain(&sh7372_pd_a4r);
 -      rmobile_init_pm_domain(&sh7372_pd_a3rv);
 -      rmobile_init_pm_domain(&sh7372_pd_a3ri);
 -      rmobile_init_pm_domain(&sh7372_pd_a4s);
 -      rmobile_init_pm_domain(&sh7372_pd_a3sp);
 -      rmobile_init_pm_domain(&sh7372_pd_a3sg);
 -
 -      rmobile_pm_add_subdomain(&sh7372_pd_a4lc, &sh7372_pd_a3rv);
 -      rmobile_pm_add_subdomain(&sh7372_pd_a4r, &sh7372_pd_a4lc);
 -
 -      rmobile_pm_add_subdomain(&sh7372_pd_a4s, &sh7372_pd_a3sg);
 -      rmobile_pm_add_subdomain(&sh7372_pd_a4s, &sh7372_pd_a3sp);
 +      struct pm_domain_device domain_devices[] = {
 +              { "A3RV", &vpu_device, },
 +              { "A4MP", &spu0_device, },
 +              { "A4MP", &spu1_device, },
 +              { "A3SP", &scif0_device, },
 +              { "A3SP", &scif1_device, },
 +              { "A3SP", &scif2_device, },
 +              { "A3SP", &scif3_device, },
 +              { "A3SP", &scif4_device, },
 +              { "A3SP", &scif5_device, },
 +              { "A3SP", &scif6_device, },
 +              { "A3SP", &iic1_device, },
 +              { "A3SP", &dma0_device, },
 +              { "A3SP", &dma1_device, },
 +              { "A3SP", &dma2_device, },
 +              { "A3SP", &usb_dma0_device, },
 +              { "A3SP", &usb_dma1_device, },
 +              { "A4R", &iic0_device, },
 +              { "A4R", &veu0_device, },
 +              { "A4R", &veu1_device, },
 +              { "A4R", &veu2_device, },
 +              { "A4R", &veu3_device, },
 +              { "A4R", &jpu_device, },
 +              { "A4R", &tmu00_device, },
 +              { "A4R", &tmu01_device, },
 +      };
 +
 +      sh7372_init_pm_domains();
  
        platform_add_devices(sh7372_early_devices,
                            ARRAY_SIZE(sh7372_early_devices));
        platform_add_devices(sh7372_late_devices,
                            ARRAY_SIZE(sh7372_late_devices));
  
 -      rmobile_add_device_to_domain(&sh7372_pd_a3rv, &vpu_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4mp, &spu0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4mp, &spu1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif2_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif3_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif4_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif5_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &scif6_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &iic1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &dma0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &dma1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &dma2_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &usb_dma0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a3sp, &usb_dma1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &iic0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &veu0_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &veu1_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &veu2_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &veu3_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &jpu_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &tmu00_device);
 -      rmobile_add_device_to_domain(&sh7372_pd_a4r, &tmu01_device);
 +      rmobile_add_devices_to_domains(domain_devices,
 +                                     ARRAY_SIZE(domain_devices));
  }
  
  static void __init sh7372_earlytimer_init(void)