Merge tag 'omap-for-v3.11/fixes-for-merge-window' of git://git.kernel.org/pub/scm...
authorOlof Johansson <olof@lixom.net>
Fri, 12 Jul 2013 17:59:39 +0000 (10:59 -0700)
committerOlof Johansson <olof@lixom.net>
Fri, 12 Jul 2013 17:59:39 +0000 (10:59 -0700)
Omap fixes and minor defconfig updates that would be good to
get in before -rc1.

* tag 'omap-for-v3.11/fixes-for-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP2+: omap2plus_defconfig: Enable appended DTB support
  ARM: OMAP2+: Enable TI_EDMA in omap2plus_defconfig
  ARM: OMAP2+: omap2plus_defconfig: enable DRA752 thermal support by default
  ARM: OMAP2+: omap2plus_defconfig: enable TI bandgap driver
  ARM: OMAP2+: devices: remove duplicated include from devices.c
  ARM: OMAP3: igep0020: Set DSS pins in correct mux mode.
  ARM: OMAP2+: N900: enable N900-specific drivers even if device tree is enabled
  ARM: OMAP2+: Cocci spatch "ptr_ret.spatch"
  ARM: OMAP2+: Remove obsolete Makefile line
  ARM: OMAP5: Enable Cortex A15 errata 798181
  ARM: scu: provide inline dummy functions when SCU is not present
  ARM: OMAP4: sleep: build OMAP4 specific functions only for OMAP4
  ARM: OMAP2+: timer: initialize before using oh_name

Signed-off-by: Olof Johansson <olof@lixom.net>
Add/move/change conflicts in arch/arm/mach-omap2/Kconfig resolved.

1  2 
arch/arm/Kconfig.debug
arch/arm/configs/omap2plus_defconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-omap2/Kconfig

diff --combined arch/arm/Kconfig.debug
@@@ -510,16 -510,6 +510,16 @@@ choic
                  Say Y here if you want the debug print routines to direct
                  their output to the uart1 port on SiRFmarco devices.
  
 +      config DEBUG_STI_UART
 +              depends on ARCH_STI
 +              bool "Use StiH415/416 ASC for low-level debug"
 +              help
 +                Say Y here if you want kernel low-level debugging support
 +                on StiH415/416 based platforms like B2000, B2020.
 +                It support UART2 and SBC_UART1.
 +
 +                If unsure, say N.
 +
        config DEBUG_U300_UART
                bool "Kernel low-level debugging messages via U300 UART0"
                depends on ARCH_U300
                  of the tiles using the RS1 memory map, including all new A-class
                  core tiles, FPGA-based SMMs and software models.
  
+       config DEBUG_VEXPRESS_UART0_CRX
+               bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
+               depends on ARCH_VEXPRESS && !MMU
+               help
+                 This option selects UART0 at 0xb0090000. This is appropriate for
+                 Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
        config DEBUG_VT8500_UART0
                bool "Use UART0 on VIA/Wondermedia SoCs"
                depends on ARCH_VT8500
                  This option selects UART0 on VIA/Wondermedia System-on-a-chip
                  devices, including VT8500, WM8505, WM8650 and WM8850.
  
 -      config DEBUG_STI_UART
 -              depends on ARCH_STI
 -              bool "Use StiH415/416 ASC for low-level debug"
 -              help
 -                Say Y here if you want kernel low-level debugging support
 -                on StiH415/416 based platforms like B2000, B2020.
 -                It support UART2 and SBC_UART1.
 -
 -                If unsure, say N.
 -
        config DEBUG_LL_UART_NONE
                bool "No low-level debugging UART"
                depends on !ARCH_MULTIPLATFORM
@@@ -789,7 -796,8 +796,8 @@@ config DEBUG_LL_INCLUD
        default "debug/u300.S" if DEBUG_U300_UART
        default "debug/ux500.S" if DEBUG_UX500_UART
        default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \
-               DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1
+               DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 || \
+               DEBUG_VEXPRESS_UART0_CRX
        default "debug/vt8500.S" if DEBUG_VT8500_UART0
        default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
        default "mach/debug-macro.S"
@@@ -22,10 -22,6 +22,10 @@@ CONFIG_MODULE_SRCVERSION_ALL=
  # CONFIG_BLK_DEV_BSG is not set
  CONFIG_ARCH_MULTI_V6=y
  CONFIG_ARCH_OMAP2PLUS=y
 +CONFIG_ARCH_OMAP2=y
 +CONFIG_ARCH_OMAP3=y
 +CONFIG_ARCH_OMAP4=y
 +CONFIG_SOC_AM33XX=y
  CONFIG_OMAP_RESET_CLOCKS=y
  CONFIG_OMAP_MUX_DEBUG=y
  CONFIG_ARCH_VEXPRESS_CA9X4=y
