]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
authorHari Nagalla <hnagalla@ti.com>
Tue, 12 Mar 2024 09:44:35 +0000 (15:14 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 22 Mar 2024 19:50:21 +0000 (15:50 -0400)
The K3 J721S2 SoCs have three dual-core R5F subsystems, one in MCU
voltage domain and the other two in MAIN voltage domain. These R5F
clusters are similar to the R5F clusters in J7200 SoCs.

Compatible Info is updated to support J721S2 SoCs.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
drivers/remoteproc/ti_k3_r5f_rproc.c

index 6f3e12d915e618fe4f18248f69657747d45f904c..631e548dccef3cda8024e652a1a03a17c132b260 100644 (file)
@@ -855,7 +855,7 @@ static const struct k3_r5f_ip_data k3_data = {
        .tcm_ecc_autoinit = false,
 };
 
-static const struct k3_r5f_ip_data j7200_data = {
+static const struct k3_r5f_ip_data j7200_j721s2_data = {
        .tcm_is_double = true,
        .tcm_ecc_autoinit = true,
 };
@@ -863,7 +863,8 @@ static const struct k3_r5f_ip_data j7200_data = {
 static const struct udevice_id k3_r5f_rproc_ids[] = {
        { .compatible = "ti,am654-r5f", .data = (ulong)&k3_data, },
        { .compatible = "ti,j721e-r5f", .data = (ulong)&k3_data, },
-       { .compatible = "ti,j7200-r5f", .data = (ulong)&j7200_data, },
+       { .compatible = "ti,j7200-r5f", .data = (ulong)&j7200_j721s2_data, },
+       { .compatible = "ti,j721s2-r5f", .data = (ulong)&j7200_j721s2_data, },
        {}
 };
 
@@ -901,6 +902,7 @@ static const struct udevice_id k3_r5fss_ids[] = {
        { .compatible = "ti,am654-r5fss"},
        { .compatible = "ti,j721e-r5fss"},
        { .compatible = "ti,j7200-r5fss"},
+       { .compatible = "ti,j721s2-r5fss"},
        {}
 };