aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Volmat <[email protected]>2023-06-15 09:58:14 +0200
committerMark Brown <[email protected]>2023-06-15 12:09:33 +0100
commite6afe03351ac81fbc4f2b93bf3b356f7b662939d (patch)
tree8ae9556c8a2d845474cb93252ad38a1b22f98ee6
parente40335fcb89acb274d05deffad9225e973278ec9 (diff)
spi: stm32: disable spi-slave property for stm32f4-f7
STM32F4 and STM32F7 can't switch to spi device mode. Forbid this property with compatible "st,stm32f4-spi". Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Valentin Caron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/spi/st,stm32-spi.yaml1
1 files changed, 1 insertions, 0 deletions
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: