Skip to content

add regmap & indirect access support

Xu Yilun linux-spi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 1 replyIn review
  2. v2 posting 1/23 of 6 patches 3 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: altera: use regmap-mmio instead of direct mmio register accessdrivers/spi/Kconfig drivers/spi/spi-altera.c+73 -190 replies
2/3spi: altera: support indirect access to the registersdrivers/spi/spi-altera.c+47 -150 replies
3/3spi: altera: fix size mismatch on 64 bit processorsdrivers/spi/spi-altera.c+1 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchTom Rix
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [RESEND PATCH v2 0/3] add regmap & indirect access support

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

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

Main changes from v1:
- Split the regmap supporting patch to 2 patches.
- Add a new platform_device_id to support indirect access.
- Removed the v1 patch "move driver name string to header file". Now we use driver name string directly.
- Add Yilun's Signed-off-by for Patch #3.
- Add Tom's Reviewed-by.

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

Xu Yilun (2):
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 | 127 +++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 107 insertions(+), 21 deletions(-)
Signature · 1 line
2.7.4