mbox series

[v2,0/4] spi: stm32: add spi slave mode

Message ID 20230614102628.202936-1-valentin.caron@foss.st.com (mailing list archive)
Headers show
Series spi: stm32: add spi slave mode | expand

Message

Valentin Caron June 14, 2023, 10:26 a.m. UTC
STM32 SPI can operate in slave mode.
This series add this functionnality in spi-stm32 driver.

Since v1:
 - Do not add #address-cells and #size-cells in st,stm32-spi.yaml
 - Do not add cs-gpio description in st,stm32-spi.yaml
 - Do not add st,spi-slave-underrun property to handle spi slave underrun

Alain Volmat (3):
  spi: stm32: renaming of spi_master into spi_controller
  spi: stm32: use dmaengine_terminate_{a}sync instead of _all
  dt-bindings: spi: stm32: disable spi-slave property for stm32f4-f7

Valentin Caron (1):
  spi: stm32: introduction of stm32h7 SPI slave support

 .../devicetree/bindings/spi/st,stm32-spi.yaml |   1 +
 drivers/spi/Kconfig                           |   1 +
 drivers/spi/spi-stm32.c                       | 274 ++++++++++--------
 3 files changed, 161 insertions(+), 115 deletions(-)

Comments

Mark Brown June 14, 2023, 12:16 p.m. UTC | #1
On Wed, Jun 14, 2023 at 12:26:23PM +0200, Valentin Caron wrote:
> STM32 SPI can operate in slave mode.
> This series add this functionnality in spi-stm32 driver.

The more modern terminology here is device mode.
Valentin Caron June 15, 2023, 8:05 a.m. UTC | #2
On 6/14/23 14:16, Mark Brown wrote:
> On Wed, Jun 14, 2023 at 12:26:23PM +0200, Valentin Caron wrote:
>> STM32 SPI can operate in slave mode.
>> This series add this functionnality in spi-stm32 driver.
> The more modern terminology here is device mode.

Hi Mark,

Thanks for your review. I have resent a "v3" with this improvement.

Regards,
Valentin