OSDN Git Service

Merge series "add regmap & indirect access support" from Xu Yilun <yilun.xu@intel...
authorMark Brown <broonie@kernel.org>
Fri, 19 Jun 2020 12:43:10 +0000 (13:43 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 Jun 2020 12:43:10 +0000 (13:43 +0100)
commita3944c88a744f5f45c06b13cc80b892966de72aa
treee7556919b742a5481bb7c91c92407b8da69b7b7c
parentd5fcc710a1ddb2fc56784ce302182b9be8971ccd
parentd9dd0fb0e197ae766f0f5e06d23f5f5e1888c511
Merge series "add regmap & indirect access support" from Xu Yilun <yilun.xu@intel.com>:

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