1. 19 7月, 2007 1 次提交
    • H
      [AVR32] CPU frequency scaling for AT32AP · 9e58e185
      Hans-Christian Egtvedt 提交于
      This patch enables CPU frequency scaling for AT32AP devices. This will
      enable the CPU to scale between the speed of the high speed bus and
      the master clock and thus save some power.
      
      The patch also adds a parent to cpu_clk and a cpu_clk_set_rate to
      enable changing the CPU clock divider in a sane way.
      
      The driver does not check if the given rate is 0, thus resulting in a
      div by 0.  I think this check should be go into the clk_set_rate
      framework, and not here.
      
      Tested on AT32AP7000/ATSTK1000.
      
      Hardware documentation can be found in the AT32AP7000 datasheet.
      Signed-off-by: NHans-Christian Egtvedt <hcegtvedt@atmel.com>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      9e58e185
  2. 27 4月, 2007 1 次提交
  3. 09 2月, 2007 1 次提交
  4. 26 9月, 2006 2 次提交
    • H
      [PATCH] AVR32 MTD: Static Memory Controller driver · bc157b75
      Haavard Skinnemoen 提交于
      This patchset adds the necessary drivers and infrastructure to access the
      external flash on the ATSTK1000 board through the MTD subsystem.  With this
      stuff in place, it will be possible to use a jffs2 filesystem stored in the
      external flash as a root filesystem.  It might also be possible to update the
      boot loader if you drop the write protection of partition 0.
      
      As suggested by David Woodhouse, I reworked the patches to use the physmap
      driver instead of introducing a separate mapping driver for the ATSTK1000.
      I've also cleaned up the hsmc header by removing useless comments and
      converting spaces to tabs (my headerfile generator needs some work.)
      
      Unfortunately, I couldn't unlock the flash in fixup_use_atmel_lock because the
      erase regions hadn't been set up yet, so I had to do it from cfi_amdstd_setup
      instead.
      
      This patch:
      
      This adds a simple API for configuring the static memory controller along with
      an implementation for the Atmel HSMC.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bc157b75
    • H
      [PATCH] avr32 architecture · 5f97f7f9
      Haavard Skinnemoen 提交于
      This adds support for the Atmel AVR32 architecture as well as the AT32AP7000
      CPU and the AT32STK1000 development board.
      
      AVR32 is a new high-performance 32-bit RISC microprocessor core, designed for
      cost-sensitive embedded applications, with particular emphasis on low power
      consumption and high code density.  The AVR32 architecture is not binary
      compatible with earlier 8-bit AVR architectures.
      
      The AVR32 architecture, including the instruction set, is described by the
      AVR32 Architecture Manual, available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32000.pdf
      
      The Atmel AT32AP7000 is the first CPU implementing the AVR32 architecture.  It
      features a 7-stage pipeline, 16KB instruction and data caches and a full
      Memory Management Unit.  It also comes with a large set of integrated
      peripherals, many of which are shared with the AT91 ARM-based controllers from
      Atmel.
      
      Full data sheet is available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf
      
      while the CPU core implementation including caches and MMU is documented by
      the AVR32 AP Technical Reference, available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf
      
      Information about the AT32STK1000 development board can be found at
      
      http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3918
      
      including a BSP CD image with an earlier version of this patch, development
      tools (binaries and source/patches) and a root filesystem image suitable for
      booting from SD card.
      
      Alternatively, there's a preliminary "getting started" guide available at
      http://avr32linux.org/twiki/bin/view/Main/GettingStarted which provides links
      to the sources and patches you will need in order to set up a cross-compiling
      environment for avr32-linux.
      
      This patch, as well as the other patches included with the BSP and the
      toolchain patches, is actively supported by Atmel Corporation.
      
      [dmccr@us.ibm.com: Fix more pxx_page macro locations]
      [bunk@stusta.de: fix `make defconfig']
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NDave McCracken <dmccr@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5f97f7f9