[PATCH v2 0/2] spi: stm32_qspi: use QSPI bus as 8 lines communication channel

patrice.chotard at foss.st.com patrice.chotard at foss.st.com
Wed Aug 10 02:32:13 PDT 2022


From: Patrice Chotard <patrice.chotard at 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




More information about the linux-arm-kernel mailing list