linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] add regmap & indirect access support
@ 2020-06-18 15:25 Xu Yilun
  2020-06-18 15:25 ` [PATCH v2 4/6] spi: altera: use regmap-mmio instead of direct mmio register access Xu Yilun
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Xu Yilun @ 2020-06-18 15:25 UTC (permalink / raw)
  To: broonie, linux-spi, linux-kernel
  Cc: trix, yilun.xu, hao.wu, matthew.gerlach, russell.h.weight

Updated the regmap & indirect access support for spi-altera.

Patch #1, #2, #3 is already applied.
Patch #4 is an 1:1 replacement of of readl/writel with regmap_read/write
Patch #5 introduced a new platform_device_id to support indirect access as
         a sub device.
Patch #6 is a minor fix.

Main changes from v1: 
 - Split the v1 Patch #4 to v2 Patch #4 & #5. 
 - Add a new platform_device_id to support indirect access.
 - Removed the v1 Patch #5. Now we use driver name string directly.
 - Add Yilun's Signed-off-by for Patch #6


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-mmio instead of direct mmio register access
  spi: altera: support indirect access to the registers

 drivers/spi/Kconfig        |   1 +
 drivers/spi/spi-altera.c   | 177 +++++++++++++++++++++++++++++++++++++++------
 include/linux/spi/altera.h |  29 ++++++++
 3 files changed, 183 insertions(+), 24 deletions(-)
 create mode 100644 include/linux/spi/altera.h

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-19  1:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 15:25 [PATCH v2 0/6] add regmap & indirect access support Xu Yilun
2020-06-18 15:25 ` [PATCH v2 4/6] spi: altera: use regmap-mmio instead of direct mmio register access Xu Yilun
2020-06-18 15:25 ` [PATCH v2 5/6] spi: altera: support indirect access to the registers Xu Yilun
2020-06-18 15:25 ` [PATCH v2 6/6] spi: altera: fix size mismatch on 64 bit processors Xu Yilun
2020-06-18 15:35 ` [PATCH v2 0/6] add regmap & indirect access support Mark Brown
2020-06-19  1:23   ` Xu Yilun
2020-06-18 19:46 ` Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).