@@@ -38,6 -34,8 +38,8 @@@ CONFIG_NR_CPUS=
  CONFIG_LEDS=y
  CONFIG_ZBOOT_ROM_TEXT=0x0
  CONFIG_ZBOOT_ROM_BSS=0x0
+ CONFIG_ARM_APPENDED_DTB=y
+ CONFIG_ARM_ATAG_DTB_COMPAT=y
  CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
  CONFIG_KEXEC=y
  CONFIG_FPE_NWFPE=y
@@@ -156,6 -154,13 +158,13 @@@ CONFIG_W1=
  CONFIG_POWER_SUPPLY=y
  CONFIG_SENSORS_LM75=m
  CONFIG_WATCHDOG=y
+ CONFIG_THERMAL=y
+ CONFIG_THERMAL_HWMON=y
+ CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
+ CONFIG_THERMAL_GOV_FAIR_SHARE=y
+ CONFIG_THERMAL_GOV_STEP_WISE=y
+ CONFIG_THERMAL_GOV_USER_SPACE=y
+ CONFIG_CPU_THERMAL=y
  CONFIG_OMAP_WATCHDOG=y
  CONFIG_TWL4030_WATCHDOG=y
  CONFIG_MFD_TPS65217=y
@@@ -242,7 -247,13 +251,13 @@@ CONFIG_RTC_DRV_TWL92330=
  CONFIG_RTC_DRV_TWL4030=y
  CONFIG_RTC_DRV_OMAP=y
  CONFIG_DMADEVICES=y
+ CONFIG_TI_EDMA=y
  CONFIG_DMA_OMAP=y
+ CONFIG_TI_SOC_THERMAL=y
+ CONFIG_TI_THERMAL=y
+ CONFIG_OMAP4_THERMAL=y
+ CONFIG_OMAP5_THERMAL=y
+ CONFIG_DRA752_THERMAL=y
  CONFIG_EXT2_FS=y
  CONFIG_EXT3_FS=y
  # CONFIG_EXT3_FS_XATTR is not set
@@@ -38,7 -38,7 +38,7 @@@ config CPU_EXYNOS421
        depends on ARCH_EXYNOS4
        select ARM_CPU_SUSPEND if PM
        select PINCTRL_EXYNOS
 -      select PM_GENERIC_DOMAINS
 +      select PM_GENERIC_DOMAINS if PM
        select S5P_PM if PM
        select S5P_SLEEP if PM
        select SAMSUNG_DMADEV
@@@ -93,7 -93,7 +93,7 @@@ config SOC_EXYNOS544
        default y
        depends on ARCH_EXYNOS5
        select ARCH_HAS_OPP
-       select ARM_ARCH_TIMER
+       select HAVE_ARM_ARCH_TIMER
        select AUTO_ZRELADDR
        select MIGHT_HAVE_PCI
        select PCI_DOMAINS if PCI
@@@ -1,10 -1,63 +1,10 @@@
  config ARCH_OMAP
        bool
  
 -config ARCH_OMAP2PLUS
 -      bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
 -      select ARCH_HAS_CPUFREQ
 -      select ARCH_HAS_BANDGAP
 -      select ARCH_HAS_HOLES_MEMORYMODEL
 -      select ARCH_OMAP
 -      select ARCH_REQUIRE_GPIOLIB
 -      select CLKDEV_LOOKUP
 -      select CLKSRC_MMIO
 -      select GENERIC_CLOCKEVENTS
 -      select GENERIC_IRQ_CHIP
 -      select HAVE_CLK
 -      select OMAP_DM_TIMER
 -      select PINCTRL
 -      select PROC_DEVICETREE if PROC_FS
 -      select SOC_BUS
 -      select SPARSE_IRQ
 -      select TI_PRIV_EDMA
 -      select USE_OF
 -      help
 -        Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
 -
 -
 -if ARCH_OMAP2PLUS
 -
 -menu "TI OMAP2/3/4 Specific Features"
 -
 -config ARCH_OMAP2PLUS_TYPICAL
 -      bool "Typical OMAP configuration"
 -      default y
 -      select AEABI
 -      select HIGHMEM
 -      select I2C
 -      select I2C_OMAP
 -      select MENELAUS if ARCH_OMAP2
 -      select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
 -      select PM_RUNTIME
 -      select REGULATOR
 -      select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
 -      select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
 -      select VFP
 -      help
 -        Compile a kernel suitable for booting most boards
 -
 -config SOC_HAS_OMAP2_SDRC
 -      bool "OMAP2 SDRAM Controller support"
 -
 -config SOC_HAS_REALTIME_COUNTER
 -      bool "Real time free running counter"
 -      depends on SOC_OMAP5
 -      default y
 -
  config ARCH_OMAP2
        bool "TI OMAP2"
 -      depends on ARCH_OMAP2PLUS
        depends on ARCH_MULTI_V6
 -      default y
 +      select ARCH_OMAP2PLUS
        select CPU_V6
        select MULTI_IRQ_HANDLER
        select SOC_HAS_OMAP2_SDRC
