Enable OLDI support on AM62X
Subsystems (2)
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(+)
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
@@ -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 {
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_MMR0register 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
Signed-off-by Aradhya Bhatia <[email protected]>Signed-off-by Swamil Jain <[email protected]>
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@@ -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 {
PATCH 2/2 arm64: dts: ti: k3-am625: Add OLDI support
In reply to Swamil JainFrom: 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
@@ -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>;
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.
Signed-off-by Aradhya Bhatia <[email protected]>Signed-off-by Swamil Jain <[email protected]>
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@@ -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>;
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: a00ee8014d5b6bb00bc41d7fc947fd52f53c9209All 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