diff options
author | Xu Yilun <yilun.xu@intel.com> | 2020-06-19 09:43:39 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-19 12:56:04 +0100 |
commit | 3c6519736eefebafdf8c82d46f64b214403b5260 (patch) | |
tree | 79f01a2f13756f751d4b69854a998dc13fccd325 /drivers/spi/Kconfig | |
parent | 539afdf969d6ad7ded543d9abf14596aec411fe9 (diff) | |
download | linux-stable-3c6519736eefebafdf8c82d46f64b214403b5260.tar.gz linux-stable-3c6519736eefebafdf8c82d46f64b214403b5260.tar.bz2 linux-stable-3c6519736eefebafdf8c82d46f64b214403b5260.zip |
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>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 357810d6ec2d..4e4513a2006e 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -59,6 +59,7 @@ comment "SPI Master Controller Drivers" config SPI_ALTERA tristate "Altera SPI Controller" + select REGMAP_MMIO help This is the driver for the Altera SPI Controller. |