1. 28 2月, 2012 1 次提交
  2. 20 1月, 2012 1 次提交
    • R
      Revert "RTC: sa1100: support sa1100, pxa and mmp soc families" · a0164a57
      Russell King 提交于
      This reverts commit 7cea0065.
      
      The sa1100 cleanups fatally broke the SA1100 RTC driver - the first
      hint that something is wrong are these compiler warnings:
      
      drivers/rtc/rtc-sa1100.c:42:1: warning: "RCNR" redefined
      In file included from arch/arm/mach-sa1100/include/mach/hardware.h:73,
                       from drivers/rtc/rtc-sa1100.c:35:
      arch/arm/mach-sa1100/include/mach/SA-1100.h:877:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:43:1: warning: "RTAR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:876:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:44:1: warning: "RTSR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:879:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:45:1: warning: "RTTR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:878:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:47:1: warning: "RTSR_HZE" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:891:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:48:1: warning: "RTSR_ALE" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:890:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:49:1: warning: "RTSR_HZ" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:889:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:50:1: warning: "RTSR_AL" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:888:1: warning: this is the location of the previous definition
      
      and the second problem, which is far more severe, are the different
      register layouts, resulting in the wrong registers being read on
      SA11x0 platforms.  This patch adds:
      
      	#define RCNR           0x00    /* RTC Count Register */
      	#define RTAR           0x04    /* RTC Alarm Register */
      	#define RTSR           0x08    /* RTC Status Register */
      	#define RTTR           0x0c    /* RTC Timer Trim Register */
      
      but the SA11x0 registers are:
      
      	#define RTAR            __REG(0x90010000)  /* RTC Alarm Reg. */
      	#define RCNR            __REG(0x90010004)  /* RTC CouNt Reg. */
      	#define RTTR            __REG(0x90010008)  /* RTC Trim Reg. */
      	#define RTSR            __REG(0x90010010)  /* RTC Status Reg. */
      a0164a57
  3. 28 12月, 2011 1 次提交
  4. 18 12月, 2011 1 次提交
  5. 02 11月, 2011 1 次提交
  6. 26 7月, 2011 2 次提交
  7. 02 7月, 2011 1 次提交
  8. 09 6月, 2011 1 次提交
  9. 27 5月, 2011 6 次提交
  10. 18 5月, 2011 1 次提交
  11. 03 5月, 2011 1 次提交
  12. 23 3月, 2011 1 次提交
  13. 18 2月, 2011 1 次提交
    • J
      RTC: Revert UIE emulation removal · 6e57b1d6
      John Stultz 提交于
      Uwe pointed out that my alarm based UIE emulation is not sufficient
      to replace the older timer/polling based UIE emulation on devices
      where there is no alarm irq. This causes rtc devices without alarms
      to return -EINVAL to UIE ioctls. The fix is to re-instate the old
      timer/polling method for devices without alarm irqs.
      
      This patch reverts the following commits:
      042620a0 - Remove UIE emulation
      1daeddd5 - Cleanup removed UIE emulation declaration
      b5cc8ca1 - Remove Kconfig symbol for UIE emulation
      
      The emulation mode will still need to be wired-in with a following
      patch before it will work.
      
      CC: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
      CC: Thomas Gleixner <tglx@linutronix.de>
      Reported-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      6e57b1d6
  14. 22 1月, 2011 1 次提交
  15. 11 11月, 2010 1 次提交
  16. 29 10月, 2010 2 次提交
  17. 28 10月, 2010 2 次提交
  18. 26 10月, 2010 1 次提交
  19. 11 8月, 2010 3 次提交
  20. 05 8月, 2010 3 次提交
  21. 28 5月, 2010 1 次提交
  22. 25 5月, 2010 1 次提交
  23. 07 5月, 2010 1 次提交
  24. 08 3月, 2010 1 次提交
  25. 17 2月, 2010 1 次提交
  26. 16 12月, 2009 3 次提交