Merge branch 'samsung/exynos-multiplatform' into next/drivers
authorArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 12:34:05 +0000 (14:34 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 14:50:56 +0000 (16:50 +0200)
Merging this into the next/drivers branch avoids a number of
pointless conflicts with code changed here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 files changed:
1  2 
arch/arm/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/Makefile
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/include/mach/irqs.h
arch/arm/mach-exynos/mach-armlex4210.c
arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos/mach-origen.c
arch/arm/mach-exynos/mach-smdk4x12.c
arch/arm/mach-exynos/mach-smdkv310.c
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/devs.c
drivers/gpio/Makefile

Simple merge
@@@ -7,6 -7,20 +7,21 @@@
  
  # Configuration options for the EXYNOS4
  
+ config ARCH_EXYNOS
+       # TODO: make this visible after all drivers are converted
+       bool "Samsung EXYNOS" if ARCH_MULTI_V7 && BROKEN
+       default ARCH_EXYNOS_SINGLE
+       select ARCH_HAS_CPUFREQ
+       select CLKDEV_LOOKUP
++      select COMMON_CLK
+       select CPU_V7
+       select GENERIC_CLOCKEVENTS
+       select HAVE_CLK
+       select HAVE_S3C2410_I2C if I2C
+       select HAVE_S3C_RTC if RTC_CLASS
+       help
+         Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
  if ARCH_EXYNOS
  
  menu "SAMSUNG EXYNOS SoCs Support"
@@@ -80,6 -96,25 +98,19 @@@ config SOC_EXYNOS544
        help
          Enable EXYNOS5440 SoC support
  
 -config EXYNOS4_MCT
 -      bool
 -      default y
 -      help
 -        Use MCT (Multi Core Timer) as kernel timers
 -
+ config EXYNOS_ATAGS
+       bool "ATAGS based boot for EXYNOS (deprecated)"
+       depends on !ARCH_MULTIPLATFORM
+       depends on ATAGS
+       default y
+       help
+         The EXYNOS platform is moving towards being completely probed
+         through device tree. This enables support for board files using
+         the traditional ATAGS boot format.
+         Note that this option is not available for multiplatform builds.
+ if EXYNOS_ATAGS
  config EXYNOS_DEV_DMA
        bool
        help
Simple merge
@@@ -852,30 -880,4 +857,31 @@@ static int __init exynos_init_irq_eint(
        return 0;
  }
  arch_initcall(exynos_init_irq_eint);
+ #endif
 +
 +static struct resource exynos4_pmu_resource[] = {
 +      DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU),
 +      DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU_CPU1),
 +#if defined(CONFIG_SOC_EXYNOS4412)
 +      DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU_CPU2),
 +      DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU_CPU3),
 +#endif
 +};
 +
 +static struct platform_device exynos4_device_pmu = {
 +      .name           = "arm-pmu",
 +      .num_resources  = ARRAY_SIZE(exynos4_pmu_resource),
 +      .resource       = exynos4_pmu_resource,
 +};
 +
 +static int __init exynos_armpmu_init(void)
 +{
 +      if (!of_have_populated_dt()) {
 +              if (soc_is_exynos4210() || soc_is_exynos4212())
 +                      exynos4_device_pmu.num_resources = 2;
 +              platform_device_register(&exynos4_device_pmu);
 +      }
 +
 +      return 0;
 +}
 +arch_initcall(exynos_armpmu_init);
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -23,9 -27,9 +27,9 @@@ config PLAT_S5
        select GIC_NON_BANKED if ARCH_EXYNOS4
        select NO_IOPORT
        select PLAT_SAMSUNG
-       select S3C_GPIO_TRACK
+       select S3C_GPIO_TRACK if PLAT_SAMSUNG_SINGLE
        select S5P_GPIO_DRVSTR
 -      select SAMSUNG_CLKSRC
 +      select SAMSUNG_CLKSRC if !COMMON_CLK
        select SAMSUNG_GPIOLIB_4BIT
        select SAMSUNG_IRQ_VIC_TIMER
        help
Simple merge
Simple merge
Simple merge