From: Alain Volmat Date: Thu, 15 Jun 2023 07:58:14 +0000 (+0200) Subject: spi: stm32: disable spi-slave property for stm32f4-f7 X-Git-Tag: v6.6.7~2351^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6afe03351ac81fbc4f2b93bf3b356f7b662939d;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Valentin Caron Link: https://lore.kernel.org/r/20230615075815.310261-4-valentin.caron@foss.st.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml index 9ca1a84..f1c86e6 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: