Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 20:05:15 +0000 (12:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 20:05:15 +0000 (12:05 -0800)
Pull ARM SoC updates from Olof Johansson:
 "This contains the bulk of new SoC development for this merge window.

  Two new platforms have been added, the sunxi platforms (Allwinner A1x
  SoCs) by Maxime Ripard, and a generic Broadcom platform for a new
  series of ARMv7 platforms from them, where the hope is that we can
  keep the platform code generic enough to have them all share one mach
  directory.  The new Broadcom platform is contributed by Christian
  Daudt.

  Highbank has grown support for Calxeda's next generation of hardware,
  ECX-2000.

  clps711x has seen a lot of cleanup from Alexander Shiyan, and he's
  also taken on maintainership of the platform.

  Beyond this there has been a bunch of work from a number of people on
  converting more platforms to IRQ domains, pinctrl conversion, cleanup
  and general feature enablement across most of the active platforms."

Fix up trivial conflicts as per Olof.

* tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (174 commits)
  mfd: vexpress-sysreg: Remove LEDs code
  irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
  clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
  irq: versatile: delete dangling variable
  ARM: sunxi: add missing include for mdelay()
  ARM: EXYNOS: Avoid early use of of_machine_is_compatible()
  ARM: dts: add node for PL330 MDMA1 controller for exynos4
  ARM: EXYNOS: Add support for secondary CPU bring-up on Exynos4412
  ARM: EXYNOS: add UART3 to DEBUG_LL ports
  ARM: S3C24XX: Add clkdev entry for camif-upll clock
  ARM: SAMSUNG: Add s3c24xx/s3c64xx CAMIF GPIO setup helpers
  ARM: sunxi: Add missing sun4i.dtsi file
  pinctrl: samsung: Do not initialise statics to 0
  ARM i.MX6: remove gate_mask from pllv3
  ARM i.MX6: Fix ethernet PLL clocks
  ARM i.MX6: rename PLLs according to datasheet
  ARM i.MX6: Add pwm support
  ARM i.MX51: Add pwm support
  ARM i.MX53: Add pwm support
  ARM: mx5: Replace clk_register_clkdev with clock DT lookup
  ...

36 files changed:
1  2 
MAINTAINERS
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/boot/compressed/Makefile
arch/arm/boot/dts/Makefile
arch/arm/kernel/smp_twd.c
arch/arm/mach-bcm2835/bcm2835.c
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/include/mach/serial.h
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/include/mach/map.h
arch/arm/mach-exynos/include/mach/regs-pmu.h
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-sh7372.c
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-vexpress/v2m.c
arch/arm/mm/mmu.c
arch/arm/plat-versatile/Kconfig
drivers/cpuidle/Kconfig
drivers/media/platform/soc_camera/mx2_camera.c
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-exynos.c
drivers/tty/serial/samsung.c
drivers/uio/Kconfig
drivers/uio/uio_pruss.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
index 5e98094a3e1be5d878ee5159fc5be5cc3d468500,f872edff9c2c683b9c492ca74f29a0fa128ef1ff..42917866fcde323af0f6320ef0bfe2da6faf2db9
@@@ -1,38 -1,23 +1,39 @@@
  ifeq ($(CONFIG_OF),y)
  
 -dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb \
 -      at91sam9263ek.dtb \
 -      at91sam9g20ek_2mmc.dtb \
 -      at91sam9g20ek.dtb \
 -      at91sam9g25ek.dtb \
 -      at91sam9m10g45ek.dtb \
 -      at91sam9n12ek.dtb \
 -      ethernut5.dtb \
 -      evk-pro3.dtb \
 -      kizbox.dtb \
 -      tny_a9260.dtb \
 -      tny_a9263.dtb \
 -      tny_a9g20.dtb \
 -      usb_a9260.dtb \
 -      usb_a9263.dtb \
 -      usb_a9g20.dtb
 +# Keep at91 dtb files sorted alphabetically for each SoC
 +# rm9200
 +dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb
 +# sam9260
 +dtb-$(CONFIG_ARCH_AT91) += animeo_ip.dtb
 +dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb
 +dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb
 +dtb-$(CONFIG_ARCH_AT91) += evk-pro3.dtb
 +dtb-$(CONFIG_ARCH_AT91) += tny_a9260.dtb
 +dtb-$(CONFIG_ARCH_AT91) += usb_a9260.dtb
 +# sam9263
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9263ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += tny_a9263.dtb
 +dtb-$(CONFIG_ARCH_AT91) += usb_a9263.dtb
 +# sam9g20
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9g20ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9g20ek_2mmc.dtb
 +dtb-$(CONFIG_ARCH_AT91) += kizbox.dtb
 +dtb-$(CONFIG_ARCH_AT91) += tny_a9g20.dtb
 +dtb-$(CONFIG_ARCH_AT91) += usb_a9g20.dtb
 +# sam9g45
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9m10g45ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += pm9g45.dtb
 +# sam9n12
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9n12ek.dtb
 +# sam9x5
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9g15ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9g25ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9g35ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9x25ek.dtb
 +dtb-$(CONFIG_ARCH_AT91) += at91sam9x35ek.dtb
 +
  dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
+ dtb-$(CONFIG_ARCH_BCM) += bcm11351-brt.dtb
  dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
        dove-cubox.dtb \
        dove-dove-db.dtb
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 0dbee7fef9bdb7350b1496a758f8c025a581850a,68b4b8eb63dc65ecb74759b8730c0855e6c9fbff..e05f6cca2c9b77a5c49679861219b1200cefc518
@@@ -61,9 -63,10 +63,10 @@@ static const char name_exynos5440[] = "
  
  static void exynos4_map_io(void);
  static void exynos5_map_io(void);
+ static void exynos5440_map_io(void);
  static void exynos4_init_clocks(int xtal);
  static void exynos5_init_clocks(int xtal);
 -static void exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 +static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  static int exynos_init(void);
  
  static struct cpu_table cpu_ids[] __initdata = {
                .idmask         = EXYNOS5_SOC_MASK,
                .map_io         = exynos5_map_io,
                .init_clocks    = exynos5_init_clocks,
 -              .init_uarts     = exynos_init_uarts,
                .init           = exynos_init,
                .name           = name_exynos5250,
+       }, {
+               .idcode         = EXYNOS5440_SOC_ID,
+               .idmask         = EXYNOS5_SOC_MASK,
+               .map_io         = exynos5440_map_io,
+               .init           = exynos_init,
+               .name           = name_exynos5440,
        },
  };
  
