This patchset looks good to me. Reviewed-by: Tom Rix <trix@xxxxxxxxxx> Thanks, Tom On 6/10/20 8:25 PM, Xu Yilun wrote: > 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 >