Skip to content

Commit e6afe03

Browse files
Alain Volmatbroonie
authored andcommitted
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]>
1 parent e40335f commit e6afe03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/spi/st,stm32-spi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ allOf:
2727
then:
2828
properties:
2929
st,spi-midi-ns: false
30+
spi-slave: false
3031

3132
properties:
3233
compatible:

0 commit comments

Comments
 (0)