Merge branch 'for_3.4/dt_base' of git://git.kernel.org/pub/scm/linux/kernel/git/bcous...
authorTony Lindgren <tony@atomide.com>
Fri, 17 Feb 2012 23:12:36 +0000 (15:12 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Feb 2012 23:12:36 +0000 (15:12 -0800)
1  2 
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/board-generic.c
arch/arm/plat-omap/Kconfig

index bdd5b68fba80993d89bbdb2f8192ce5e32df825d,d965da45160e67c4e03056a7d8c0d72178575042..72ce50ecf328d17ed9e0c01022ff03b8c5b51c15
@@@ -33,7 -33,6 +33,6 @@@ config ARCH_OMAP
        default y
        select CPU_V7
        select USB_ARCH_HAS_EHCI
-       select ARM_L1_CACHE_SHIFT_6 if !ARCH_OMAP4
        select ARCH_HAS_OPP
        select PM_OPP if PM
        select ARM_CPU_SUSPEND if PM
@@@ -43,8 -42,10 +42,10 @@@ config ARCH_OMAP
        bool "TI OMAP4"
        default y
        depends on ARCH_OMAP2PLUS
+       select CACHE_L2X0
        select CPU_V7
        select ARM_GIC
+       select HAVE_SMP
        select LOCAL_TIMERS if SMP
        select PL310_ERRATA_588369
        select PL310_ERRATA_727915
@@@ -76,8 -77,13 +77,13 @@@ config SOC_OMAP343
        default y
        select ARCH_OMAP_OTG
  
- config SOC_OMAPTI816X
-       bool "TI816X support"
+ config SOC_OMAPTI81XX
+       bool "TI81XX support"
+       depends on ARCH_OMAP3
+       default y
+ config SOC_OMAPAM33XX
+       bool "AM33XX support"
        depends on ARCH_OMAP3
        default y
  
@@@ -111,6 -117,7 +117,6 @@@ comment "OMAP Board Type
  config MACH_OMAP_GENERIC
        bool "Generic OMAP2+ board"
        depends on ARCH_OMAP2PLUS
 -      select USE_OF
        default y
        help
          Support for generic TI OMAP2+ boards using Flattened Device Tree.
@@@ -206,13 -213,12 +212,12 @@@ config MACH_OMAP3_PANDOR
        depends on ARCH_OMAP3
        default y
        select OMAP_PACKAGE_CBB
-       select REGULATOR_FIXED_VOLTAGE
+       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
  config MACH_OMAP3_TOUCHBOOK
        bool "OMAP3 Touch Book"
        depends on ARCH_OMAP3
        default y
-       select BACKLIGHT_CLASS_DEVICE
  
  config MACH_OMAP_3430SDP
        bool "OMAP 3430 SDP board"
@@@ -258,7 -264,7 +263,7 @@@ config MACH_OMAP_ZOOM
        select SERIAL_8250
        select SERIAL_CORE_CONSOLE
        select SERIAL_8250_CONSOLE
-       select REGULATOR_FIXED_VOLTAGE
+       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
  config MACH_OMAP_ZOOM3
        bool "OMAP3630 Zoom3 board"
        select SERIAL_8250
        select SERIAL_CORE_CONSOLE
        select SERIAL_8250_CONSOLE
-       select REGULATOR_FIXED_VOLTAGE
+       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
  config MACH_CM_T35
        bool "CompuLab CM-T35/CM-T3730 modules"
@@@ -313,7 -319,12 +318,12 @@@ config MACH_OMAP_3630SD
  
  config MACH_TI8168EVM
        bool "TI8168 Evaluation Module"
-       depends on SOC_OMAPTI816X
+       depends on SOC_OMAPTI81XX
+       default y
+ config MACH_TI8148EVM
+       bool "TI8148 Evaluation Module"
+       depends on SOC_OMAPTI81XX
        default y
  
  config MACH_OMAP_4430SDP
        depends on ARCH_OMAP4
        select OMAP_PACKAGE_CBL
        select OMAP_PACKAGE_CBS
-       select REGULATOR_FIXED_VOLTAGE
+       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
  config MACH_OMAP4_PANDA
        bool "OMAP4 Panda Board"
        depends on ARCH_OMAP4
        select OMAP_PACKAGE_CBL
        select OMAP_PACKAGE_CBS
-       select REGULATOR_FIXED_VOLTAGE
+       select REGULATOR_FIXED_VOLTAGE if REGULATOR
  
  config OMAP3_EMU
        bool "OMAP3 debugging peripherals"
@@@ -352,6 -363,27 +362,27 @@@ config OMAP3_SDRC_AC_TIMIN
          wish to say no.  Selecting yes without understanding what is
          going on could result in system crashes;
  
+ config OMAP4_ERRATA_I688
+       bool "OMAP4 errata: Async Bridge Corruption (BROKEN)"
+       depends on ARCH_OMAP4 && BROKEN
+       select ARCH_HAS_BARRIERS
+       help
+         If a data is stalled inside asynchronous bridge because of back
+         pressure, it may be accepted multiple times, creating pointer
+         misalignment that will corrupt next transfers on that data path
+         until next reset of the system (No recovery procedure once the
+         issue is hit, the path remains consistently broken). Async bridge
+         can be found on path between MPU to EMIF and MPU to L3 interconnect.
+         This situation can happen only when the idle is initiated by a
+         Master Request Disconnection (which is trigged by software when
+         executing WFI on CPU).
+         The work-around for this errata needs all the initiators connected
+         through async bridge must ensure that data path is properly drained
+         before issuing WFI. This condition will be met if one Strongly ordered
+         access is performed to the target right before executing the WFI.
+         In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
+         IO barrier ensure that there is no synchronisation loss on initiators
+         operating on both interconnect port simultaneously.
  endmenu
  
  endif
index e493877957c9884011b10414764daaf64362acba,9d25cb6c9a0d8573e379ba8a63817256ef2009f6..d32b5935233fbc0bba9e167840f41bc46d00bae4
@@@ -17,7 -17,6 +17,7 @@@
  #include <linux/i2c/twl.h>
  
  #include <mach/hardware.h>
 +#include <asm/hardware/gic.h>
  #include <asm/mach/arch.h>
  
  #include <plat/board.h>
@@@ -70,7 -69,6 +70,6 @@@ static void __init omap_generic_init(vo
        if (node)
                irq_domain_add_simple(node, 0);
  
-       omap_serial_init();
        omap_sdrc_init(NULL, NULL);
  
        of_platform_populate(NULL, omap_dt_match_table, NULL, NULL);
@@@ -92,33 -90,31 +91,32 @@@ static void __init omap3_init(void
  }
  #endif
  
- #if defined(CONFIG_SOC_OMAP2420)
+ #ifdef CONFIG_SOC_OMAP2420
  static const char *omap242x_boards_compat[] __initdata = {
        "ti,omap2420",
        NULL,
  };
  
  DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)")
-       .atag_offset    = 0x100,
        .reserve        = omap_reserve,
        .map_io         = omap242x_map_io,
        .init_early     = omap2420_init_early,
        .init_irq       = omap2_init_irq,
 +      .handle_irq     = omap2_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .timer          = &omap2_timer,
        .dt_compat      = omap242x_boards_compat,
+       .restart        = omap_prcm_restart,
  MACHINE_END
  #endif
  
- #if defined(CONFIG_SOC_OMAP2430)
+ #ifdef CONFIG_SOC_OMAP2430
  static const char *omap243x_boards_compat[] __initdata = {
        "ti,omap2430",
        NULL,
  };
  
  DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)")
-       .atag_offset    = 0x100,
        .reserve        = omap_reserve,
        .map_io         = omap243x_map_io,
        .init_early     = omap2430_init_early,
        .init_machine   = omap_generic_init,
        .timer          = &omap2_timer,
        .dt_compat      = omap243x_boards_compat,
+       .restart        = omap_prcm_restart,
  MACHINE_END
  #endif
  
- #if defined(CONFIG_ARCH_OMAP3)
+ #ifdef CONFIG_ARCH_OMAP3
  static const char *omap3_boards_compat[] __initdata = {
        "ti,omap3",
        NULL,
  };
  
  DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)")
-       .atag_offset    = 0x100,
        .reserve        = omap_reserve,
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
        .init_irq       = omap3_init_irq,
 +      .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3_init,
        .timer          = &omap3_timer,
        .dt_compat      = omap3_boards_compat,
+       .restart        = omap_prcm_restart,
  MACHINE_END
  #endif
  
- #if defined(CONFIG_ARCH_OMAP4)
+ #ifdef CONFIG_ARCH_OMAP4
  static const char *omap4_boards_compat[] __initdata = {
        "ti,omap4",
        NULL,
  };
  
  DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)")
-       .atag_offset    = 0x100,
        .reserve        = omap_reserve,
        .map_io         = omap4_map_io,
        .init_early     = omap4430_init_early,
        .init_irq       = gic_init_irq,
 +      .handle_irq     = gic_handle_irq,
        .init_machine   = omap4_init,
        .timer          = &omap4_timer,
        .dt_compat      = omap4_boards_compat,
+       .restart        = omap_prcm_restart,
  MACHINE_END
  #endif
index 734009a93857bd70f7dcdca8831c26b25fe62d62,abe156d103c31ac5e678d4978d5f949724ccded1..e289dd279783299d00186090f82f2d8d8b11460f
@@@ -14,6 -14,7 +14,7 @@@ config ARCH_OMAP
        select CLKDEV_LOOKUP
        select CLKSRC_MMIO
        select GENERIC_IRQ_CHIP
+       select IRQ_DOMAIN
        select HAVE_IDE
        select NEED_MACH_MEMORY_H
        help
@@@ -24,8 -25,6 +25,8 @@@ config ARCH_OMAP2PLU
        select CLKDEV_LOOKUP
        select GENERIC_IRQ_CHIP
        select OMAP_DM_TIMER
 +      select USE_OF
 +      select PROC_DEVICETREE
        help
          "Systems based on OMAP2, OMAP3 or OMAP4"