1. 02 12月, 2008 1 次提交
    • S
      [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs · 7be90a6b
      Stelian Pop 提交于
      The AT91CAP9 revC CPU has a few differences over the previous,
      revB CPU which was distributed in small quantities only (revA was
      an internal Atmel product only).
      
      This patch adds the detection routines to recognize the different
      AT91CAP9 revisions (based on the PMC subsystem version number), and
      uses them to:
      	- activate a workaround for the external interrupts levels
      	  (on revB CPUs)
      	- set the UDPHS_BYPASS bit (on revB CPUs)
      	- set AT91_GPBR register address to the correct offset
      	  (0xfffffd50 on revB, 0xfffffd60 on revC)
      
      For debugging usage, the CPU revision can be found in /proc/cpuinfo
      on the 'Revision' line.
      
      This patch is extracted from Andrew Victor's -at91 patch (2.6.27-at91.patch)
      where it has been tested for the last 6 months.
      Signed-off-by: NStelian Pop <stelian@popies.net>
      Signed-off-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7be90a6b
  2. 07 8月, 2008 1 次提交
  3. 22 5月, 2008 1 次提交
  4. 28 4月, 2008 1 次提交
  5. 20 3月, 2008 1 次提交
  6. 07 2月, 2008 1 次提交
    • D
      rtc: at91sam9 RTC support (RTT and/or RTC) · 4cdf854f
      David Brownell 提交于
      AT91sam9 RTC support, primarily in the form of an RTT-as-RTC driver that was
      extracted from 2.6.23-at91 patch and updated:
      
       - Relies on now-merged platform updates, which associate the RTT
         hardware address with each RTT and use the "at91_rtt" name.
      
       - RTC framework related fixes and cleanups, notably:
          * removed now-needless suspend/resume clock offset logic
          * alarm read/write now respects the "enabled" flag
          * suspend always disables update irqs
          * shutdown (and startup) disables all irqs
      
       - Misc cleanup:
          * use dev_*() messaging
          * add comments
          * remove globals,
          * ... etc
      
       - Don't force use of RTT0 and GPBR0.  Either resource may need
         to be used for other purposes (like NO_HZ support).
      
       - Update "AT91RM9200 RTC" Kconfig to allow it on SAM9RL chips
         (it has both RTT and RTC).
      
      Driver binding uses bus_find_device() to avoid needing any kind of "timer
      library" code when there's more than one RTT module.  (This timer can be used
      as an RTC, to support NO_HZ operation, or potentially for other stuff.  The
      choice is a per-system policy.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Michel Benoit <murpme@gmail.com>
      Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4cdf854f