]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd07dfb9757c9b0acc831a9e805190a05fc8114c5
tree79f01a2f13756f751d4b69854a998dc13fccd325
parent75c797e2d18bc784fe041192424f6e5afe5cf777
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