Skip to content

Commit 0c74d37

Browse files
affenull2345gregkh
authored andcommitted
arm64: dts: mediatek: mt8183: Add missing endpoint IDs to display graph
commit be0b304 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: e72d63f ("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>
1 parent 6d66464 commit 0c74d37

1 file changed

Lines changed: 31 additions & 6 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8183.dtsi

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,15 +1812,23 @@
18121812
#size-cells = <0>;
18131813

18141814
port@0 {
1815+
#address-cells = <1>;
1816+
#size-cells = <0>;
18151817
reg = <0>;
1816-
ovl_2l1_in: endpoint {
1818+
1819+
ovl_2l1_in: endpoint@1 {
1820+
reg = <1>;
18171821
remote-endpoint = <&mmsys_ep_ext>;
18181822
};
18191823
};
18201824

18211825
port@1 {
1826+
#address-cells = <1>;
1827+
#size-cells = <0>;
18221828
reg = <1>;
1823-
ovl_2l1_out: endpoint {
1829+
1830+
ovl_2l1_out: endpoint@1 {
1831+
reg = <1>;
18241832
remote-endpoint = <&rdma1_in>;
18251833
};
18261834
};
@@ -1872,15 +1880,23 @@
18721880
#size-cells = <0>;
18731881

18741882
port@0 {
1883+
#address-cells = <1>;
1884+
#size-cells = <0>;
18751885
reg = <0>;
1876-
rdma1_in: endpoint {
1886+
1887+
rdma1_in: endpoint@1 {
1888+
reg = <1>;
18771889
remote-endpoint = <&ovl_2l1_out>;
18781890
};
18791891
};
18801892

18811893
port@1 {
1894+
#address-cells = <1>;
1895+
#size-cells = <0>;
18821896
reg = <1>;
1883-
rdma1_out: endpoint {
1897+
1898+
rdma1_out: endpoint@1 {
1899+
reg = <1>;
18841900
remote-endpoint = <&dpi_in>;
18851901
};
18861902
};
@@ -2076,15 +2092,24 @@
20762092
#size-cells = <0>;
20772093

20782094
port@0 {
2095+
#address-cells = <1>;
2096+
#size-cells = <0>;
20792097
reg = <0>;
2080-
dpi_in: endpoint {
2098+
2099+
dpi_in: endpoint@1 {
2100+
reg = <1>;
20812101
remote-endpoint = <&rdma1_out>;
20822102
};
20832103
};
20842104

20852105
port@1 {
2106+
#address-cells = <1>;
2107+
#size-cells = <0>;
20862108
reg = <1>;
2087-
dpi_out: endpoint { };
2109+
2110+
dpi_out: endpoint@1 {
2111+
reg = <1>;
2112+
};
20882113
};
20892114
};
20902115
};

0 commit comments

Comments
 (0)