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

Valentin Caron posted 4 patches 2 years, 7 months ago
.../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(-)
[PATCH v2 0/4] spi: stm32: add spi slave mode
Posted by Valentin Caron 2 years, 7 months ago
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(-)

-- 
2.25.1
Re: [PATCH v2 0/4] spi: stm32: add spi slave mode
Posted by Mark Brown 2 years, 7 months ago
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.
Re: [PATCH v2 0/4] spi: stm32: add spi slave mode
Posted by Valentin CARON 2 years, 7 months ago
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