mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RESEND PATCH v2 0/3] add regmap & indirect access support
@ 2020-06-19  1:43 Xu Yilun
  2020-06-19  1:43 ` [RESEND PATCH v2 1/3] spi: altera: use regmap-mmio instead of direct mmio register access Xu Yilun
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Xu Yilun @ 2020-06-19  1:43 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 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(-)

-- 
2.7.4


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19  1:43 [RESEND PATCH v2 0/3] add regmap & indirect access support Xu Yilun
2020-06-19  1:43 ` [RESEND PATCH v2 1/3] spi: altera: use regmap-mmio instead of direct mmio register access Xu Yilun
2020-06-19  1:43 ` [RESEND PATCH v2 2/3] spi: altera: support indirect access to the registers Xu Yilun
2020-06-19  1:43 ` [RESEND PATCH v2 3/3] spi: altera: fix size mismatch on 64 bit processors Xu Yilun
2020-06-19 13:27 ` [RESEND PATCH v2 0/3] add regmap & indirect access support Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®