1. 25 4月, 2014 1 次提交
  2. 07 4月, 2014 1 次提交
  3. 26 3月, 2014 1 次提交
  4. 15 3月, 2014 1 次提交
  5. 13 3月, 2014 1 次提交
  6. 11 3月, 2014 2 次提交
  7. 27 2月, 2014 2 次提交
    • G
      spi: sh-msiof: Add support for R-Car H2 and M2 · beb74bb0
      Geert Uytterhoeven 提交于
      Add support for the MSIOF variant in the R-Car H2 (r8a7790) and M2
      (r8a7791) SoCs.
      
      Binding documentation:
        - Add future-proof "renesas,msiof-<soctype>" compatible values,
        - The default for "renesas,rx-fifo-size" is 256 on R-Car H2 and M2,
        - "renesas,tx-fifo-size" and "renesas,rx-fifo-size" are deprecated for
          soctype-specific bindings,
        - Add example bindings.
      
      Implementation:
        - MSIOF on R-Car H2 and M2 requires the transmission of dummy data if
          data is being received only (cfr. "Set SICTR.TSCKE to 1" and "Write
          dummy transmission data to SITFDR" in paragraph "Transmit and Receive
          Procedures" of the Hardware User's Manual).
        - As RX depends on TX, MSIOF on R-Car H2 and M2 also lacks the RSCR
          register (Receive Clock Select Register), and some bits in the RMDR1
          (Receive Mode Register 1) and TMDR2 (Transmit Mode Register 2)
          registers.
        - Use the recently introduced SPI_MASTER_MUST_TX flag to enable support
          for dummy transmission in the SPI core, and to differentiate from other
          MSIOF implementations in code paths that need this.
        - New DT compatible values ("renesas,msiof-r8a7790" and
          "renesas,msiof-r8a7791") are added, as well as new platform device
          names ("spi_r8a7790_msiof" and "spi_r8a7791_msiof").
        - The default RX FIFO size is 256 words on R-Car H2 and M2.
      
      This is loosely based on a set of patches from Takashi Yoshii
      <takasi-y@ops.dti.ne.jp>.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@linux-m68k.org>
      Acked-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      beb74bb0
    • G
      spi: sh-msiof: Improve bindings · 32d3b2d1
      Geert Uytterhoeven 提交于
      Documentation:
        - Add missing "interrupt-parent", "#address-cells", "#size-cells", and
          "clocks" properties,
        - Add missing default values for "num-cs", "renesas,tx-fifo-size" and
          "renesas,rx-fifo-size",
        - Add a reference to the pinctrl documentation.
      
      Implementation:
        - As "num-cs" is marked optional, provide a sensible default.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@linux-m68k.org>
      Acked-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      32d3b2d1
  8. 23 2月, 2014 3 次提交
  9. 19 2月, 2014 1 次提交
  10. 16 2月, 2014 1 次提交
  11. 08 2月, 2014 1 次提交
  12. 05 2月, 2014 1 次提交
  13. 30 1月, 2014 1 次提交
  14. 19 12月, 2013 1 次提交
  15. 12 12月, 2013 3 次提交
  16. 10 12月, 2013 1 次提交
  17. 03 12月, 2013 1 次提交
  18. 15 11月, 2013 1 次提交
  19. 25 10月, 2013 1 次提交
  20. 01 9月, 2013 1 次提交
    • W
      spi: quad: fix the name of DT property · a110f93d
      wangyuhang 提交于
      spi: quad: fix the name of DT property in patch
      
      The previous property name spi-tx-nbits and spi-rx-nbits looks not
      human-readable. To make it consistent with other devices, using property
      name spi-tx-bus-width and spi-rx-bus-width instead of the previous one
      specify the number of data wires that spi controller will work in.
      Add the specification in spi-bus.txt.
      Signed-off-by: Nwangyuhang <wangyuhang2014@gmail.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      a110f93d
  21. 30 8月, 2013 1 次提交
  22. 27 8月, 2013 1 次提交
  23. 22 8月, 2013 2 次提交
    • S
      spi/qspi: Add qspi flash controller · 505a1495
      Sourav Poddar 提交于
      The patch add basic support for the quad spi controller.
      
      QSPI is a kind of spi module that allows single,
      dual and quad read access to external spi devices. The module
      has a memory mapped interface which provide direct interface
      for accessing data form external spi devices.
      
      The patch will configure controller clocks, device control
      register and for defining low level transfer apis which
      will be used by the spi framework to transfer data to
      the slave spi device(flash in this case).
      
      Test details:
      -------------
      Tested this on dra7 board.
      Test1: Ran mtd_stesstest for 40000 iterations.
         - All iterations went through without failure.
      Test2: Use mtd utilities:
        - flash_erase to erase the flash device
        - mtd_debug read to read data back.
        - mtd_debug write to write to the data flash.
       diff between the write and read data shows zero.
      
      Acked-by: Felipe Balbi<balbi@ti.com>
      Reviewed-by: Felipe Balbi<balbi@ti.com>
      Signed-off-by: NSourav Poddar <sourav.poddar@ti.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      505a1495
    • C
      Documentation: DT: Add Freescale DSPI driver · 9cbd72e5
      Chao Fu 提交于
      This patch adds the document for DSPI driver under
      Documentation/devicetree/bindings/spi/.
      Signed-off-by: NChao Fu <b44548@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9cbd72e5
  24. 10 8月, 2013 1 次提交
  25. 24 6月, 2013 1 次提交
  26. 28 5月, 2013 1 次提交
  27. 18 4月, 2013 1 次提交
  28. 16 4月, 2013 1 次提交
  29. 07 4月, 2013 3 次提交
  30. 04 4月, 2013 1 次提交
  31. 13 3月, 2013 1 次提交
    • C
      spi: add driver for BCM2835 · f8043872
      Chris Boot 提交于
      The BCM2835 contains two forms of SPI master controller (one known
      simply as SPI0, and the other known as the "Universal SPI Master", in
      the auxilliary block) and one form of SPI slave controller. This patch
      adds support for the SPI0 controller.
      
      This driver is taken from Chris Boot's repository at
      git://github.com/bootc/linux.git rpi-linear
      as of commit 6de2905 "spi-bcm2708: fix printf with spurious %s".
      In the first SPI-related commit there, Chris wrote:
      
      Thanks to csoutreach / A Robinson for his driver which I used as an
      inspiration. You can find his version here:
      http://piface.openlx.org.uk/raspberry-pi-spi-kernel-driver-available-for
      
      Changes made during upstreaming:
      * Renamed bcm2708 to bcm2835 as per upstream naming for this SoC.
      * Removed support for brcm,realtime property.
      * Increased transfer timeout to 30 seconds.
      * Return IRQ_NONE from the IRQ handler if no interrupt was handled.
      * Disable TA (Transfer Active) and clear FIFOs on a transfer timeout.
      * Wrote device tree binding documentation.
      * Request unnamed clock rather than "sys_pclk"; the DT will provide the
        correct clock.
      * Assume that tfr->speed_hz and tfr->bits_per_word are always set in
        bcm2835_spi_start_transfer(), bcm2835_spi_transfer_one(), so no need
        to check spi->speed_hz or tft->bits_per_word.
      * Re-ordered probe() to remove the need for temporary variables.
      * Call clk_disable_unprepare() rather than just clk_unprepare() on probe()
        failure.
      * Don't use devm_request_irq(), to ensure that the IRQ doesn't fire after
        we've torn down the device, but not unhooked the IRQ.
      * Moved probe()'s call to clk_prepare_enable() so we can be sure the clock
        is enabled if the IRQ handler fires immediately.
      * Remove redundant checks from bcm2835_spi_check_transfer() and
        bcm2835_spi_setup().
      * Re-ordered IRQ handler to check for RXR before DONE. Added comments to
        ISR.
      * Removed empty prepare/unprepare implementations.
      * Removed use of devinit/devexit.
      * Added BCM2835_ prefix to defines.
      Signed-off-by: NChris Boot <bootc@bootc.net>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f8043872