Re: [PATCH v3 3/3] ARM: dts: stm32: fix several DT warnings on stm32mp15

From: Marek Vasut
Date: Wed May 17 2023 - 11:42:05 EST


On 5/17/23 16:35, Raphael Gallais-Pou wrote:

Hi,

diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index 0f1110e42c93..a6e2e20f12fa 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -457,8 +457,7 @@ &ltdc {
status = "okay";
port {
- ltdc_ep0_out: endpoint@0 {
- reg = <0>;
+ ltdc_ep0_out: endpoint {
remote-endpoint = <&sii9022_in>;
};
};

This LTDC port/endpoint stuff always scares me, because I always feel I get it wrong.

I believe the LTDC does have one "port" , correct.

But I think (?) that the LTDC has two endpoints, endpoint@0 for DPI (parallel output out of the SoC) and endpoint@1 for DSI (internal connection into the DSI serializer) ?

Only one of the endpoints can be connected at a time, but there are actually two endpoints in the LTDC port {} node, aren't there ?

So the original description should be OK I think , maybe #address/#size-cells are missing instead ?