1. 17 9月, 2009 1 次提交
    • M
      rtc: Add support for RTCs on Wolfson WM831x devices · 35c86bf6
      Mark Brown 提交于
      The WM831x series of PMICs contain RTC functionality. The hardware
      provides a 32 bit counter incrementing at 1Hz together with a per
      tick interrupt and an alarm value. For simplicity the driver chooses
      to define the epoch for the counter as the Unix epoch - if required
      platform data can be used in future to customise this.
      
      When powered on from a completely cold state the RTC reports that it
      has not been configured - when this happens an error is returned
      when attempting to read the RTC in order to avoid use of values we
      know to be invalid.
      
      The hardware also provides security features which mean that it can
      ignore attempts to set the RTC time in certain circumstances, most
      notably if the RTC is written to too often. These errors are detected
      by verifying the written RTC value.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      35c86bf6
  2. 19 6月, 2009 1 次提交
  3. 27 4月, 2009 1 次提交
  4. 16 4月, 2009 1 次提交
  5. 03 4月, 2009 1 次提交
  6. 02 4月, 2009 4 次提交
  7. 01 4月, 2009 2 次提交
  8. 06 2月, 2009 1 次提交
  9. 11 1月, 2009 1 次提交
  10. 07 1月, 2009 6 次提交
  11. 05 1月, 2009 1 次提交
  12. 13 11月, 2008 3 次提交
  13. 22 10月, 2008 1 次提交
  14. 21 10月, 2008 1 次提交
  15. 17 10月, 2008 3 次提交
  16. 15 10月, 2008 2 次提交
  17. 11 10月, 2008 1 次提交
  18. 23 9月, 2008 1 次提交
    • A
      drivers/rtc/Kconfig: don't build rtc-cmos.o on sparc32 · 5ec87708
      Andrew Morton 提交于
      Fix for linux-next's
      
      : Author: David S. Miller <davem@davemloft.net>  2008-08-28 19:54:17
      : Committer: David S. Miller <davem@davemloft.net>  2008-08-29 14:16:45
      : Parent: 7f604599 (Blackfin RTC Driver: BF561 not have on-chip RTC)
      : Child:  cca4c231 (rtc: Add TI BQ4802 RTC driver.)
      : Branches: git-alsa-tiwai, linux-next
      : Follows: v2.6.27-rc4
      : Precedes: next-20080902
      : 
      :     rtc: Allow RTC_DRV_CMOS to be used on SPARC.
      
      
      In file included from drivers/rtc/rtc-cmos.c:40:
      include/asm-generic/rtc.h: In function 'rtc_is_updating':
      include/asm-generic/rtc.h:40: error: 'rtc_port' undeclared (first use in this function)
      include/asm-generic/rtc.h:40: error: (Each undeclared identifier is reported only once
      include/asm-generic/rtc.h:40: error: for each function it appears in.)
      include/asm-generic/rtc.h: In function 'get_rtc_time':
      include/asm-generic/rtc.h:73: error: 'rtc_port' undeclared (first use in this function)
      include/asm-generic/rtc.h: In function 'set_rtc_time':
      include/asm-generic/rtc.h:160: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_read_alarm':
      drivers/rtc/rtc-cmos.c:193: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_checkintr':
      drivers/rtc/rtc-cmos.c:255: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_irq_enable':
      drivers/rtc/rtc-cmos.c:272: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_irq_disable':
      drivers/rtc/rtc-cmos.c:292: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_set_alarm':
      drivers/rtc/rtc-cmos.c:337: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_irq_set_freq':
      drivers/rtc/rtc-cmos.c:378: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_procfs':
      drivers/rtc/rtc-cmos.c:455: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_nvram_read':
      drivers/rtc/rtc-cmos.c:519: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_nvram_write':
      drivers/rtc/rtc-cmos.c:551: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_interrupt':
      drivers/rtc/rtc-cmos.c:588: error: 'rtc_port' undeclared (first use in this function)
      drivers/rtc/rtc-cmos.c: In function 'cmos_do_probe':
      drivers/rtc/rtc-cmos.c:722: error: 'rtc_port' undeclared (first use in this function)
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ec87708
  19. 04 9月, 2008 1 次提交
  20. 30 8月, 2008 4 次提交
  21. 21 8月, 2008 1 次提交
  22. 25 7月, 2008 2 次提交