From 3f414349d993c913db8fe950d5a7286d6254ea66 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Tue, 17 Dec 2019 13:14:43 +0530 Subject: [PATCH] drivers: thermal: Add support for CDSP cooling devices via qmi cdev Add support for CDSP DCVS and CDSP hardware cooling devices to QMI cooling device driver. These cooling devices can be used to mitigate CDSP subsystem at high temperature via qmi interface. Change-Id: Ia9906b07ebca4bd6158b68e6e100405ebaa30b60 Signed-off-by: Manaf Meethalavalappu Pallikunhi --- drivers/thermal/qcom/qmi_cooling.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/thermal/qcom/qmi_cooling.c b/drivers/thermal/qcom/qmi_cooling.c index ede96c4075fc..ce794c0ea188 100644 --- a/drivers/thermal/qcom/qmi_cooling.c +++ b/drivers/thermal/qcom/qmi_cooling.c @@ -161,6 +161,14 @@ static struct qmi_dev_info device_clients[] = { .dev_name = "pa_fr1_dsc", .type = QMI_CDEV_MAX_LIMIT_TYPE, }, + { + .dev_name = "cdsp_sw", + .type = QMI_CDEV_MAX_LIMIT_TYPE, + }, + { + .dev_name = "cdsp_hw", + .type = QMI_CDEV_MAX_LIMIT_TYPE, + }, { .dev_name = "cpuv_restriction_cold", .type = QMI_CDEV_MIN_LIMIT_TYPE,