Skip to contentSkip to conversation

arm64: dts: mediatek: mt8183: Disable DPI display output by default

PATCH Applied Chen-Yu Tsai 3 participants 6 messages Oct 25, 2024 – Dec 13, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: dts: mediatek: mt8183: Disable DPI display output by default

This reverts commit 377548f05bd0905db52a1d50e5b328b9b4eb049d.

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

Reverse the situation for the DPI output so that it follows the normal scheme. For ease of backporting the DSI output is handled in a separate patch.

Fixes 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183")
Fixes 377548f05bd0 ("arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface")
---
 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 5 -----
 arch/arm64/boot/dts/mediatek/mt8183.dtsi       | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +0 -5
index 07ae3c8e897b..22924f61ec9e 100644
@@ -290,11 +290,6 @@ dsi_out: endpoint {
 	};
 };
 
-&dpi0 {
-	/* TODO Re-enable after DP to Type-C port muxing can be described */
-	status = "disabled";
-};
-
 &gic {
 	mediatek,broken-save-restore-fw;
 };
arch/arm64/boot/dts/mediatek/mt8183.dtsi +1 -0
index 1afeeb1155f5..8f31fc9050ec 100644
@@ -1845,6 +1845,7 @@ dpi0: dpi@14015000 {
 				 <&mmsys CLK_MM_DPI_MM>,
 				 <&apmixedsys CLK_APMIXED_TVDPLL>;
 			clock-names = "pixel", "engine", "pll";
+			status = "disabled";
 
 			port {
 				dpi_out: endpoint { };
Signature · 1 line
2.47.0.163.g1226f6d8fa-goog
#1 lore raw

PATCH 2/2 arm64: dts: mediatek: mt8183: Disable DSI display output by default

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

Reverse the situation for the DSI output so that it follows the normal scheme. For ease of backporting the DPI output is handled in a separate patch.

Fixes 88ec840270e6 ("arm64: dts: mt8183: Add dsi node")
Fixes 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board")
---
 arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 4 ----
 arch/arm64/boot/dts/mediatek/mt8183.dtsi        | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +0 -4
index 61a6f66914b8..dbdee604edab 100644
@@ -522,10 +522,6 @@ &scp {
 	status = "okay";
 };
 
-&dsi0 {
-	status = "disabled";
-};
-
 &dpi0 {
 	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&dpi_func_pins>;
arch/arm64/boot/dts/mediatek/mt8183.dtsi +1 -0
index 8f31fc9050ec..c7008bb8a81d 100644
@@ -1834,6 +1834,7 @@ dsi0: dsi@14014000 {
 			resets = <&mmsys MT8183_MMSYS_SW0_RST_B_DISP_DSI0>;
 			phys = <&mipi_tx0>;
 			phy-names = "dphy";
+			status = "disabled";
 		};
 
 		dpi0: dpi@14015000 {
Signature · 1 line
2.47.0.163.g1226f6d8fa-goog
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] arm64: dts: mediatek: mt8183: Disable DSI display output by default

Quoted 6 lines · Chen-Yu Tsai

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

Quoted 8 lines

Reverse the situation for the DSI output so that it follows the normal scheme. For ease of backporting the DPI output is handled in a separate patch.

Fixes 88ec840270e6 ("arm64: dts: mt8183: Add dsi node")
Fixes 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board")
Reviewed-by on v1 1/2
#3 lore raw
In reply to Chen-Yu Tsai
Quoted 8 lines · Chen-Yu Tsai

This reverts commit 377548f05bd0905db52a1d50e5b328b9b4eb049d.

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

Quoted 8 lines

Reverse the situation for the DPI output so that it follows the normal scheme. For ease of backporting the DSI output is handled in a separate patch.

Fixes 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183")
Fixes 377548f05bd0 ("arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface")
maintainer Applied
#4 lore raw
In reply to Chen-Yu Tsai
Quoted 8 lines · Chen-Yu Tsai

This reverts commit 377548f05bd0905db52a1d50e5b328b9b4eb049d.

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

[...]

Applied to v6.13-next/dts64, thanks!

[1/2] arm64: dts: mediatek: mt8183: Disable DPI display output by default

      commit: 93a680af46436780fd64f4e856a4cfa8b393be6e
[2/2] arm64: dts: mediatek: mt8183: Disable DSI display output by default
      commit: 26f6e91fa29a58fdc76b47f94f8f6027944a490c

Cheers,
Angelo

#5 lore raw
Quoted 9 lines · AngeloGioacchino Del Regno
Quoted 7 lines · Chen-Yu Tsai

This reverts commit 377548f05bd0905db52a1d50e5b328b9b4eb049d.

Most SoC dtsi files have the display output interfaces disabled by default, and only enabled on boards that utilize them. The MT8183 has it backwards: the display outputs are left enabled by default, and only disabled at the board level.

Quoted 8 lines
Quoted 1 line

[...]

Applied to v6.13-next/dts64, thanks!

[1/2] arm64: dts: mediatek: mt8183: Disable DPI display output by default

      commit: 93a680af46436780fd64f4e856a4cfa8b393be6e
[2/2] arm64: dts: mediatek: mt8183: Disable DSI display output by default
      commit: 26f6e91fa29a58fdc76b47f94f8f6027944a490c

Thanks! It seems you haven't updated the for-next branch, so it isn't appearing in linux-next yet.

ChenYu