Merge series "Add more configuration and regmap support for spi-altera" from Xu Yilun...
authorMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 23:38:40 +0000 (00:38 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 23:38:40 +0000 (00:38 +0100)
commit731f1e71f2655caf611540d43bfee3bb0b481f4e
tree1b1bb28129a953c9b1a7c82607b0a02812d8476c
parente8510d43f219beff1f426080049a5462148afd2f
parent1fccd182a4694a848f2d6f3b1820d6fc71d9c99d
Merge series "Add more configuration and regmap support for spi-altera" from Xu Yilun <yilun.xu@intel.com>:

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

--
2.7.4