Add QMI TMD instance IDs and cooling device name arrays for CDSP
and MPSS subsystems on Shikra to enable thermal mitigation support.

Signed-off-by: Dipa Ramesh Mantre <[email protected]>
---
 drivers/remoteproc/qcom_q6v5_pas.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/remoteproc/qcom_q6v5_pas.c 
b/drivers/remoteproc/qcom_q6v5_pas.c
index a005546c265d..3daaed6ca596 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1660,6 +1660,9 @@ static const struct qcom_pas_data shikra_cdsp_resource = {
        .sysmon_name = "cdsp",
        .ssctl_id = 0x17,
        .smem_host_id = 5,
+       .tmd_instance_id = 0x43,
+       .tmd_name = cdsp_tmd_name,
+       .num_tmd = ARRAY_SIZE(cdsp_tmd_name),
 };
 
 static const struct qcom_pas_data shikra_lpaicp_resource = {
@@ -1688,6 +1691,9 @@ static const struct qcom_pas_data shikra_mpss_resource = {
        .ssr_name = "mpss",
        .sysmon_name = "modem",
        .ssctl_id = 0x12,
+       .tmd_instance_id = 0x0,
+       .tmd_name = modem_tmd_name,
+       .num_tmd = ARRAY_SIZE(modem_tmd_name),
 };
 
 static const struct qcom_pas_data sm8650_cdsp_resource = {

-- 
2.34.1


Reply via email to