]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'v3.12-pwm-cleanup-for-olof' of git://github.com/tom3q/linux into next...
authorOlof Johansson <olof@lixom.net>
Wed, 14 Aug 2013 06:33:07 +0000 (23:33 -0700)
committerOlof Johansson <olof@lixom.net>
Wed, 14 Aug 2013 06:33:07 +0000 (23:33 -0700)
From Tomasz Figa:
Here is the Samsung PWM cleanup series. Particular patches of the series
involve following modifications:
 - fixing up few things in samsung_pwm_timer clocksource driver,
 - moving remaining Samsung platforms to the new clocksource driver,
 - removing old clocksource driver,
 - adding new multiplatform- and DT-aware PWM driver,
 - moving all Samsung platforms to use the new PWM driver,
 - removing old PWM driver,
 - removing all PWM-related code that is not used anymore.

* tag 'v3.12-pwm-cleanup-for-olof' of git://github.com/tom3q/linux: (684 commits)
  ARM: SAMSUNG: Remove plat/regs-timer.h header
  ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header
  ARM: SAMSUNG: Remove pwm-clock infrastructure
  ARM: SAMSUNG: Remove old PWM timer platform devices
  pwm: Remove superseded pwm-samsung-legacy driver
  ARM: SAMSUNG: Modify board files to use new PWM platform device
  ARM: SAMSUNG: Rework private data handling in dev-backlight
  pwm: Add new pwm-samsung driver
  pwm: samsung: Rename to pwm-samsung-legacy
  ARM: SAMSUNG: Remove unused PWM timer IRQ chip code
  ARM: SAMSUNG: Remove old samsung-time driver
  ARM: SAMSUNG: Move all platforms to new clocksource driver
  ARM: SAMSUNG: Set PWM platform data
  ARM: SAMSUNG: Add new PWM platform device
  ARM: SAMSUNG: Unify base address definitions of timer block
  clocksource: samsung_pwm_timer: Handle suspend/resume correctly
  clocksource: samsung_pwm_timer: Do not use clocksource_mmio
  clocksource: samsung_pwm_timer: Cache clocksource register address
  clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit
  clocksource: samsung_pwm_timer: Do not request PWM mem region
  + v3.11-rc4

Conflicts:
arch/arm/Kconfig.debug

Signed-off-by: Olof Johansson <olof@lixom.net>
1  2 
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/mach-omap2/Kconfig

diff --combined arch/arm/Kconfig
index 944fd5ae44cb81986173471d83e24c7e7df634c8,36a0e2a5c8294f4282faec32ed0e372a4d596656..39119d64287ca06806805dbf60534e479540356e
@@@ -20,7 -20,6 +20,6 @@@ config AR
        select GENERIC_STRNCPY_FROM_USER
        select GENERIC_STRNLEN_USER
        select HARDIRQS_SW_RESEND
-       select HAVE_AOUT
        select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_SECCOMP_FILTER
@@@ -218,7 -217,8 +217,8 @@@ config VECTORS_BAS
        default DRAM_BASE if REMAP_VECTORS_TO_RAM
        default 0x00000000
        help
-         The base address of exception vectors.
+         The base address of exception vectors.  This must be two pages
+         in size.
  
  config ARM_PATCH_PHYS_VIRT
        bool "Patch physical to virtual translations at runtime" if EMBEDDED
@@@ -630,7 -630,6 +630,7 @@@ config ARCH_MS
        bool "Qualcomm MSM"
        select ARCH_REQUIRE_GPIOLIB
        select CLKDEV_LOOKUP
 +      select CLKSRC_OF if OF
        select COMMON_CLK
        select GENERIC_CLOCKEVENTS
        help
@@@ -646,7 -645,7 +646,7 @@@ config ARCH_SHMOBIL
        select CLKDEV_LOOKUP
        select GENERIC_CLOCKEVENTS
        select HAVE_ARM_SCU if SMP
 -      select HAVE_ARM_TWD if LOCAL_TIMERS
 +      select HAVE_ARM_TWD if SMP
        select HAVE_CLK
        select HAVE_MACH_CLKDEV
        select HAVE_SMP
@@@ -701,7 -700,7 +701,7 @@@ config ARCH_S3C24X
        select ARCH_HAS_CPUFREQ
        select ARCH_REQUIRE_GPIOLIB
        select CLKDEV_LOOKUP
-       select CLKSRC_MMIO
+       select CLKSRC_SAMSUNG_PWM
        select GENERIC_CLOCKEVENTS
        select GPIO_SAMSUNG
        select HAVE_CLK
@@@ -724,7 -723,7 +724,7 @@@ config ARCH_S3C64X
        select ARCH_REQUIRE_GPIOLIB
        select ARM_VIC
        select CLKDEV_LOOKUP
-       select CLKSRC_MMIO
+       select CLKSRC_SAMSUNG_PWM
        select CPU_V6
        select GENERIC_CLOCKEVENTS
        select GPIO_SAMSUNG
        select SAMSUNG_ATAGS
        select SAMSUNG_CLKSRC
        select SAMSUNG_GPIOLIB_4BIT
-       select SAMSUNG_IRQ_VIC_TIMER
        select SAMSUNG_WDT_RESET
        select USB_ARCH_HAS_OHCI
        help
  config ARCH_S5P64X0
        bool "Samsung S5P6440 S5P6450"
        select CLKDEV_LOOKUP
-       select CLKSRC_MMIO
+       select CLKSRC_SAMSUNG_PWM
        select CPU_V6
        select GENERIC_CLOCKEVENTS
        select GPIO_SAMSUNG
@@@ -768,7 -766,7 +767,7 @@@ config ARCH_S5PC10
        bool "Samsung S5PC100"
        select ARCH_REQUIRE_GPIOLIB
        select CLKDEV_LOOKUP
-       select CLKSRC_MMIO
+       select CLKSRC_SAMSUNG_PWM
        select CPU_V7
        select GENERIC_CLOCKEVENTS
        select GPIO_SAMSUNG
@@@ -788,7 -786,7 +787,7 @@@ config ARCH_S5PV21
        select ARCH_HAS_HOLES_MEMORYMODEL
        select ARCH_SPARSEMEM_ENABLE
        select CLKDEV_LOOKUP
-       select CLKSRC_MMIO
+       select CLKSRC_SAMSUNG_PWM
        select CPU_V7
        select GENERIC_CLOCKEVENTS
        select GPIO_SAMSUNG
@@@ -1585,14 -1583,23 +1584,13 @@@ config ARM_PSC
          0022A ("Power State Coordination Interface System Software on
          ARM processors").
  
 -config LOCAL_TIMERS
 -      bool "Use local timer interrupts"
 -      depends on SMP
 -      default y
 -      help
 -        Enable support for local timers on SMP platforms, rather then the
 -        legacy IPI broadcast method.  Local timers allows the system
 -        accounting to be spread across the timer interval, preventing a
 -        "thundering herd" at every timer tick.
 -
  # The GPIO number here must be sorted by descending number. In case of
  # a multiplatform kernel, we just want the highest value required by the
  # selected platforms.
  config ARCH_NR_GPIO
        int
        default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
-       default 512 if SOC_OMAP5
-       default 512 if ARCH_KEYSTONE
+       default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5
        default 392 if ARCH_U8500
        default 352 if ARCH_VT8500
        default 288 if ARCH_SUNXI
diff --combined arch/arm/Kconfig.debug
index 4a62a8d4f3b686fe077317c5b7bab468825e9b8e,583f4a00ec3210bf6cb3cf58dac4ae7ac8a2807c..15337833d05d4580005edb879d0dde262b7c4f1b
@@@ -777,11 -777,6 +777,11 @@@ config DEBUG_LL_INCLUD
                                 DEBUG_IMX6SL_UART
        default "debug/keystone.S" if DEBUG_KEYSTONE_UART0 || \
                                      DEBUG_KEYSTONE_UART1
 +      default "debug/msm.S" if DEBUG_MSM_UART1 || \
 +                               DEBUG_MSM_UART2 || \
 +                               DEBUG_MSM_UART3 || \
 +                               DEBUG_MSM8660_UART || \
 +                               DEBUG_MSM8960_UART
        default "debug/mvebu.S" if DEBUG_MVEBU_UART || \
                                   DEBUG_MVEBU_UART_ALTERNATE
        default "debug/mxs.S" if DEBUG_IMX23_UART || DEBUG_IMX28_UART
  
  config DEBUG_UNCOMPRESS
        bool
-       default y if (ARCH_MULTIPLATFORM || ARCH_MSM) && DEBUG_LL && \
-                    !DEBUG_OMAP2PLUS_UART && \
 -      depends on ARCH_MULTIPLATFORM
++      depends on ARCH_MULTIPLATFORM || ARCH_MSM
+       default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
                     !DEBUG_TEGRA_UART
+       help
+         This option influences the normal decompressor output for
+         multiplatform kernels.  Normally, multiplatform kernels disable
+         decompressor output because it is not possible to know where to
+         send the decompressor output.
+         When this option is set, the selected DEBUG_LL output method
+         will be re-used for normal decompressor output on multiplatform
+         kernels.
+         
  
  config UNCOMPRESS_INCLUDE
        string
 -      default "debug/uncompress.h" if ARCH_MULTIPLATFORM
 +      default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM
        default "mach/uncompress.h"
  
  config EARLY_PRINTK
index 3d6ee149d3d79753bc039f087acaa8a4cce61a19,3eed0006d189c0c0e88412485dba67e1800b2d6e..76170dd4d88f9a3aaec6af51c86c287bf67c69d3
@@@ -37,8 -37,9 +37,8 @@@ config ARCH_OMAP
        select CACHE_L2X0
        select CPU_V7
        select HAVE_ARM_SCU if SMP
 -      select HAVE_ARM_TWD if LOCAL_TIMERS
 +      select HAVE_ARM_TWD if SMP
        select HAVE_SMP
 -      select LOCAL_TIMERS if SMP
        select OMAP_INTERCONNECT
        select PL310_ERRATA_588369
        select PL310_ERRATA_727915
@@@ -61,7 -62,7 +61,7 @@@ config SOC_OMAP
        select HAVE_SMP
        select COMMON_CLK
        select HAVE_ARM_ARCH_TIMER
-       select ARM_ERRATA_798181
+       select ARM_ERRATA_798181 if SMP
  
  config SOC_AM33XX
        bool "AM33XX support"