diff options
author | Matthew Gerlach <matthew.gerlach@linux.intel.com> | 2021-04-16 18:57:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-20 18:26:40 +0200 |
commit | b0c3d9354de1f87eebc00694d5218b6611265933 (patch) | |
tree | fcd1cf992774191604f341b0d19accd9527add55 /drivers/spi/Kconfig | |
parent | spi: stm32-qspi: Fix compilation warning in ARM64 (diff) | |
download | linux-b0c3d9354de1f87eebc00694d5218b6611265933.tar.xz linux-b0c3d9354de1f87eebc00694d5218b6611265933.zip |
spi: altera: separate core code from platform code
In preparation of adding support for a new bus type,
separate the core spi-altera code from the platform
driver code.
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Link: https://lore.kernel.org/r/20210416165720.554144-2-matthew.gerlach@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 853cf4c46e5e..e59f548e882a 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -58,11 +58,18 @@ config SPI_MEM comment "SPI Master Controller Drivers" config SPI_ALTERA - tristate "Altera SPI Controller" + tristate "Altera SPI Controller platform driver" + select SPI_ALTERA_CORE select REGMAP_MMIO help This is the driver for the Altera SPI Controller. +config SPI_ALTERA_CORE + tristate "Altera SPI Controller core code" + select REGMAP + help + "The core code for the Altera SPI Controller" + config SPI_AR934X tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" depends on ATH79 || COMPILE_TEST |