diff options
author | Alain Volmat <[email protected]> | 2023-06-15 09:58:14 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-06-15 12:09:33 +0100 |
commit | e6afe03351ac81fbc4f2b93bf3b356f7b662939d (patch) | |
tree | 8ae9556c8a2d845474cb93252ad38a1b22f98ee6 | |
parent | e40335fcb89acb274d05deffad9225e973278ec9 (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.yaml | 1 |
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: |