]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Feb 2026 15:31:34 +0000 (16:31 +0100)
commit be0b304eeb8c5f77e4f98f64e58729d879195f2f upstream.

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>
Cc: Thorsten Leemhuis <regressions@leemhuis.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 960d8955d018c170e78fac630d11f5bafbb634a0..27ce4b31cc99decdc21d852c2b2eec7e779b5153 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>;
+                                       };
                                };
                        };
                };