[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Aug 2022 09:40:48 +0200
From: <patrice.chotard@...s.st.com>
To: Mark Brown <broonie@...nel.org>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
<robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>
CC: <linux-spi@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <christophe.kerello@...s.st.com>,
<patrice.chotard@...s.st.com>, <devicetree@...r.kernel.org>
Subject: [PATCH 0/3] spi: stm32_qspi: use QSPI bus as 8 lines communication channel
From: Patrice Chotard <patrice.chotard@...s.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.
A new ST specific property need to be created to enable this 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.
Patrice Chotard (3):
dt-bindings: spi: stm32: Add st,dual-flash property in
st,stm32-qspi.yaml
spi: stm32_qspi: Add transfer_one_message() spi callback
ARM: dts: stm32: Create separate pinmux for qspi cs pin in
stm32mp15-pinctrl.dtsi
.../bindings/spi/st,stm32-qspi.yaml | 8 ++
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 50 +++++---
arch/arm/boot/dts/stm32mp157c-ev1.dts | 12 +-
drivers/spi/spi-stm32-qspi.c | 111 ++++++++++++++++--
4 files changed, 155 insertions(+), 26 deletions(-)
--
2.25.1
Powered by blists - more mailing lists