spi: stm32_qspi: Add transfer_one_message() spi callback
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 23 Aug 2022 07:58:50 +0000 (09:58 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 12:04:59 +0000 (13:04 +0100)
commita557fca630cc6d4a07eb9bac0039e88a6b1c4847
tree72b97dbf43c3b21b99914794c04111cf5d3096fc
parent1d895be13af0d962bef67ba0ceaefbdc6954fe67
spi: stm32_qspi: Add transfer_one_message() spi callback

Add transfer_one_message() spi callback in order to use the QSPI interface
as a communication channel using up to 8 qspi lines (QSPI configured
in dual flash mode).
To enable this mode, both spi-rx-bus-width and spi-tx-bus-width must be
set to 8 and cs-qpios must be populated.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220823075850.575043-3-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-qspi.c