index 872840b2ff45872669456da2ce748991d71decda,aa3760e1d668876dced76e575bccf72542ec2466..61b74e12d12b1cef2d9a2a39de08ef2cd9ba026e
  #define EXYNOS5_PA_UART1              0x12C10000
  #define EXYNOS5_PA_UART2              0x12C20000
  #define EXYNOS5_PA_UART3              0x12C30000
 -#define EXYNOS5_SZ_UART                       SZ_256
  
+ #define EXYNOS5440_PA_UART0           0x000B0000
+ #define EXYNOS5440_PA_UART1           0x000C0000
+ #define EXYNOS5440_SZ_UART            SZ_256
  #define S3C_VA_UARTx(x)                       (S3C_VA_UART + ((x) * S3C_UART_OFFSET))
  
  #endif /* __ASM_ARCH_MAP_H */
index a0a7cbbb7a70a74012878ae2aebdceb0367d00af,e67a9fe18d1b89f5a2eac667394be99ce4c3cdce..11e2a4145807876b79883fe4c0a45a76ba42a693
  #include <asm/mach/pci.h>
  #include <asm/mach/time.h>
  
- #include <plat/fpga-irq.h>
  #include "common.h"
  
 -/* 
 +/* Base address to the AP system controller */
 +void __iomem *ap_syscon_base;
 +
 +/*
   * All IO addresses are mapped onto VA 0xFFFx.xxxx, where x.xxxx
   * is the (PA >> 12).
   *
@@@ -714,8 -606,7 +712,7 @@@ MACHINE_START(INTEGRATOR, "ARM-Integrat
        /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
        .atag_offset    = 0x100,
        .reserve        = integrator_reserve,
 -      .map_io         = ap_map_io,
 +      .map_io         = ap_map_io_atag,
-       .nr_irqs        = NR_IRQS_INTEGRATOR_AP,
        .init_early     = ap_init_early,
        .init_irq       = ap_init_irq,
        .handle_irq     = fpga_handle_irq,
index 29df06b35d0d1ecddce7d403b673f31218fe9241,acecf04f50f75148b09611d7e8d46a303c98f5a5..7322838c0447dabe3c29d7b5b703af5d49771f31
@@@ -562,8 -502,7 +561,7 @@@ MACHINE_START(CINTEGRATOR, "ARM-Integra
        /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */
        .atag_offset    = 0x100,
        .reserve        = integrator_reserve,
 -      .map_io         = intcp_map_io,
 +      .map_io         = intcp_map_io_atag,
-       .nr_irqs        = NR_IRQS_INTEGRATOR_CP,
        .init_early     = intcp_init_early,
        .init_irq       = intcp_init_irq,
        .handle_irq     = fpga_handle_irq,
