diff mbox series

[v2,3/4] dt-bindings: spi: stm32: disable spi-slave property for stm32f4-f7

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

Commit Message

Valentin Caron June 14, 2023, 10:26 a.m. UTC
From: Alain Volmat <alain.volmat@foss.st.com>

STM32F4 and STM32F7 can't switch to spi slave mode.
Forbid this property with compatible "st,stm32f4-spi".

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
---
 Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
index 9ca1a843c820..f1c86e694af1 100644
--- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
@@ -27,6 +27,7 @@  allOf:
     then:
       properties:
         st,spi-midi-ns: false
+        spi-slave: false
 
 properties:
   compatible: