linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spi: stm32_qspi: use QSPI bus as 8 lines communication channel
@ 2022-08-10  9:32 patrice.chotard
  2022-08-10  9:32 ` [PATCH v2 1/2] spi: stm32_qspi: Add transfer_one_message() spi callback patrice.chotard
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: patrice.chotard @ 2022-08-10  9:32 UTC (permalink / raw)
  To: Mark Brown, Alexandre Torgue, robh+dt, krzysztof.kozlowski+dt
  Cc: linux-spi, linux-stm32, linux-arm-kernel, linux-kernel,
	christophe.kerello, patrice.chotard, devicetree

From: Patrice Chotard <patrice.chotard@foss.st.com>


The goal of this series is to allow to use QSPI bus as a 8 lines communication 
channel for specific purpose.

The QSPI block offers the possibility to communicate with 2 flashes in 
parrallel using the dual flash mode, 8 data lines are then used.
Usage of DT parallel-memories property is needed to enable dual flash mode.

The addition of the legacy transfer_one_message() spi callback is also needed
as currently the stm32-qspi driver only supports spi_controller_mem_ops API.


 arch/arm/boot/dts/stm32mp15-pinctrl.dtsi |  50 +++++++----
 arch/arm/boot/dts/stm32mp157c-ev1.dts    |  12 ++-
 drivers/spi/spi-stm32-qspi.c             | 103 +++++++++++++++++++++--
 3 files changed, 139 insertions(+), 26 deletions(-)

-- 
2.25.1


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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10  9:32 [PATCH v2 0/2] spi: stm32_qspi: use QSPI bus as 8 lines communication channel patrice.chotard
2022-08-10  9:32 ` [PATCH v2 1/2] spi: stm32_qspi: Add transfer_one_message() spi callback patrice.chotard
2022-08-10 13:06   ` Mark Brown
2022-08-10 13:15     ` Patrice CHOTARD
2022-08-10 13:23       ` Mark Brown
2022-08-10 13:31         ` Patrice CHOTARD
2022-08-10 13:40           ` Mark Brown
2022-08-10 13:52             ` Patrice CHOTARD
2022-08-10 13:57               ` Mark Brown
2022-08-10  9:32 ` [PATCH v2 2/2] ARM: dts: stm32: Create separate pinmux for qspi cs pin in stm32mp15-pinctrl.dtsi patrice.chotard
2022-08-22 16:05 ` (subset) [PATCH v2 0/2] spi: stm32_qspi: use QSPI bus as 8 lines communication channel 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).