spi: stm32_qspi: use QSPI bus as 8 lines communication channel
authorMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 16:59:36 +0000 (17:59 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 16:59:36 +0000 (17:59 +0100)
commit1a09e0e8cfbbf91169fddf55a4b0e2f631fa57ad
tree94571ecee189249295da7d34d0306ec26926eda3
parent52c135d495ca019abbacf063f5ef43bd5b189070
parenta557fca630cc6d4a07eb9bac0039e88a6b1c4847
spi: stm32_qspi: use QSPI bus as 8 lines communication channel

Merge series from patrice.chotard@foss.st.com <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 cs-gpios populated and spi-tx-bus-width / spi-rx-bus-width both set to 8,
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.