Message ID | 20221228123655.15384-3-hnagalla@ti.com |
---|---|
State | Superseded |
Headers | show |
Series | Add C7xv DSP for AM62A | expand |
On 12/28/22 07:32, Raghavendra, Vignesh wrote: >> with anlytics engine for deep leraning purposes. The remoteproc >> handling for device management is similar to the C66/C71 DSPs on K3 >> J7 family SoCs, even though there are additional hardware accelerators >> and IP updates to C7xv subsystem. >> >> Signed-off-by: Hari Nagalla<hnagalla@ti.com> >> Signed-off-by: Jai Luthra<j-luthra@ti.com> >> --- > Signed-off-by of submitter should be at the last. > > I see original author of the patch is Jai here. So you need to amend the > patch such that original author is set to Jai. His Signed-off-by should > be the first and then yours. > Thanks for pointing it out. Fixed, sending v2 with the corrections.
diff --git a/drivers/remoteproc/ti_k3_dsp_remoteproc.c b/drivers/remoteproc/ti_k3_dsp_remoteproc.c index eb9c64f7b9b4..ec626a37fef6 100644 --- a/drivers/remoteproc/ti_k3_dsp_remoteproc.c +++ b/drivers/remoteproc/ti_k3_dsp_remoteproc.c @@ -870,6 +870,10 @@ static const struct k3_dsp_mem_data c71_mems[] = { { .name = "l1dram", .dev_addr = 0xe00000 }, }; +static const struct k3_dsp_mem_data c7xv_mems[] = { + { .name = "l2sram", .dev_addr = 0x800000 }, +}; + static const struct k3_dsp_dev_data c66_data = { .mems = c66_mems, .num_mems = ARRAY_SIZE(c66_mems), @@ -884,10 +888,18 @@ static const struct k3_dsp_dev_data c71_data = { .uses_lreset = false, }; +static const struct k3_dsp_dev_data c7xv_data = { + .mems = c7xv_mems, + .num_mems = ARRAY_SIZE(c7xv_mems), + .boot_align_addr = SZ_2M, + .uses_lreset = false, +}; + static const struct of_device_id k3_dsp_of_match[] = { { .compatible = "ti,j721e-c66-dsp", .data = &c66_data, }, { .compatible = "ti,j721e-c71-dsp", .data = &c71_data, }, { .compatible = "ti,j721s2-c71-dsp", .data = &c71_data, }, + { .compatible = "ti,am62a-c7xv-dsp", .data = &c7xv_data, }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, k3_dsp_of_match);