@@@ -12,8 -65,9 +12,8 @@@
  
  config ARCH_OMAP3
        bool "TI OMAP3"
 -      depends on ARCH_OMAP2PLUS
        depends on ARCH_MULTI_V7
 -      default y
 +      select ARCH_OMAP2PLUS
        select ARCH_HAS_OPP
        select ARM_CPU_SUSPEND if PM
        select CPU_V7
@@@ -27,8 -81,9 +27,8 @@@
  
  config ARCH_OMAP4
        bool "TI OMAP4"
 -      default y
 -      depends on ARCH_OMAP2PLUS
        depends on ARCH_MULTI_V7
 +      select ARCH_OMAP2PLUS
        select ARCH_HAS_OPP
        select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
        select ARM_CPU_SUSPEND if PM
  config SOC_OMAP5
        bool "TI OMAP5"
        depends on ARCH_MULTI_V7
 +      select ARCH_OMAP2PLUS
        select ARM_CPU_SUSPEND if PM
        select ARM_GIC
        select CPU_V7
 +      select HAVE_ARM_SCU if SMP
 +      select HAVE_ARM_TWD if LOCAL_TIMERS
        select HAVE_SMP
        select COMMON_CLK
        select HAVE_ARM_ARCH_TIMER
+       select ARM_ERRATA_798181
  
 +config SOC_AM33XX
 +      bool "AM33XX support"
 +      depends on ARCH_MULTI_V7
 +      select ARCH_OMAP2PLUS
 +      select ARM_CPU_SUSPEND if PM
 +      select CPU_V7
 +      select MULTI_IRQ_HANDLER
 +      select COMMON_CLK
 +
 +config SOC_AM43XX
 +      bool "TI AM43x"
 +      depends on ARCH_MULTI_V7
 +      select CPU_V7
 +      select ARCH_OMAP2PLUS
 +      select MULTI_IRQ_HANDLER
 +      select ARM_GIC
 +      select COMMON_CLK
 +      select MACH_OMAP_GENERIC
 +
 +config ARCH_OMAP2PLUS
 +      bool
 +      select ARCH_HAS_BANDGAP
 +      select ARCH_HAS_CPUFREQ
 +      select ARCH_HAS_HOLES_MEMORYMODEL
 +      select ARCH_OMAP
 +      select ARCH_REQUIRE_GPIOLIB
 +      select CLKDEV_LOOKUP
 +      select CLKSRC_MMIO
 +      select GENERIC_CLOCKEVENTS
 +      select GENERIC_IRQ_CHIP
 +      select HAVE_CLK
 +      select OMAP_DM_TIMER
 +      select PINCTRL
 +      select PROC_DEVICETREE if PROC_FS
 +      select SOC_BUS
 +      select SPARSE_IRQ
 +      select TI_PRIV_EDMA
 +      select USE_OF
 +      help
 +        Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
 +
 +
 +if ARCH_OMAP2PLUS
 +
 +menu "TI OMAP2/3/4 Specific Features"
 +
 +config ARCH_OMAP2PLUS_TYPICAL
 +      bool "Typical OMAP configuration"
 +      default y
 +      select AEABI
 +      select HIGHMEM
 +      select I2C
 +      select I2C_OMAP
 +      select MENELAUS if ARCH_OMAP2
 +      select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
 +      select PM_RUNTIME
 +      select REGULATOR
 +      select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
 +      select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
 +      select VFP
 +      help
 +        Compile a kernel suitable for booting most boards
 +
 +config SOC_HAS_OMAP2_SDRC
 +      bool "OMAP2 SDRAM Controller support"
 +
 +config SOC_HAS_REALTIME_COUNTER
 +      bool "Real time free running counter"
 +      depends on SOC_OMAP5
 +      default y
 +
  comment "OMAP Core Type"
        depends on ARCH_OMAP2
  
@@@ -161,6 -143,23 +162,6 @@@ config SOC_TI81X
        depends on ARCH_OMAP3
        default y
  
 -config SOC_AM33XX
 -      bool "AM33XX support"
 -      depends on ARCH_MULTI_V7
 -      default y
 -      select ARM_CPU_SUSPEND if PM
 -      select CPU_V7
 -      select MULTI_IRQ_HANDLER
 -      select COMMON_CLK
 -
 -config SOC_AM43XX
 -      bool "TI AM43x"
 -      select CPU_V7
 -      select MULTI_IRQ_HANDLER
 -      select ARM_GIC
 -      select COMMON_CLK
 -      select MACH_OMAP_GENERIC
 -
  config OMAP_PACKAGE_ZAF
         bool