remoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs
authorHari Nagalla <hnagalla@ti.com>
Mon, 22 Nov 2021 12:27:26 +0000 (06:27 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Dec 2021 16:51:30 +0000 (09:51 -0700)
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>
Link: https://lore.kernel.org/r/20211122122726.8532-5-hnagalla@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_r5_remoteproc.c

index 6499302d00c33321ce21b1ca99632fbf53e7fa13..969531c05b13a36fa7d7ece9f822b1edf124f352 100644 (file)
@@ -1535,7 +1535,7 @@ static const struct k3_r5_soc_data am65_j721e_soc_data = {
        .single_cpu_mode = false,
 };
 
-static const struct k3_r5_soc_data j7200_soc_data = {
+static const struct k3_r5_soc_data j7200_j721s2_soc_data = {
        .tcm_is_double = true,
        .tcm_ecc_autoinit = true,
        .single_cpu_mode = false,
@@ -1550,8 +1550,9 @@ static const struct k3_r5_soc_data am64_soc_data = {
 static const struct of_device_id k3_r5_of_match[] = {
        { .compatible = "ti,am654-r5fss", .data = &am65_j721e_soc_data, },
        { .compatible = "ti,j721e-r5fss", .data = &am65_j721e_soc_data, },
-       { .compatible = "ti,j7200-r5fss", .data = &j7200_soc_data, },
+       { .compatible = "ti,j7200-r5fss", .data = &j7200_j721s2_soc_data, },
        { .compatible = "ti,am64-r5fss",  .data = &am64_soc_data, },
+       { .compatible = "ti,j721s2-r5fss",  .data = &j7200_j721s2_soc_data, },
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, k3_r5_of_match);