Skip to content

Add more configuration and regmap support for spi-altera

Xu Yilun linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6spi: altera: add 32bit data width transfer support.drivers/spi/spi-altera.c+14 -00 replies
2/6spi: altera: add SPI core parameters support via platform data.drivers/spi/spi-altera.c include/linux/spi/altera.h+46 -30 replies
3/6spi: altera: add platform data for slave information.drivers/spi/spi-altera.c include/linux/spi/altera.h+16 -00 replies
4/6spi: altera: use regmap instead of direct mmio register accessdrivers/spi/Kconfig drivers/spi/spi-altera.c include/linux/spi/altera.h+90 -204 replies
5/6spi: altera: move driver name string to header filedrivers/spi/spi-altera.c include/linux/spi/altera.h+4 -42 replies
6/6spi: altera: fix size mismatch on 64 bit processorsdrivers/spi/spi-altera.c+1 -12 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTom Rix
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Add more configuration and regmap support for spi-altera

This patchset adds platform_data for spi-altera, to enable more IP configurations, and creating specific spi client devices. It also adds regmap support, to enable the indirect access to this IP.

We have a PCIE based FPGA platform which integrates this IP to communicate with a BMC chip (Intel MAX10) over SPI. The IP is configured as 32bit data width. There is also an indirect access interface in FPGA for host to access the registers of this IP. This patchset enables this use case.

Matthew Gerlach (1):
spi: altera: fix size mismatch on 64 bit processors

Xu Yilun (5):
spi: altera: add 32bit data width transfer support.
spi: altera: add SPI core parameters support via platform data.
spi: altera: add platform data for slave information.
spi: altera: use regmap instead of direct mmio register access
spi: altera: move driver name string to header file

 drivers/spi/Kconfig        |   1 +
 drivers/spi/spi-altera.c   | 161 +++++++++++++++++++++++++++++++++++++--------
 include/linux/spi/altera.h |  37 +++++++++++
 3 files changed, 171 insertions(+), 28 deletions(-)
 create mode 100644 include/linux/spi/altera.h
Signature · 1 line
2.7.4