* [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco
@ 2023-07-02 10:35 Raphael Gallais-Pou
2023-07-02 20:14 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Raphael Gallais-Pou @ 2023-07-02 10:35 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
The ili9341 is left without a mandatory buswidth to properly communicate
between the SI bus and the display. Add the device-tree property.
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
---
arch/arm/boot/dts/stm32f429-disco.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
index 3b81228d46a2..5eaf95afc8c7 100644
--- a/arch/arm/boot/dts/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/stm32f429-disco.dts
@@ -197,6 +197,7 @@ display: display@1{
spi-3wire;
spi-max-frequency = <10000000>;
dc-gpios = <&gpiod 13 0>;
+ buswidth = <8>;
port {
panel_in_rgb: endpoint {
remote-endpoint = <<dc_out_rgb>;
--
2.41.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco
2023-07-02 10:35 [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco Raphael Gallais-Pou
@ 2023-07-02 20:14 ` Krzysztof Kozlowski
2023-07-03 3:25 ` Raphaël Gallais-Pou
0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-02 20:14 UTC (permalink / raw)
To: Raphael Gallais-Pou, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
On 02/07/2023 12:35, Raphael Gallais-Pou wrote:
> The ili9341 is left without a mandatory buswidth to properly communicate
> between the SI bus and the display. Add the device-tree property.
>
> Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
> ---
> arch/arm/boot/dts/stm32f429-disco.dts | 1 +
There is no such file. Please rebase on recent Linux.
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
> index 3b81228d46a2..5eaf95afc8c7 100644
> --- a/arch/arm/boot/dts/stm32f429-disco.dts
> +++ b/arch/arm/boot/dts/stm32f429-disco.dts
> @@ -197,6 +197,7 @@ display: display@1{
> spi-3wire;
> spi-max-frequency = <10000000>;
> dc-gpios = <&gpiod 13 0>;
> + buswidth = <8>;
There is no such spi property.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco
2023-07-02 20:14 ` Krzysztof Kozlowski
@ 2023-07-03 3:25 ` Raphaël Gallais-Pou
2023-07-03 7:13 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Raphaël Gallais-Pou @ 2023-07-03 3:25 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Hi,
Le 02/07/2023 à 22:14, Krzysztof Kozlowski a écrit :
> On 02/07/2023 12:35, Raphael Gallais-Pou wrote:
>> The ili9341 is left without a mandatory buswidth to properly communicate
>> between the SI bus and the display. Add the device-tree property.
>>
>> Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
>> ---
>> arch/arm/boot/dts/stm32f429-disco.dts | 1 +
>
> There is no such file. Please rebase on recent Linux.
Yes, indeed. I forgot to pull, I'm sorry.
>
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
>> index 3b81228d46a2..5eaf95afc8c7 100644
>> --- a/arch/arm/boot/dts/stm32f429-disco.dts
>> +++ b/arch/arm/boot/dts/stm32f429-disco.dts
>> @@ -197,6 +197,7 @@ display: display@1{
>> spi-3wire;
>> spi-max-frequency = <10000000>;
>> dc-gpios = <&gpiod 13 0>;
>> + buswidth = <8>;
>
> There is no such spi property.
While I agree with you, I saw in staging drivers that this property was
fetch in the device-tree by the fbtft core.
Should I document those in or try to do it another way ?
>
> Best regards,
> Krzysztof
>
Thanks,
Raphaël
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco
2023-07-03 3:25 ` Raphaël Gallais-Pou
@ 2023-07-03 7:13 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-03 7:13 UTC (permalink / raw)
To: Raphaël Gallais-Pou
Cc: Rob Herring, Conor Dooley, Maxime Coquelin, Alexandre Torgue,
devicetree, linux-stm32, linux-arm-kernel, linux-kernel
On Mon, 3 Jul 2023 at 05:21, Raphaël Gallais-Pou <rgallaispou@gmail.com> wrote:
> >> spi-3wire;
> >> spi-max-frequency = <10000000>;
> >> dc-gpios = <&gpiod 13 0>;
> >> + buswidth = <8>;
> >
> > There is no such spi property.
>
> While I agree with you, I saw in staging drivers that this property was
> fetch in the device-tree by the fbtft core.
>
> Should I document those in or try to do it another way ?
You cannot use undocumented properties. Whether this should be used at
all, depends what's this, why other properties cannot be used etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-03 7:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 10:35 [PATCH] ARM: dts: st: add buswidth property to stm32f429-disco Raphael Gallais-Pou
2023-07-02 20:14 ` Krzysztof Kozlowski
2023-07-03 3:25 ` Raphaël Gallais-Pou
2023-07-03 7:13 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®