]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8183: Add missing endpoint IDs to display graph
authorOtto Pflüger <otto.pflueger@abscue.de>
Tue, 6 Jan 2026 10:11:12 +0000 (11:11 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 8 Jan 2026 11:25:19 +0000 (12:25 +0100)
The endpoint IDs in the display graph are expected to match the
associated display path number, i.e. all endpoints connected to
mmsys_ep_main must have reg = <0> and all endpoints connected to
mmsys_ep_ext must have reg = <1>.

Add the missing ID to all endpoints in the display graph, based on
mt8365.dtsi as an existing example that does this correctly.

Fixes: e72d63fa0563 ("arm64: dts: mediatek: mt8183: Migrate to display controller OF graph")
Reported-by: Evans Jahja <evansjahja13@gmail.com>
Closes: https://lore.kernel.org/linux-mediatek/CAAq5pW9o3itC0G16LnJO7KMAQ_XoqXUpB=cuJ_7e3-H11zKd5Q@mail.gmail.com/
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
[Angelo: Fixed dtbs_check issues]
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 4e20a8f2eb25803057955401a7737c7f029a1424..95cc067995336cfa55de0e9f2b3f09e6014a3e35 100644 (file)
                                #size-cells = <0>;
 
                                port@0 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <0>;
-                                       ovl_2l1_in: endpoint {
+
+                                       ovl_2l1_in: endpoint@1 {
+                                               reg = <1>;
                                                remote-endpoint = <&mmsys_ep_ext>;
                                        };
                                };
 
                                port@1 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <1>;
-                                       ovl_2l1_out: endpoint {
+
+                                       ovl_2l1_out: endpoint@1 {
+                                               reg = <1>;
                                                remote-endpoint = <&rdma1_in>;
                                        };
                                };
                                #size-cells = <0>;
 
                                port@0 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <0>;
-                                       rdma1_in: endpoint {
+
+                                       rdma1_in: endpoint@1 {
+                                               reg = <1>;
                                                remote-endpoint = <&ovl_2l1_out>;
                                        };
                                };
 
                                port@1 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <1>;
-                                       rdma1_out: endpoint {
+
+                                       rdma1_out: endpoint@1 {
+                                               reg = <1>;
                                                remote-endpoint = <&dpi_in>;
                                        };
                                };
                                #size-cells = <0>;
 
                                port@0 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <0>;
-                                       dpi_in: endpoint {
+
+                                       dpi_in: endpoint@1 {
+                                               reg = <1>;
                                                remote-endpoint = <&rdma1_out>;
                                        };
                                };
 
                                port@1 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
                                        reg = <1>;
-                                       dpi_out: endpoint { };
+
+                                       dpi_out: endpoint@1  {
+                                               reg = <1>;
+                                       };
                                };
                        };
                };