linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Add support for Microchip QSPI controller
@ 2022-08-05  5:30 Naga Sureshkumar Relli
  2022-08-05  5:30 ` [PATCH v3 1/4] spi: dt-binding: document microchip coreQSPI Naga Sureshkumar Relli
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Naga Sureshkumar Relli @ 2022-08-05  5:30 UTC (permalink / raw)
  To: broonie, robh+dt, krzysztof.kozlowski+dt, conor.dooley
  Cc: linux-spi, devicetree, linux-kernel, Valentina.FernandezAlanis,
	Naga Sureshkumar Relli

This patch enables the Microchip's FPGA QSPI and Polarfire SoC QSPI
controller support.

Tested spi-nand (W25N01GV) and spi-nor (MT25QL256A) on Microchip's
ICICLE kit. tested using both FPGA QSPI and Polarfie SoC QSPI.

changes in v3
------------
1. Added dev_err_probe() at places like probe failures
2. Split the dt-bindings one for adding coreqspi compatible
   and other one to add coreqspi as fallback to mpfs-qspi.

changes in v2
------------
1. Replaced spi_alloc_master() with devm_spi_alloc_master()
2. Used dev_err_probe() when devm_spi_alloc_master() fails.
3. Added shared IRQ flag in the interrupt registration.
4. Updated the dt_bindings so that there is a differentiation
   between FPGA QSPI IP core and hard QSPI IP core.

Naga Sureshkumar Relli (4):
  spi: dt-binding: document microchip coreQSPI
  spi: dt-binding: add coreqspi as a fallback for mpfs-qspi
  spi: microchip-core-qspi: Add support for microchip fpga qspi
    controllers
  MAINTAINERS: add qspi to Polarfire SoC entry

 .../bindings/spi/microchip,mpfs-spi.yaml      |  15 +-
 MAINTAINERS                                   |   1 +
 drivers/spi/Kconfig                           |   9 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-microchip-core-qspi.c         | 601 ++++++++++++++++++
 5 files changed, 623 insertions(+), 4 deletions(-)
 create mode 100644 drivers/spi/spi-microchip-core-qspi.c

-- 
2.25.1


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

end of thread, other threads:[~2022-08-05 14:15 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05  5:30 [PATCH v3 0/4] Add support for Microchip QSPI controller Naga Sureshkumar Relli
2022-08-05  5:30 ` [PATCH v3 1/4] spi: dt-binding: document microchip coreQSPI Naga Sureshkumar Relli
2022-08-05  6:46   ` Krzysztof Kozlowski
2022-08-05  5:30 ` [PATCH v3 2/4] spi: dt-binding: add coreqspi as a fallback for mpfs-qspi Naga Sureshkumar Relli
2022-08-05  6:47   ` Krzysztof Kozlowski
2022-08-05  6:49   ` Krzysztof Kozlowski
2022-08-05  7:34     ` Conor.Dooley
2022-08-05  8:12       ` Krzysztof Kozlowski
2022-08-05  8:44         ` Conor.Dooley
2022-08-05  8:47           ` Krzysztof Kozlowski
2022-08-05 14:14   ` Rob Herring
2022-08-05  5:30 ` [PATCH v3 3/4] spi: microchip-core-qspi: Add support for microchip fpga qspi controllers Naga Sureshkumar Relli
2022-08-05  6:50   ` Krzysztof Kozlowski
2022-08-05  5:30 ` [PATCH v3 4/4] MAINTAINERS: add qspi to Polarfire SoC entry Naga Sureshkumar Relli
2022-08-05  6:50   ` Krzysztof Kozlowski
2022-08-05 11:04     ` Mark Brown
2022-08-05 11:05   ` Mark Brown
2022-08-05 12:07     ` Conor.Dooley
2022-08-05 12:11       ` Mark Brown
2022-08-05  9:14 ` [PATCH v3 0/4] Add support for Microchip QSPI controller Conor.Dooley

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).