Skip to contentSkip to conversation

arm64: dts: ti: k3-am62/64: Add ESM Support

PATCH Applied Nishanth Menon 2 participants 4 messages May 30, 2023 – Jun 15, 2023

Subsystems (2)
lore
Share & tools
lore

Nishanth Menon

author maintainer
#0 lore raw

cover arm64: dts: ti: k3-am62/64: Add ESM Support

Couple of follow on patches based on [1] adding ESM nodes and mapping for AM62/AM64.

Nishanth Menon (2):
arm64: dts: ti: k3-am62: Add ESM support
arm64: dts: ti: k3-am64: Add ESM support

 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi  | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi  | 6 ++++++
 4 files changed, 24 insertions(+)

[1] https://lore.kernel.org/all/[email protected]/

Signature · 1 line
2.40.0
author maintainer
#1 lore raw

PATCH 1/2 arm64: dts: ti: k3-am62: Add ESM support

Add Error Signaling Module (ESM) instances in MCU and MAIN domains.

---

Depends on https://lore.kernel.org/all/[email protected]/
(to be merged via SoC tree)

 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi  | 6 ++++++
 2 files changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +6 -0
index bf3e054c72ce..2488e3a537fe 100644
@@ -207,6 +207,12 @@ main_pmx0: pinctrl@f4000 {
 		pinctrl-single,function-mask = <0xffffffff>;
 	};
 
+	main_esm: esm@420000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x420000 0x00 0x1000>;
+		ti,esm-pins = <160>, <161>, <162>, <163>, <177>, <178>;
+	};
+
 	main_timer0: timer@2400000 {
 		compatible = "ti,am654-timer";
 		reg = <0x00 0x2400000 0x00 0x400>;
arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi +6 -0
index 076601a41e84..19fc38157d94 100644
@@ -14,6 +14,12 @@ mcu_pmx0: pinctrl@4084000 {
 		pinctrl-single,function-mask = <0xffffffff>;
 	};
 
+	mcu_esm: esm@4100000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x4100000 0x00 0x1000>;
+		ti,esm-pins = <0>, <1>, <2>, <85>;
+	};
+
 	/*
 	 * The MCU domain timer interrupts are routed only to the ESM module,
 	 * and not currently available for Linux. The MCU domain timers are
Signature · 1 line
2.40.0
author maintainer
#2 lore raw

PATCH 2/2 arm64: dts: ti: k3-am64: Add ESM support

In reply to Nishanth Menon

Add Error Signaling Module (ESM) instances in MCU and MAIN domains.

---

Depends on https://lore.kernel.org/all/[email protected]/
(to be merged via SoC tree)

 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi  | 6 ++++++
 2 files changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am64-main.dtsi +6 -0
index 5e8036f32d79..0742af804378 100644
@@ -228,6 +228,12 @@ epwm_tbclk: clock@4140 {
 		};
 	};
 
+	main_esm: esm@420000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x420000 0x00 0x1000>;
+		ti,esm-pins = <160>, <161>;
+	};
+
 	main_uart0: serial@2800000 {
 		compatible = "ti,am64-uart", "ti,am654-uart";
 		reg = <0x00 0x02800000 0x00 0x100>;
arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi +6 -0
index 38ddf0b3b8a0..825793767d41 100644
@@ -109,4 +109,10 @@ mcu_pmx0: pinctrl@4084000 {
 		pinctrl-single,register-width = <32>;
 		pinctrl-single,function-mask = <0xffffffff>;
 	};
+
+	mcu_esm: esm@4100000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x4100000 0x00 0x1000>;
+		ti,esm-pins = <0>, <1>;
+	};
 };
Signature · 1 line
2.40.0
maintainer Applied
#3 lore raw
In reply to Nishanth Menon

Hi Nishanth Menon,

Quoted 8 lines · Nishanth Menon

Couple of follow on patches based on [1] adding ESM nodes and mapping for AM62/AM64.

Nishanth Menon (2):
arm64: dts: ti: k3-am62: Add ESM support
arm64: dts: ti: k3-am64: Add ESM support

[...]

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

[1/2] arm64: dts: ti: k3-am62: Add ESM support

      commit: a58eedd1d195f17418c327482a79de5b84bc5aa8
[2/2] arm64: dts: ti: k3-am64: Add ESM support
      commit: f049b541b81acd88133c2c2247d4fae6c33f1b99

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

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel