arm64: dts: ti: k3-j7*-ti-ipc-firmware: Switch MCU R5F cluster to Split-mode
Subsystems (2)
PATCH v2 1/1 arm64: dts: ti: k3-j7*-ti-ipc-firmware: Switch MCU R5F cluster to Split-mode
Several TI K3 SoCs like J7200, J721E, J721S2, J784S4 and J742S2 have a R5F cluster in the MCU domain which is configured for LockStep mode at the moment. The necessary support to use MCU R5F cluster in split mode has been added in the bootloader. And the TI IPC firmware for the split processors is already available public.
Now that the firmware dependent configs have been isolated out from board level DTS to the TI IPC Firmware DTSI since
commit c5b645dbecd6 ("arm64: dts: ti: k3-j7200-ti-ipc-firmware: Refactor IPC cfg into new dtsi"), switch this R5F cluster to Split mode by default in all the boards using TI IPC Firmware config. This gives out an extra general purpose R5F core free to run any applications as required. Lockstep mode remains default in the SoC level dtsi, so downstream board dts which do not use TI IPC Firmware config should not be impacted by this switch.
Users who prefer to use the fault-tolerant lockstep mode with TI IPC firmware config, can do that by setting ti,cluster-mode property to 1.
---
v2: Changelog:
[Andrew]:
1. Posted this as a separate patch from the DT refactoring series[0]
[General]:
2. Updated commit message to indicate the refactoring series has been merged, and now its time to switch the R5 Clusters into Split mode in the TI IPC Firmware config.
Link to v1:
https://lore.kernel.org/all/[email protected]/
Testing Done:
1. Tested that this patch does not introduce any new warnings/errors.
2. Tested Split core functionality of MCU R5F Cluster in TI J784S4 EVM.
[0]: https://lore.kernel.org/all/[email protected]
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi | 1 + arch/arm64/boot/dts/ti/k3-j721e-ti-ipc-firmware.dtsi | 1 + arch/arm64/boot/dts/ti/k3-j721s2-ti-ipc-firmware.dtsi | 1 + .../boot/dts/ti/k3-j784s4-j742s2-ti-ipc-firmware-common.dtsi | 1 + 4 files changed, 4 insertions(+)
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi +1 -0
@@ -94,6 +94,7 @@ &main_timer2 { &mcu_r5fss0 { status = "okay"; + ti,cluster-mode = <0>; }; &mcu_r5fss0_core0 {
arch/arm64/boot/dts/ti/k3-j721e-ti-ipc-firmware.dtsi +1 -0
@@ -211,6 +211,7 @@ &main_timer15 { }; &mcu_r5fss0 { + ti,cluster-mode = <0>; status = "okay"; };
arch/arm64/boot/dts/ti/k3-j721s2-ti-ipc-firmware.dtsi +1 -0
@@ -183,6 +183,7 @@ &main_timer5 { }; &mcu_r5fss0 { + ti,cluster-mode = <0>; status = "okay"; };
arch/arm64/boot/dts/ti/k3-j784s4-j742s2-ti-ipc-firmware-common.dtsi +1 -0
@@ -254,6 +254,7 @@ &main_timer9 { }; &mcu_r5fss0 { + ti,cluster-mode = <0>; status = "okay"; };
Signature · 1 line
2.34.1
Vignesh Raghavendra
maintainer[...]
Quoted 11 lines · Beleswar Padhi
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi | 1 + arch/arm64/boot/dts/ti/k3-j721e-ti-ipc-firmware.dtsi | 1 + arch/arm64/boot/dts/ti/k3-j721s2-ti-ipc-firmware.dtsi | 1 + .../boot/dts/ti/k3-j784s4-j742s2-ti-ipc-firmware-common.dtsi | 1 + 4 files changed, 4 insertions(+)arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi +0
-0
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi &main_timer2 { · line 97
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi +1
-0@@ -94,6 +94,7 @@ &main_timer2 { &mcu_r5fss0 { status = "okay"; + ti,cluster-mode = <0>;
As per DT coding convention, this property needs to be before status like below.
Quoted 15 lines
arch/arm64/boot/dts/ti/k3-j7200-ti-ipc-firmware.dtsi +0
-0}; &mcu_r5fss0_core0 {arch/arm64/boot/dts/ti/k3-j721e-ti-ipc-firmware.dtsi +1
-0@@ -211,6 +211,7 @@ &main_timer15 { }; &mcu_r5fss0 { + ti,cluster-mode = <0>; status = "okay"; };
Signature · 3 lines
Regards Vignesh https://ti.com/opensource