1. 06 May, 2013 1 commit
    • Arnd Bergmann's avatar
      Merge branch 'exynos/pwm-clocksource' into late/multiplatform · 241a9871
      Arnd Bergmann authored
      This series from Tomasz Figa restores support for the pwm clocksource
      in Exynos, which was broken during the conversion of the platform
      to the common clk framework. The clocksource is only used in one
      board in the mainline kernel (universal_c210), and this makes it
      work for DT based probing as well as restoring the non-DT based
      case.
      
      * exynos/pwm-clocksource:
        ARM: dts: exynops4210: really add universal_c210 dts
        ARM: dts: exynos4210: Add basic dts file for universal_c210 board
        ARM: dts: exynos4: Add node for PWM device
        ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
        clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
        clocksource: samsung_pwm_timer: Correct programming of clock events
        clocksource: samsung_pwm_timer: Use proper clockevents max_delta
        clocksource: samsung_pwm_timer: Add support for non-DT platforms
        clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct
        clocksource: samsung_pwm_timer: Keep all driver data in a structure
        clocksource: samsung_pwm_timer: Make PWM spinlock global
        clocksource: samsung_pwm_timer: Let platforms select the driver
        Documentation: Add device tree bindings for Samsung PWM timers
        clocksource: add samsung pwm timer driver
      
      Conflicts:
      	arch/arm/boot/dts/Makefile
      	arch/arm/mach-exynos/common.c
      	drivers/clocksource/Kconfig
      	drivers/clocksource/Makefile
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      241a9871
  2. 29 Apr, 2013 1 commit
  3. 28 Apr, 2013 12 commits
  4. 20 Apr, 2013 1 commit
    • Tomasz Figa's avatar
      clocksource: add samsung pwm timer driver · f1189989
      Tomasz Figa authored
      This adds a new clocksource driver for the PWM timer that is
      present in most Samsung SoCs, based on the existing driver in
      arch/arm/plat-samsung/samsung-time.c and many changes implemented by
      Tomasz Figa.
      
      Originally, the conversion of all Samsung machines to the new driver was
      planned for 3.10, but that work ended up being too late and too invasive
      just before the merge window.
      
      Unfortunately, other changes in the Exynos platform resulted in some
      Exynos4 setups, particularly the Universal C210 board to be broken. In
      order to fix that with minimum risk, so we now leave the existing pwm
      clocksource driver in place for all older platforms and use the new
      driver only for device tree enabled boards. This way, we can get the
      broken machines running again using DT descriptions.
      
      All clocksource changes were implemented by Tomasz, while the DT
      registration was rewritten by Arnd.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Tomasz Figa <t.figa@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      f1189989
  5. 19 Apr, 2013 23 commits
  6. 13 Apr, 2013 2 commits