linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
@ 2023-11-06 14:53 Radhey Shyam Pandey
  2023-11-13 19:40 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Radhey Shyam Pandey @ 2023-11-06 14:53 UTC (permalink / raw)
  To: broonie, amit.kumar-mahapatra, michal.simek
  Cc: linux-spi, linux-kernel, git, Amit Kumar Mahapatra, Radhey Shyam Pandey

From: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>

ZynqMP GQSPI driver no longer uses spi-master framework. It had been
converted to use spi-mem framework. So remove driver dependency from
spi-master and replace it with spi-mem.

Fixes: 1c26372e5aa9 ("spi: spi-zynqmp-gqspi: Update driver to use spi-mem framework")
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
---
 drivers/spi/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 35dbfacecf1c..caaf2aa38f21 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -1176,9 +1176,10 @@ config SPI_ZYNQ_QSPI
 
 config SPI_ZYNQMP_GQSPI
 	tristate "Xilinx ZynqMP GQSPI controller"
-	depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST
+	depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST
 	help
 	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
+	  This controller only supports SPI memory interface.
 
 config SPI_AMD
 	tristate "AMD SPI controller"
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
  2023-11-06 14:53 [PATCH] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies Radhey Shyam Pandey
@ 2023-11-13 19:40 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-11-13 19:40 UTC (permalink / raw)
  To: amit.kumar-mahapatra, michal.simek, Radhey Shyam Pandey
  Cc: linux-spi, linux-kernel, git, Amit Kumar Mahapatra

On Mon, 06 Nov 2023 20:23:55 +0530, Radhey Shyam Pandey wrote:
> ZynqMP GQSPI driver no longer uses spi-master framework. It had been
> converted to use spi-mem framework. So remove driver dependency from
> spi-master and replace it with spi-mem.
> 
> 

Applied to

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

Thanks!

[1/1] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
      commit: 424a8166764e462258fdccaaefbdeb07517c8b21

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-13 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 14:53 [PATCH] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies Radhey Shyam Pandey
2023-11-13 19:40 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).