spi: altera: use regmap-mmio instead of direct mmio register access
authorXu Yilun <yilun.xu@intel.com>
Fri, 19 Jun 2020 01:43:39 +0000 (09:43 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Jun 2020 11:56:04 +0000 (12:56 +0100)
commit3c6519736eefebafdf8c82d46f64b214403b5260
tree79f01a2f13756f751d4b69854a998dc13fccd325
parent539afdf969d6ad7ded543d9abf14596aec411fe9
spi: altera: use regmap-mmio instead of direct mmio register access

This patch adds support for regmap. It makes preparation for supporting
different ways to access the registers.

Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/1592531021-11412-2-git-send-email-yilun.xu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/spi-altera.c