diff mbox series

[1/1] spi: nxp-flexspi: Add i.MX platform dependency

Message ID 20230313083621.154729-1-alexander.stein@ew.tq-group.com (mailing list archive)
State Accepted
Commit 0762875674b969e35371ec5fe4b594d7a92ab364
Headers show
Series [1/1] spi: nxp-flexspi: Add i.MX platform dependency | expand

Commit Message

Alexander Stein March 13, 2023, 8:36 a.m. UTC
This driver also supports various i.MX8 platforms. Add ARCH_MXC for
selecting this driver without Layerscape support.

Fixes: c6b15b2437a10 ("spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
While technically c6b15b2437a10 did nothing wrong, it was not possible
to select this driver on i.MX and non-Layerscape kernel configs.

 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown March 13, 2023, 6:20 p.m. UTC | #1
On Mon, 13 Mar 2023 09:36:21 +0100, Alexander Stein wrote:
> This driver also supports various i.MX8 platforms. Add ARCH_MXC for
> selecting this driver without Layerscape support.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: nxp-flexspi: Add i.MX platform dependency
      commit: 0762875674b969e35371ec5fe4b594d7a92ab364

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 36a18c215163f..0a8bbafde2c69 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -406,7 +406,7 @@  config SPI_HISI_SFC_V3XX
 
 config SPI_NXP_FLEXSPI
 	tristate "NXP Flex SPI controller"
-	depends on ARCH_LAYERSCAPE || COMPILE_TEST
+	depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
 	  This enables support for the Flex SPI controller in master mode.