Message ID | 20181107150327.B6DC41124E14@debutante.sirena.org.uk (mailing list archive) |
---|---|
State | Accepted |
Commit | 0e6aae08e9ae7c2dc3c83bf6960d824feb14b706 |
Headers | show |
Series | Applied "spi: Add QuadSPI driver for Atmel SAMA5D2" to the spi tree | expand |
On Wed, Nov 07, 2018 at 03:03:27PM +0000, Mark Brown wrote: > The patch > > spi: Add QuadSPI driver for Atmel SAMA5D2 > > has been applied to the spi tree at > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git Sorry, I got confused about which patch series Boris had asked me to apply for him - it wasn't this one! Since the review looked like it was just one minor issue last time I'll just leave them for now, they were applied on a separate branch for sharing with the MTD tree so it's easy for me to drop them if that's required or if I should put together the pull request for MTD. Sorry for any confusion this ends up causing, it's entirely my mistake.
Hi Mark, On Wed, 7 Nov 2018 15:18:36 +0000 Mark Brown <broonie@kernel.org> wrote: > On Wed, Nov 07, 2018 at 03:03:27PM +0000, Mark Brown wrote: > > The patch > > > > spi: Add QuadSPI driver for Atmel SAMA5D2 > > > > has been applied to the spi tree at > > > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > > Sorry, I got confused about which patch series Boris had asked me to > apply for him - it wasn't this one! Since the review looked like it was > just one minor issue last time I'll just leave them for now, they were > applied on a separate branch for sharing with the MTD tree so it's easy > for me to drop them if that's required or if I should put together the > pull request for MTD. Sorry for any confusion this ends up causing, > it's entirely my mistake. I'm probably missing something, but I don't see where you made a mistake :-). It's indeed the series I asked you to merge, the only comment I had was actually a suggestion to help Piotr solve his perf issue (which was already present in the old driver). And thanks for creating the mtd topic branch BTW. Regards, Boris
On Thu, Nov 08, 2018 at 09:50:22AM +0100, Boris Brezillon wrote: > Mark Brown <broonie@kernel.org> wrote: > > Sorry, I got confused about which patch series Boris had asked me to > > apply for him - it wasn't this one! Since the review looked like it was > > just one minor issue last time I'll just leave them for now, they were > > applied on a separate branch for sharing with the MTD tree so it's easy > > for me to drop them if that's required or if I should put together the > > pull request for MTD. Sorry for any confusion this ends up causing, > > it's entirely my mistake. > I'm probably missing something, but I don't see where you made a > mistake :-). It's indeed the series I asked you to merge, the only > comment I had was actually a suggestion to help Piotr solve his perf > issue (which was already present in the old driver). Oh, OK. Then we can definitively say I'm confused then :) > And thanks for creating the mtd topic branch BTW. Here's a signed tag for just the MTD bits: The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-mtd-atmel for you to fetch changes up to 6ca622c87149a20a47abbb954f896f515e2292a7: mtd: spi-nor: atmel-quadspi: Remove unused code from atmel-quadspi driver (2018-11-07 13:21:10 +0000) ---------------------------------------------------------------- mtd: Atmel QuadSPI changes for MTD These changes are dependencies for a branch merged into the SPI tree, create a signed tag to share them with the MTD tree. ---------------------------------------------------------------- Piotr Bugalski (4): mtd: spi-nor: atmel-quaspi: Typo fix mtd: spi-nor: atmel-quadspi: Add spi-mem support to atmel-quadspi mtd: spi-nor: atmel-quadspi: Use spi-mem interface for atmel-quadspi driver mtd: spi-nor: atmel-quadspi: Remove unused code from atmel-quadspi driver drivers/mtd/spi-nor/atmel-quadspi.c | 528 ++++++++++-------------------------- 1 file changed, 148 insertions(+), 380 deletions(-)
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 6cc9c929ff57..44fe8018733c 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -39,15 +39,6 @@ config SPI_ASPEED_SMC and support for the SPI flash memory controller (SPI) for the host firmware. The implementation only supports SPI NOR. -config SPI_ATMEL_QUADSPI - tristate "Atmel Quad SPI Controller" - depends on ARCH_AT91 || (ARM && COMPILE_TEST) - depends on OF && HAS_IOMEM - help - This enables support for the Quad SPI controller in master mode. - This driver does not support generic SPI. The implementation only - supports SPI NOR. - config SPI_CADENCE_QUADSPI tristate "Cadence Quad SPI controller" depends on OF && (ARM || ARM64 || COMPILE_TEST) diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile index f4c61d282abd..a552efd22958 100644 --- a/drivers/mtd/spi-nor/Makefile +++ b/drivers/mtd/spi-nor/Makefile @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o obj-$(CONFIG_SPI_ASPEED_SMC) += aspeed-smc.o -obj-$(CONFIG_SPI_ATMEL_QUADSPI) += atmel-quadspi.o obj-$(CONFIG_SPI_CADENCE_QUADSPI) += cadence-quadspi.o obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o obj-$(CONFIG_SPI_HISI_SFC) += hisi-sfc.o diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 7d3a5c94727e..ca68ac63c6c3 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -91,6 +91,15 @@ config SPI_AT91_USART This selects a driver for the AT91 USART Controller as SPI Master, present on AT91 and SAMA5 SoC series. +config SPI_ATMEL_QUADSPI + tristate "Atmel Quad SPI Controller" + depends on ARCH_AT91 || (ARM && COMPILE_TEST) + depends on OF && HAS_IOMEM + help + This enables support for the Quad SPI controller in master mode. + This driver does not support generic SPI. The implementation only + supports spi-mem interface. + config SPI_AU1550 tristate "Au1550/Au1200/Au1300 SPI Controller" depends on MIPS_ALCHEMY diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index 3575205c5c27..258917db3f56 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o obj-$(CONFIG_SPI_ALTERA) += spi-altera.o obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o +obj-$(CONFIG_SPI_ATMEL_QUADSPI) += atmel-quadspi.o obj-$(CONFIG_SPI_AT91_USART) += spi-at91-usart.o obj-$(CONFIG_SPI_ATH79) += spi-ath79.o obj-$(CONFIG_SPI_AU1550) += spi-au1550.o diff --git a/drivers/mtd/spi-nor/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c similarity index 100% rename from drivers/mtd/spi-nor/atmel-quadspi.c rename to drivers/spi/atmel-quadspi.c