From e432a9603f9021c8d24f06ef4dbdd162c95e0515 Mon Sep 17 00:00:00 2001
From: Devarsh Thakkar <devarsht@ti.com>
Date: Sat, 19 Apr 2025 15:29:59 +0530
Subject: [PATCH 2/3] HACK: arm64: dts: ti: k3-am62p5-sk: Disable HDMI bridge
 and add dummy bt656 panel

Disable HDMI bridge and connect dummy bt656 panel instead.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index b82b2452e729..99762e5c31fb 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -221,12 +221,24 @@ hdmi0: connector-hdmi {
 		compatible = "hdmi-connector";
 		label = "hdmi";
 		type = "a";
+		status = "disabled";
+
 		port {
 			hdmi_connector_in: endpoint {
 				remote-endpoint = <&sii9022_out>;
 			};
 		};
 	};
+
+	panel {
+		compatible = "dummy,bt656-480p";
+		status = "okay";
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&dss0_dpi1_out>;
+			};
+		};
+	};
 };
 
 &main_gpio0 {
@@ -567,6 +579,7 @@ sii9022: bridge-hdmi@3b {
 		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
 		#sound-dai-cells = <0>;
 		sil,i2s-data-lanes = < 0 >;
+		status = "disabled";
 
 		hdmi_tx_ports: ports {
 			#address-cells = <1>;
@@ -865,6 +878,7 @@ &dss_oldi_io_ctrl {
 
 &dss0 {
 	bootph-all;
+	ti,bt656-mode;
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_dpi_pins_default>;
@@ -876,7 +890,7 @@ port@1 {
 		reg = <1>;
 
 		dss0_dpi1_out: endpoint {
-			remote-endpoint = <&sii9022_in>;
+			remote-endpoint = <&panel_in>;
 		};
 	};
 };
-- 
2.39.1

