Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1675059

[PATCH v4 0/2] Lattice MachXO2 Slave SPI FPGA Manager support

From Paolo Pisati <p.pisati@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/2] Lattice MachXO2 Slave SPI FPGA Manager support
Date 2017-06-26 21:40 +0200
Message-ID <tWI1A-6sb-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/2] Lattice MachXO2 Slave SPI FPGA Manager support Paolo Pisati <p.pisati@gmail.com> - 2017-06-26 21:40 +0200
  [PATCH v4 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support Paolo Pisati <p.pisati@gmail.com> - 2017-06-26 21:40 +0200

csiph-web