Re: [PATCH v3 3/4] dt-bindings: spi: stm32: disable spi-slave property for stm32f4-f7

From: Krzysztof Kozlowski
Date: Thu Jun 15 2023 - 16:20:35 EST


On 15/06/2023 19:38, Valentin CARON wrote:
> Hi Krzysztof,
>
> On 6/15/23 15:36, Krzysztof Kozlowski wrote:
>> On 15/06/2023 09:58, Valentin Caron wrote:
>>> From: Alain Volmat <alain.volmat@xxxxxxxxxxx>
>>>
>>> STM32F4 and STM32F7 can't switch to spi device mode.
>>> Forbid this property with compatible "st,stm32f4-spi".
>> Just to clarify - driver cannot switch or hardware does not support it?
>
> Driver can't support it right now but hardware can.
>

DT is independent of some chosen (or current) Linux drivers. Imagine
Linux cannot support it but OpenBSD does.

As Mark pointed out, this needs a follow up commit.

Best regards,
Krzysztof