1. 03 3月, 2010 1 次提交
  2. 28 12月, 2009 2 次提交
  3. 16 12月, 2009 1 次提交
  4. 04 11月, 2009 2 次提交
  5. 07 10月, 2009 1 次提交
  6. 27 8月, 2009 1 次提交
    • P
      avr32: function for independently setting up SPI slaves · 07084203
      Peter Ma 提交于
      at32ap_spi_setup_slaves() is exposed to allow the addition of SPI slaves
      to a SPI bus that has already been registered.  This is especially
      useful for add-on cards, which have their own board setup function.
      at32ap_spi_add_device() has been slightly re-organized, but should be
      transparent to existing users.
      
      So to add a SPI slave, after a SPI bus has already been registered:
      
      	/* Configure the list of slaves on SPI controller "id" */
      	at32_spi_setup_slaves(id,spi_board_info,ARRAY_SIZE(spi_board_info));
       	/* Register the list of slaves */
       	spi_register_board_info(spi_board_info,ARRAY_SIZE(spi_board_info));
      Signed-off-by: NPeter Ma <pma@mediamatech.com>
      [haavard.skinnemoen@atmel.com: trivial whitespace fix]
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      07084203
  7. 03 6月, 2009 1 次提交
  8. 07 4月, 2009 1 次提交
  9. 01 4月, 2009 1 次提交
  10. 27 3月, 2009 2 次提交
  11. 26 3月, 2009 3 次提交
  12. 17 2月, 2009 1 次提交
  13. 07 1月, 2009 2 次提交
  14. 05 1月, 2009 4 次提交
    • N
      atmel-mci: move atmel-mci.h file to include/linux · c42aa775
      Nicolas Ferre 提交于
      Needed to use the atmel-mci driver in an architecture
      independant maner.
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      c42aa775
    • A
      avr32: Hammerhead board support · dd5e1339
      Alex Raimondi 提交于
      The Hammerhead platform is built around a AVR32 32-bit microcontroller
      from Atmel.  It offers versatile peripherals, such as ethernet, usb
      device, usb host etc.
      
      The board also incooperates a power supply and is a Power over Ethernet
      (PoE) Powered Device (PD).
      
      Additonally, a Cyclone III FPGA from Altera is integrated on the board.
      The FPGA is mapped into the 32-bit AVR memory bus. The FPGA offers two
      DDR2 SDRAM interfaces, which will cover even the most exceptional need
      of memory bandwidth. Together with the onboard video decoder the board
      is ready for video processing.
      
      This patch does include the basic support for the fpga device driver,
      but not the device driver itself.
      Signed-off-by: NAlex Raimondi <mailinglist@miromico.ch>
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      dd5e1339
    • A
      avr32: Allow reserving multiple pins at once · adde42b5
      Alex Raimondi 提交于
      at32_reserve_pin now takes an u32 bitmask rather than a single pin.
      This allows to reserve multiple pins at once.
      
      Remove (undocumented) SDCS (pin PE26) from reservation in board
      setup code.
      Signed-off-by: NAlex Raimondi <raimondi@miromico.ch>
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      adde42b5
    • K
      avr: struct device - replace bus_id with dev_name(), dev_set_name() · 5f6333bd
      Kay Sievers 提交于
      (I did not compile or test it, please let me know, or help fixing
       it, if something is wrong with the conversion)
      
      This patch is part of a larger patch series which will remove
      the "char bus_id[20]" name string from struct device. The device
      name is managed in the kobject anyway, and without any size
      limitation, and just needlessly copied into "struct device".
      
      To set and read the device name dev_name(dev) and dev_set_name(dev)
      must be used. If your code uses static kobjects, which it shouldn't
      do, "const char *init_name" can be used to statically provide the
      name the registered device should have. At registration time, the
      init_name field is cleared, to enforce the use of dev_name(dev) to
      access the device name at a later time.
      
      We need to get rid of all occurrences of bus_id in the entire tree
      to be able to enable the new interface. Please apply this patch,
      and possibly convert any remaining remaining occurrences of bus_id.
      
      We want to submit a patch to -next, which will remove bus_id from
      "struct device", to find the remaining pieces to convert, and finally
      switch over to the new api, which will remove the 20 bytes array
      and does no longer have a size limitation.
      
      Thanks,
      Kay
      
      From: Kay Sievers <kay.sievers@vrfy.org>
      Subject: avr: struct device - replace bus_id with dev_name(), dev_set_name()
      
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      5f6333bd
  15. 24 10月, 2008 1 次提交
  16. 23 10月, 2008 3 次提交
  17. 16 10月, 2008 2 次提交
  18. 13 10月, 2008 1 次提交
  19. 12 10月, 2008 1 次提交
  20. 06 10月, 2008 3 次提交
    • H
      atmel-mci: Add experimental DMA support · 65e8b083
      Haavard Skinnemoen 提交于
      This adds support for DMA transfers through the generic DMA engine
      framework with the DMA slave extensions.
      
      The driver has been tested using mmc-block and ext3fs on several SD,
      SDHC and MMC+ cards. Reads and writes work fine, with read transfer
      rates up to 7.5 MiB/s on fast cards with debugging disabled.
      
      Unfortunately, the driver has been known to lock up from time to time
      with DMA enabled, so DMA support is currently optional and marked
      EXPERIMENTAL. However, I didn't see any problems while testing 13
      different cards (MMC, SD and SDHC of different brands and sizes), so I
      suspect the "Initialize BLKR before sending data transfer command" fix
      that was posted earlier fixed this as well.
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      65e8b083
    • H
      atmel-mci: Platform code for supporting multiple mmc slots · 6b918657
      Haavard Skinnemoen 提交于
      Add the necessary platform infrastructure to support multiple mmc/sdcard
      slots all at once through a single controller. Currently, the driver
      will use the first valid slot it finds and stick with that, but later
      patches will add support for switching between several slots on the fly.
      
      Extend the platform data structure with per-slot information: MMC/SDcard
      bus width and card detect/write protect pins. This will affect the pin
      muxing as well as the capabilities announced to the mmc core.
      
      Note that board code is now required to supply a mci_platform_data
      struct to at32_add_device_mci().
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      6b918657
    • A
      avr32: Replace static clock list with dynamic linked list · 300bb762
      Alex Raimondi 提交于
      This replaces the at32_clock_list array with a linked list.
      Clocks can now be registered (added) to the list.
      Signed-off-by: NAlex Raimondi <raimondi@miromico.ch>
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      300bb762
  21. 22 9月, 2008 5 次提交
  22. 01 9月, 2008 1 次提交