Simple merge
Simple merge
Simple merge
index 91f028c1264a856c88c47b5ae024707604729cad,50202a163e5d39684134d56cdf8b5908882091af..5c5ad70e48be2f37b134dec4cd36534f38fd4477
@@@ -18,7 -18,7 +18,8 @@@
  #include <linux/io.h>
  #include <linux/mfd/abx500/ab8500.h>
  #include <linux/platform_data/usb-musb-ux500.h>
 +#include <linux/platform_data/pinctrl-nomadik.h>
+ #include <linux/random.h>
  
  #include <asm/pmu.h>
  #include <asm/mach/map.h>
index 359f782c747d85c17abf6592474f24bb337be8da,4e168e81fb424827b2cf0fe2546df030ea41d31f..011661a6c5cb6dd769c46e3efc50f409ee9e587c
@@@ -580,20 -420,13 +420,13 @@@ void __init v2m_dt_map_io(void
  
  void __init v2m_dt_init_early(void)
  {
-       struct device_node *node;
        u32 dt_hbi;
  
-       node = of_find_compatible_node(NULL, NULL, "arm,vexpress-sysreg");
-       v2m_sysreg_base = of_iomap(node, 0);
-       if (WARN_ON(!v2m_sysreg_base))
-               return;
+       vexpress_sysreg_of_early_init();
  
        /* Confirm board type against DT property, if available */
 -      if (of_property_read_u32(allnodes, "arm,hbi", &dt_hbi) == 0) {
 +      if (of_property_read_u32(of_allnodes, "arm,hbi", &dt_hbi) == 0) {
-               int site = v2m_get_master_site();
-               u32 id = readl(v2m_sysreg_base + (site == SYS_CFG_SITE_DB2 ?
-                               V2M_SYS_PROCID1 : V2M_SYS_PROCID0));
-               u32 hbi = id & SYS_PROCIDx_HBI_MASK;
+               u32 hbi = vexpress_get_hbi(VEXPRESS_SITE_MASTER);
  
                if (WARN_ON(dt_hbi != hbi))
                        pr_warning("vexpress: DT HBI (%x) is not matching "
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 390ab69ea5693443210e3e37b858d366179d5682,dd08b490d091f3dd396106cd74c00859ba9fdffa..c31aeb01bb0002cc648b603c6c526ad83f9ab9a9
@@@ -190,7 -188,32 +190,12 @@@ config PINCTRL_EXYNOS
        depends on OF && GPIOLIB
        select PINCTRL_SAMSUNG
  
 -config PINCTRL_MVEBU
 -      bool
 -      depends on ARCH_MVEBU
 -      select PINMUX
 -      select PINCONF
 -
 -config PINCTRL_DOVE
 -      bool
 -      select PINCTRL_MVEBU
 -
 -config PINCTRL_KIRKWOOD
 -      bool
 -      select PINCTRL_MVEBU
 -
 -config PINCTRL_ARMADA_370
 -      bool
 -      select PINCTRL_MVEBU
 -
 -config PINCTRL_ARMADA_XP
 -      bool
 -      select PINCTRL_MVEBU
+ config PINCTRL_EXYNOS5440
+       bool "Samsung EXYNOS5440 SoC pinctrl driver"
+       select PINMUX
+       select PINCONF
 +source "drivers/pinctrl/mvebu/Kconfig"
  
  source "drivers/pinctrl/spear/Kconfig"
  
index f95f5ed923be9aff849fadc58cdcf54fb2f0a0d8,476928bb97c23ad0c40bd1766f376236be87482a..fc4606f27dc793897aac033797f2e680e80f3dad
@@@ -37,6 -36,12 +37,7 @@@ obj-$(CONFIG_PINCTRL_U300)   += pinctrl-u
  obj-$(CONFIG_PINCTRL_COH901)  += pinctrl-coh901.o
  obj-$(CONFIG_PINCTRL_SAMSUNG) += pinctrl-samsung.o
  obj-$(CONFIG_PINCTRL_EXYNOS4) += pinctrl-exynos.o
 -obj-$(CONFIG_PINCTRL_MVEBU)   += pinctrl-mvebu.o
 -obj-$(CONFIG_PINCTRL_DOVE)    += pinctrl-dove.o
 -obj-$(CONFIG_PINCTRL_KIRKWOOD)        += pinctrl-kirkwood.o
 -obj-$(CONFIG_PINCTRL_ARMADA_370) += pinctrl-armada-370.o
 -obj-$(CONFIG_PINCTRL_ARMADA_XP)  += pinctrl-armada-xp.o
+ obj-$(CONFIG_PINCTRL_EXYNOS5440)      += pinctrl-exynos5440.o
  obj-$(CONFIG_PINCTRL_XWAY)    += pinctrl-xway.o
  obj-$(CONFIG_PINCTRL_LANTIQ)  += pinctrl-lantiq.o
  
Simple merge
Simple merge
Simple merge
Simple merge