]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd95c2177613384e09584c687ab632fe3a4183130
tree1b1bb28129a953c9b1a7c82607b0a02812d8476c
parente913620c70f81b3be5e1120c8eec99bde85dad76
parent0646003cda42f8992517152fcc7a58d10eee58f4
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