mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Lattice MachXO2 Slave SPI FPGA Manager support
@ 2017-06-26 19:34 Paolo Pisati
  2017-06-26 19:34 ` [PATCH v4 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Paolo Pisati
  2017-06-26 19:34 ` [PATCH v4 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support Paolo Pisati
  0 siblings, 2 replies; 3+ messages in thread
From: Paolo Pisati @ 2017-06-26 19:34 UTC (permalink / raw)
  To: Alan Tull, Moritz Fischer, Rob Herring, Mark Rutland
  Cc: linux-fpga, devicetree, linux-kernel

Hi all,

this series adds support for the Lattice MachXO2 FPGA chip, programmed
over Slave SPI.

Tested on my raspberry pi3 + bugblat's pif2 fpga hat.

Changes from v1:
* fixed all the warnings pointed out by 'checkpatch --strict' and
  Alan Tull

Changes from v2:
* convert to BIT() macro and spi_message_init() / trans.delay_usecs

Changes in v3;
* loop unroll machxo2_write() and collate writes in a single spi_sync()

Paolo Pisati (2):
  dt: bindings: fpga: add lattice machxo2 slave spi binding description
  fpga: lattice machxo2: Add Lattice MachXO2 support

 .../bindings/fpga/lattice-machxo2-spi.txt          |  29 ++
 drivers/fpga/Kconfig                               |   7 +
 drivers/fpga/Makefile                              |   1 +
 drivers/fpga/machxo2-spi.c                         | 298 +++++++++++++++++++++
 4 files changed, 335 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt
 create mode 100644 drivers/fpga/machxo2-spi.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-26 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26 19:34 [PATCH v4 0/2] Lattice MachXO2 Slave SPI FPGA Manager support Paolo Pisati
2017-06-26 19:34 ` [PATCH v4 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Paolo Pisati
2017-06-26 19:34 ` [PATCH v4 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support Paolo Pisati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome