[RESEND,v2,0/3] add regmap & indirect access support
mbox series

Message ID 1592531021-11412-1-git-send-email-yilun.xu@intel.com
Headers show
Series
  • add regmap & indirect access support
Related show

Message

Xu Yilun June 19, 2020, 1:43 a.m. UTC
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(-)

Comments

Mark Brown June 19, 2020, 1:27 p.m. UTC | #1
On Fri, 19 Jun 2020 09:43:38 +0800, Xu Yilun wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] spi: altera: use regmap-mmio instead of direct mmio register access
      commit: 3c6519736eefebafdf8c82d46f64b214403b5260
[2/3] spi: altera: support indirect access to the registers
      commit: 3820061d38156d88443d32a9a6c701d281234746
[3/3] spi: altera: fix size mismatch on 64 bit processors
      commit: d9dd0fb0e197ae766f0f5e06d23f5f5e1888c511

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark