From db8bcdb00af59e4a88d72f7ce115200d554c8d2d Mon Sep 17 00:00:00 2001 From: Vishal Mahaveer Date: Mon, 10 Mar 2025 17:02:56 -0500 Subject: [PATCH] board: ti: am62px: rm-cfg: Add support for HC BCDMA The first 4 block copy channels and rings on AM62P support High Capacity Block Copy. These channels have approximately 3x improvement over the normal Block copy channels when doing DDR-to-DDR copy. Currently, during allocation these channels do not have a separate interface and are allocated with normal BCDMA channels. Latest TIFS and DM firmware adds support for differentiating these High Capcity resources. This update is for allocating these new resource type to different hosts with below mentioned scheme. --------------------- --------------- ------------- ---------------- Resource A53_2 MCU_R5 WKUP_R5 --------------------- --------------- ------------- ---------------- BCDMA HC CHAN [4] => 2 (Primary) 1 (Primary) 1 (Primary) BCDMA HC CHAN RING [4] => 2 (Primary) 1 (Primary) 1 (Primary) BCDMA CHAN [4] => 18 (Primary) 2 (Primary) 6 (Primary) BCDMA CHAN RING[4] => 18 (Primary) 2 (Primary) 6 (Primary) Signed-off-by: Sparsh Kumar Signed-off-by: Sebin Francis Signed-off-by: Vishal Mahaveer --- board/ti/am62px/rm-cfg.yaml | 70 +++++++++++++++++++++++++++++++------ 1 file changed, 59 insertions(+), 11 deletions(-) diff --git a/board/ti/am62px/rm-cfg.yaml b/board/ti/am62px/rm-cfg.yaml index dc445a4b72f..73da85eeade 100644 --- a/board/ti/am62px/rm-cfg.yaml +++ b/board/ti/am62px/rm-cfg.yaml @@ -244,7 +244,7 @@ rm-cfg: subhdr: magic: 0x7B25 size: 8 - resasg_entries_size: 1048 + resasg_entries_size: 1112 reserved: 0 resasg_entries: - @@ -303,31 +303,55 @@ rm-cfg: reserved: 0 - start_resource: 0 + num_resource: 2 + type: 1676 + host_id: 12 + reserved: 0 + - + start_resource: 2 + num_resource: 1 + type: 1676 + host_id: 35 + reserved: 0 + - + start_resource: 2 + num_resource: 1 + type: 1676 + host_id: 36 + reserved: 0 + - + start_resource: 3 + num_resource: 1 + type: 1676 + host_id: 30 + reserved: 0 + - + start_resource: 4 num_resource: 18 type: 1677 host_id: 12 reserved: 0 - - start_resource: 18 + start_resource: 22 num_resource: 6 type: 1677 host_id: 35 reserved: 0 - - start_resource: 18 + start_resource: 22 num_resource: 6 type: 1677 host_id: 36 reserved: 0 - - start_resource: 24 + start_resource: 28 num_resource: 2 type: 1677 host_id: 30 reserved: 0 - - start_resource: 26 - num_resource: 6 + start_resource: 30 + num_resource: 2 type: 1677 host_id: 128 reserved: 0 @@ -387,31 +411,55 @@ rm-cfg: reserved: 0 - start_resource: 0 + num_resource: 2 + type: 1695 + host_id: 12 + reserved: 0 + - + start_resource: 2 + num_resource: 1 + type: 1695 + host_id: 35 + reserved: 0 + - + start_resource: 2 + num_resource: 1 + type: 1695 + host_id: 36 + reserved: 0 + - + start_resource: 3 + num_resource: 1 + type: 1695 + host_id: 30 + reserved: 0 + - + start_resource: 4 num_resource: 18 type: 1696 host_id: 12 reserved: 0 - - start_resource: 18 + start_resource: 22 num_resource: 6 type: 1696 host_id: 35 reserved: 0 - - start_resource: 18 + start_resource: 22 num_resource: 6 type: 1696 host_id: 36 reserved: 0 - - start_resource: 24 + start_resource: 28 num_resource: 2 type: 1696 host_id: 30 reserved: 0 - - start_resource: 26 - num_resource: 6 + start_resource: 30 + num_resource: 2 type: 1696 host_id: 128 reserved: 0 -- 2.39.5