[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014094622.1720289-1-fshao@chromium.org>
Date: Mon, 14 Oct 2024 17:45:31 +0800
From: Fei Shao <fshao@...omium.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: Fei Shao <fshao@...omium.org>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Rob Herring <robh@...nel.org>,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org
Subject: [PATCH] arm64: dts: mediatek: mt8188: Fix MERGE's alias IDs
MediaTek's ovl_adaptor driver requires the alias IDs of the MERGE
components to be indexed from 1 to 5 to construct the MT8188 vdosys1
routing path, since merge0 is particularly reserved for vdosys0
according to the mmsys routing tables.
Update the alias IDs to ensure that ovl_adaptor can find the correct
MERGE components, allowing DRM to initialize without issues.
Fixes: b13ecb7c6f67 ("arm64: dts: mediatek: mt8188: Add display nodes for vdosys1")
Signed-off-by: Fei Shao <fshao@...omium.org>
---
arch/arm64/boot/dts/mediatek/mt8188.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
index b493207a1b68..8c2667ac2b64 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
@@ -29,11 +29,11 @@ aliases {
ethdr0 = ðdr0;
gce0 = &gce0;
gce1 = &gce1;
- merge0 = &merge0;
merge1 = &merge1;
merge2 = &merge2;
merge3 = &merge3;
merge4 = &merge4;
+ merge5 = &merge5;
mutex0 = &mutex0;
mutex1 = &mutex1;
padding0 = &padding0;
@@ -2698,7 +2698,7 @@ vdo1_rdma7: rdma@...0b000 {
mediatek,gce-client-reg = <&gce0 SUBSYS_1c10XXXX 0xb000 0x1000>;
};
- merge0: merge@...0c000 {
+ merge1: merge@...0c000 {
compatible = "mediatek,mt8188-disp-merge", "mediatek,mt8195-disp-merge";
reg = <0 0x1c10c000 0 0x1000>;
clocks = <&vdosys1 CLK_VDO1_VPP_MERGE0>,
@@ -2711,7 +2711,7 @@ merge0: merge@...0c000 {
mediatek,merge-mute;
};
- merge1: merge@...0d000 {
+ merge2: merge@...0d000 {
compatible = "mediatek,mt8188-disp-merge", "mediatek,mt8195-disp-merge";
reg = <0 0x1c10d000 0 0x1000>;
clocks = <&vdosys1 CLK_VDO1_VPP_MERGE1>,
@@ -2724,7 +2724,7 @@ merge1: merge@...0d000 {
mediatek,merge-mute;
};
- merge2: merge@...0e000 {
+ merge3: merge@...0e000 {
compatible = "mediatek,mt8188-disp-merge", "mediatek,mt8195-disp-merge";
reg = <0 0x1c10e000 0 0x1000>;
clocks = <&vdosys1 CLK_VDO1_VPP_MERGE2>,
@@ -2737,7 +2737,7 @@ merge2: merge@...0e000 {
mediatek,merge-mute;
};
- merge3: merge@...0f000 {
+ merge4: merge@...0f000 {
compatible = "mediatek,mt8188-disp-merge", "mediatek,mt8195-disp-merge";
reg = <0 0x1c10f000 0 0x1000>;
clocks = <&vdosys1 CLK_VDO1_VPP_MERGE3>,
@@ -2750,7 +2750,7 @@ merge3: merge@...0f000 {
mediatek,merge-mute;
};
- merge4: merge@...10000 {
+ merge5: merge@...10000 {
compatible = "mediatek,mt8188-disp-merge", "mediatek,mt8195-disp-merge";
reg = <0 0x1c110000 0 0x1000>;
clocks = <&vdosys1 CLK_VDO1_VPP_MERGE4>,
--
2.47.0.rc1.288.g06298d1525-goog
Powered by blists - more mailing lists