Skip to contentSkip to conversation

Enable OLDI support on AM62X

PATCH Applied Swamil Jain 3 participants 6 messages Sep 13, 2025 – Oct 31, 2025

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

cover Enable OLDI support on AM62X

The AM62x SoC features 2 OLDI TXes each, which makes it possible to connect them in dual-link or cloned single-link OLDI display modes. This series enables OLDI support on AM62X[1].

[1]: https://www.ti.com/product/AM625

Aradhya Bhatia (2):
arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control
arm64: dts: ti: k3-am625: Add OLDI support

 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 52 ++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
#1 lore raw

PATCH 1/2 arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control

From: Aradhya Bhatia <[email protected]>

Add TI DSS OLDI-IO control registers for AM625 DSS. This is a region of 12 32bit registers found in the TI AM625 CTRL_MMR0 register space[0]. They are used to control the characteristics of the OLDI DATA/CLK IO as needed by the DSS display controller node.

[0]: https://www.ti.com/lit/pdf/spruiv7

---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +5 -0
index 029380dc1a35..dcc71db8afd4 100644
@@ -76,6 +76,11 @@ audio_refclk1: clock-controller@82e4 {
 			assigned-clock-parents = <&k3_clks 157 18>;
 			#clock-cells = <0>;
 		};
+
+		dss_oldi_io_ctrl: oldi-io-controller@8600 {
+			compatible = "ti,am625-dss-oldi-io-ctrl", "syscon";
+			reg = <0x8600 0x200>;
+		};
 	};
 
 	dmss: bus@48000000 {
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control

Quoted 11 lines · Swamil Jain

From: Aradhya Bhatia <[email protected]>

Add TI DSS OLDI-IO control registers for AM625 DSS. This is a region of 12 32bit registers found in the TI AM625 CTRL_MMR0 register space[0]. They are used to control the characteristics of the OLDI DATA/CLK IO as needed by the DSS display controller node.

[0]: https://www.ti.com/lit/pdf/spruiv7

Regards
Devarsh

Quoted 20 lines
---
  arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 5 +++++
  1 file changed, 5 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +5 -0
index 029380dc1a35..dcc71db8afd4 100644
@@ -76,6 +76,11 @@ audio_refclk1: clock-controller@82e4 {
  			assigned-clock-parents = <&k3_clks 157 18>;
  			#clock-cells = <0>;
  		};
+
+		dss_oldi_io_ctrl: oldi-io-controller@8600 {
+			compatible = "ti,am625-dss-oldi-io-ctrl", "syscon";
+			reg = <0x8600 0x200>;
+		};
  	};
 
  	dmss: bus@48000000 {
#3 lore raw

PATCH 2/2 arm64: dts: ti: k3-am625: Add OLDI support

In reply to Swamil Jain

From: Aradhya Bhatia <[email protected]>

The AM625 SoC has 2 OLDI TXes under the DSS. Add their support.

---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 47 ++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +47 -0
index dcc71db8afd4..d240c157d819 100644
@@ -793,6 +793,53 @@ dss: dss@30200000 {
 		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
 		status = "disabled";
 
+		oldi-transmitters {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			oldi0: oldi@0 {
+				reg = <0>;
+				clocks = <&k3_clks 186 0>;
+				clock-names = "serial";
+				ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
+				status = "disabled";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					oldi0_port0: port@0 {
+						reg = <0>;
+					};
+
+					oldi0_port1: port@1 {
+						reg = <1>;
+					};
+				};
+			};
+
+			oldi1: oldi@1 {
+				reg = <1>;
+				clocks = <&k3_clks 186 0>;
+				clock-names = "serial";
+				ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
+				status = "disabled";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					oldi1_port0: port@0 {
+						reg = <0>;
+					};
+
+					oldi1_port1: port@1 {
+						reg = <1>;
+					};
+				};
+			};
+		};
+
 		dss_ports: ports {
 			#address-cells = <1>;
 			#size-cells = <0>;
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] arm64: dts: ti: k3-am625: Add OLDI support

Quoted 6 lines · Swamil Jain

From: Aradhya Bhatia <[email protected]>

The AM625 SoC has 2 OLDI TXes under the DSS. Add their support.

Regards
Devarsh

Quoted 62 lines
---
  arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 47 ++++++++++++++++++++++++
  1 file changed, 47 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +47 -0
index dcc71db8afd4..d240c157d819 100644
@@ -793,6 +793,53 @@ dss: dss@30200000 {
  		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
  		status = "disabled";
 
+		oldi-transmitters {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			oldi0: oldi@0 {
+				reg = <0>;
+				clocks = <&k3_clks 186 0>;
+				clock-names = "serial";
+				ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
+				status = "disabled";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					oldi0_port0: port@0 {
+						reg = <0>;
+					};
+
+					oldi0_port1: port@1 {
+						reg = <1>;
+					};
+				};
+			};
+
+			oldi1: oldi@1 {
+				reg = <1>;
+				clocks = <&k3_clks 186 0>;
+				clock-names = "serial";
+				ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
+				status = "disabled";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					oldi1_port0: port@0 {
+						reg = <0>;
+					};
+
+					oldi1_port1: port@1 {
+						reg = <1>;
+					};
+				};
+			};
+		};
+
  		dss_ports: ports {
  			#address-cells = <1>;
  			#size-cells = <0>;
maintainer Applied
#5 lore raw
In reply to Swamil Jain

Hi Swamil Jain,

Quoted 11 lines · Swamil Jain

The AM62x SoC features 2 OLDI TXes each, which makes it possible to connect them in dual-link or cloned single-link OLDI display modes. This series enables OLDI support on AM62X[1].

[1]: https://www.ti.com/product/AM625

Aradhya Bhatia (2):
arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control
arm64: dts: ti: k3-am625: Add OLDI support

[...]

I have applied the following to branch ti-next on [1]. Thank you!

[1/2] arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control

      commit: 779ea073dba35a8f29c8403684c6e0177504775b
[2/2] arm64: dts: ti: k3-am625: Add OLDI support
      commit: a00ee8014d5b6bb00bc41d7fc947fd52f53c9209

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh