1. 05 Feb, 2016 2 commits
    • Lars-Peter Clausen's avatar
      spi: Add Analog Devices AXI SPI Engine controller support · b1353d1c
      Lars-Peter Clausen authored
      This patch adds support for the AXI SPI Engine controller which is a FPGA
      soft-peripheral which is used in some of Analog Devices' reference designs.
      
      The AXI SPI Engine controller is part of the SPI Engine framework[1] and
      allows memory mapped access to the SPI Engine control bus. This allows it
      to be used as a general purpose software driven SPI controller. The SPI
      Engine in addition offers some optional advanced acceleration and
      offloading capabilities, which are not part of this patch though and will
      be introduced separately.
      
      At the core of the SPI Engine framework is a small sort of co-processor
      that accepts a command stream and turns the commands into low-level SPI
      transactions. Communication is done through three memory mapped FIFOs in
      the register map of the AXI SPI Engine peripheral. One FIFO for the command
      stream and one each for transmit and receive data.
      
      The driver translates a spi_message in a command stream and writes it to
      the peripheral which executes it asynchronously. This allows it to perform
      very precise timings which are required for some SPI slave devices to
      achieve maximum performance (e.g. analog-to-digital and digital-to-analog
      converters). The execution flow is synchronized to the host system by a
      special synchronize instruction which generates a interrupt.
      
      [1] https://wiki.analog.com/resources/fpga/peripherals/spi_engineSigned-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b1353d1c
    • Lars-Peter Clausen's avatar
      spi: axi: Add bindings documentation for Analog Devices axi-spi-engine · 2ec3b628
      Lars-Peter Clausen authored
      Add the devicetree bindings documentation for the Analog Devices
      axi-spi-engine SPI master peripheral. This is a soft-peripheral used in
      FPGAs.
      
      The external interfaces of the peripheral are:
      	* A memory mapped register map which is used to configure the
      	  peripheral.
      	* One interrupt.
      	* Two clocks, one for the memory mapped register interface and one
      	  for the SPI bus.
      	* A SPI master interface to which the slave devices are connected.
      
      These interfaces are described by the devicetree bindings accordingly.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      2ec3b628
  2. 03 Feb, 2016 1 commit
  3. 24 Jan, 2016 37 commits