Skip to content

Commit

Permalink
spi: stm32: disable spi-slave property for stm32f4-f7
Browse files Browse the repository at this point in the history
STM32F4 and STM32F7 can't switch to spi device 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>
Link: https://lore.kernel.org/r/20230615075815.310261-4-valentin.caron@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Alain Volmat authored and Mark Brown committed Jun 15, 2023
1 parent e40335f commit e6afe03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ allOf:
then:
properties:
st,spi-midi-ns: false
spi-slave: false

properties:
compatible:
Expand Down

0 comments on commit e6afe03

Please sign in to comment.