1. 05 2月, 2015 1 次提交
  2. 18 9月, 2014 1 次提交
  3. 08 2月, 2013 3 次提交
  4. 26 1月, 2013 1 次提交
  5. 08 1月, 2013 1 次提交
    • M
      spi/pxa2xx: embed the ssp_device to platform data · 851bacf5
      Mika Westerberg 提交于
      The spi-pxa2xx-pci glue driver had to implement pxa_ssp_request()/free() in
      order to support the spi-pxa2xx platform driver. Since the ACPI enabled
      platforms can use the same platform driver we would need to implement
      pxa_ssp_request()/free() in some central place that can be shared by the
      ACPI and PCI glue code.
      
      Instead of doing that we can make pxa_ssp_request()/free() to be available
      only when CONFIG_ARCH_PXA is set. On other arches these are being stubbed
      out in preference to passing the ssp_device from the platform data
      directly.
      
      We also change the SPI bus number to be taken from ssp->port_id instead of
      platform device id. This way the supporting code that passes the ssp can
      decide the number (or it can set it to the same as pdev->id).
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      851bacf5
  6. 11 6月, 2012 1 次提交
  7. 01 12月, 2010 2 次提交
  8. 07 4月, 2009 1 次提交
  9. 07 8月, 2008 1 次提交
  10. 10 7月, 2008 1 次提交
  11. 26 1月, 2008 1 次提交
    • E
      [ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free() · 2f1a74e5
      eric miao 提交于
      1. make pxa2xx_spi.c use ssp_request() and ssp_free() to get the common
         information of the designated SSP port.
      
      2. remove those IRQ/memory request code, ssp_request() has done that for
         the driver
      
      3. the SPI platform device is thus made psuedo, no resource (memory/IRQ)
         has to be defined, all will be retreived by ssp_request()
      
      4. introduce ssp_get_clk_div() to handle controller difference in clock
         divisor setting
      
      5. use clk_xxx() API for clock enable/disable, and clk_get_rate() to
         handle the different SSP clock frequency between different processors
      Signed-off-by: Neric miao <eric.miao@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      2f1a74e5
  12. 11 12月, 2006 1 次提交
    • S
      [PATCH] spi: stabilize PIO mode transfers on PXA2xx systems · 8d94cc50
      Stephen Street 提交于
      Stabilize PIO mode transfers against a range of word sizes and FIFO
      thresholds and fixes word size setup/override issues.
      
      1) 16 and 32 bit DMA/PIO transfers broken due to timing differences.
      2) Potential for bad transfer counts due to transfer size assumptions.
      3) Setup function broken is multiple ways.
      4) Per transfer bit_per_word changes break DMA setup in pump_tranfers.
      5) False positive timeout are not errors.
      6) Changes in pxa2xx_spi_chip not effective in calls to setup.
      7) Timeout scaling wrong for PXA255 NSSP.
      8) Driver leaks memory while busy during unloading.
      
      Known issues:
      
      SPI_CS_HIGH and SPI_LSB_FIRST settings in struct spi_device are not handled.
      
      Testing:
      
      This patch has been test against the "random length, random bits/word,
      random data (verified on loopback) and stepped baud rate by octaves
      (3.6MHz to 115kHz)" test.  It is robust in PIO mode, using any
      combination of tx and rx thresholds, and also in DMA mode (which
      internally computes the thresholds).
      
      Much thanks to Ned Forrester for exhaustive reviews, fixes and testing.
      The driver is substantially better for his efforts.
      Signed-off-by: NStephen Street <stephen@streetfiresound.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8d94cc50
  13. 22 5月, 2006 1 次提交
  14. 17 5月, 2006 1 次提交