[PATCH 0/2] spi: stm32: disable spi device mode for stm32f4-f7

From: Valentin Caron
Date: Wed Jun 21 2023 - 07:56:28 EST


This series follows this thread:
https://lore.kernel.org/all/20230615075815.310261-1-valentin.caron@xxxxxxxxxxx/

As STM32F4-F7 hardware can handle device mode and stm32 spi kernel
driver can't, a restriction should be put in the kernel driver and
not in the device-tree bindings. This series fixes that.

Valentin Caron (2):
spi: stm32: disable device mode with st,stm32f4-spi compatible
spi: dt-bindings: stm32: do not disable spi-slave property for
stm32f4-f7

.../devicetree/bindings/spi/st,stm32-spi.yaml | 1 -
drivers/spi/spi-stm32.c | 15 ++++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)

--
2.25.1