From nobody Tue Feb 10 16:18:27 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBFF73328F6 for ; Tue, 23 Dec 2025 12:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766493254; cv=none; b=VlLJOHfnB4mbaCoUsb2QT2YZjOR8H8JF0d5NScIm+D1HrcTuqBshQInDHfi7DAnpOCPK3pKXlGOynDnH07UTdI7hZDljK6QDrW3Wb0R6Fiup32fimG4hzl8OTYHuLXuzae2zJtvTPaq8o6QRa71g/a0QHH2kVgOzRazPFZYpP+s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766493254; c=relaxed/simple; bh=VJnabV5NE9B8s8GjpntpzXqF/MDpr7dnVToPXUTxIm0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KbnA5naDOLb0w6ctzPPRV5yMnYq4bkZXX3+PO9edwE0Ctd/AWFQsz+EB/se81YIMRm7GFWk4tQYqJRHuMBiHlsUj6OhLM2QHwdKXBCuVNtzo8AE1+7Dvj9VRD+SzMJwi9fQjqaL/hqjKevhWzrHanSPloOYTkkw/qV1vENQiylE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=jRYJy6Qp; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Man4tGvC; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="jRYJy6Qp"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Man4tGvC" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BNBREvu700570 for ; Tue, 23 Dec 2025 12:34:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=6gWjZeGNdHf 8e38PN2KZAbnK77L2YjO8Vi7vnEfr27Y=; b=jRYJy6QpeVZPYde54jClHSIQ3HP JKik7S/A+pnwqUqocGFAb9Pt7B2ETdbZrcXsW26s2B3Ixio/LFZMJy0aS8cjhYiW kfeeDfWJaf1mGSb3OE1S2IO23I5IdmW5LD+ceLCqLuSoc5QnPXu3ekBtO8tR5/Cr bCH75c1G+IDdrGPtxlEq8x3VWnlVb6GKktsBK+g2fSwumE4oWbEBsLfuvfpCgmKf xiskNq1QsFJb+mShtQv4akknxp1r31qjrLk1kRHeOnETMrjRsHyKqAmvZSeqJOEX xNdr4qJ4x09bsOH3/4zd1ysStuMva8bgeRD+fsnD6pShhihOBV+A9435PZw== Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b7t7jr64k-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Dec 2025 12:34:11 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-34c66cb671fso7144059a91.3 for ; Tue, 23 Dec 2025 04:34:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766493251; x=1767098051; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6gWjZeGNdHf8e38PN2KZAbnK77L2YjO8Vi7vnEfr27Y=; b=Man4tGvCFMGyEPnVnjz6Y8/l0kf0TQcI40NI/FyP7GKLJ/qY0iooGxuviz2YkTjRb7 oHcXVSocHetruySCgO7ExKV2EgOaaVVbjyWDup+yqGzClFJNm5BhAi0lh6iexuqXswhv jU7q/yU+4SFPo8sLs/1aRg8zEkDJRYQVffK6a+hJvd6lYo3d1/JLnnqUmEOwwY3W7P3z vX5PbA8nFB9R9FKRVmf85uSqrt0UtwXPFoVQ/4kqLIEIc8mVTqz7FO52z7HbbHtdcGVM AtrawNnJ+Oox6CJs/HhDscaRV0PGfenuEHzveUwm8LTN+tBK+/5aTZOF5sF9gfC6Km1Y BMUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766493251; x=1767098051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6gWjZeGNdHf8e38PN2KZAbnK77L2YjO8Vi7vnEfr27Y=; b=Fjoqkg8UVm+AsqzigoP185g19Rt8MEFwhXM0Bq6q0MxgU0KNJICmg8Rwl3ZhD29Vy9 Z3JktFgCFTL6yWsQi74tJZ+/wSlpkac0nehaPFpwlX21j+qjgVMZmMZIqrmWPWusq70b 4jsnpOQuwIwx32ccxhMre9dwRBO/XkMf4pVABY4uPChtNHmq+y8czS+4SGvAPNP+pD9G ieZFrUPDzZ7bIGb6QjRWiUCSRJIuRp0QBGOhV/IY1H8J/4XBHV54wvr5BK7IDurBjxHv 8cyRouMRsRyB/S0R6LI/grGHYRhRb0aUWAV6r7g3n2y8CLw1QI8aKDG8vbLDiPKAJatc rwkA== X-Forwarded-Encrypted: i=1; AJvYcCXEFFKRLw+QplDWWQSFdlOw9Q/wJNQZ/MuWUKYIUKlCmUTbGDYAwtNCV5lTxaxhUbC/f33NmlY+AQPNRL8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+sWEBwr6OSQ9NaG6jASaPGgq/yENFIjGnaLHqYvpFpFgECz78 EYOyCwP8Oeff5jhGVT3tXh0pKyGM2qDeNeA1mKiyFUVtAz2x0+HzfPpGXPEfr5SuZWqsbqxvewg ZnGJ36SLNzFpVnNCOZa3Nl9px5wQz9DREgiS+NsXIUNhkVNF6mxm7xj1jINQGSONPsT8= X-Gm-Gg: AY/fxX7daMq/hkKkG2mb4Xu5rYm4z8xTqvmbsmudeugwDh/kgrBg+gyDDbR7lxQevW/ NcvnfQ4dJoj/rL7QLMwpiD/cDUdH794BHtxnOIirl/pf+19H84v6znGwa07AavRsEyNtGHnC3wz lnfBM/sM16ZkJH2+v63aNZhZ+sykADng/FoKSDllll7G1m52XUZ4k+/Yr3HDka1N6vAM0f2OtH7 YNd9txzV4PpUrgGrN9lJfvbwshCgbDNGLjjt5G5TMfDTPG5KgxJIs/7AndRtVJnhH5/ofsgAgkA Y2b++i/QO2UV6blxdyI8Hp36JHso7WrnQTybGBp+ehESv2tgiENJM0YfpiBtZJ78LToDBKbJyt9 XzqPogJTc1ws5JNIfbyb3KSgmMcPXrAE8QRsPXrs= X-Received: by 2002:a17:90b:548c:b0:34c:37b8:db34 with SMTP id 98e67ed59e1d1-34e921e959dmr10243468a91.32.1766493250276; Tue, 23 Dec 2025 04:34:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/eEWLBnl2k0jZewfmrXJkfFQsP7K04TJpar3r+2nE2qnKZXVlmbrv8wh0IR6tnAgjj5rSxA== X-Received: by 2002:a17:90b:548c:b0:34c:37b8:db34 with SMTP id 98e67ed59e1d1-34e921e959dmr10243443a91.32.1766493249767; Tue, 23 Dec 2025 04:34:09 -0800 (PST) Received: from hu-gkohli-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e921b39dfsm12936044a91.8.2025.12.23.04.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 04:34:09 -0800 (PST) From: Gaurav Kohli To: andersson@kernel.org, mathieu.poirier@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, rafael@kernel.org, daniel.lezcano@linaro.org, rui.zhang@intel.com, lukasz.luba@arm.com, konradybcio@kernel.org, amitk@kernel.org, mani@kernel.org, casey.connolly@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Gaurav Kohli Subject: [PATCH v1 8/8] arm64: dts: qcom: Enable cdsp qmi tmd devices for monaco Date: Tue, 23 Dec 2025 18:02:27 +0530 Message-Id: <20251223123227.1317244-9-gaurav.kohli@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251223123227.1317244-1-gaurav.kohli@oss.qualcomm.com> References: <20251223123227.1317244-1-gaurav.kohli@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIzMDEwMiBTYWx0ZWRfX3CCHQgxfgmTk RqbjPO9G3wTeo4pfceSOvOlQ3uA/3ae5fmxcLwN9IAifqsQ9XwwQNdLlgjE4OvAOxJIHrsHetid nB73FIKx8fEF76ZnCE+9oR+geHVemup21WGY9Ad+b+ta9AXSIFtWqS9Sk27pFFHcKFlFuUTxXUN MQi3VRjr2nxbhj8LaZIhEn0w9UQ3FDrM3k+84MbfiRD5geVZvLueiFyyxL/aAcpfoVioVCsPJY6 qis15Rw9SM6wJU8x8Sudc5nkob3WtYbKLGwCxiaUQ5MFg4A0MmBnmAZp2m9e7anrY+yMM6oNTM5 far7O3cafVd9oTL+xwUpF6TTBFZBJ9SRpieorGbYfRB9LOBxZz/vxc7dUnxHpaEjkJK++KLhcUC UAXLJjLekLvRKYkolqzNqLYzUOumY2rrkyIdXrR3UJZBvH6gFzWwXiKFiHyk3BNf48EIhcyE4Pr DTzP1AyPfNH0jErUjNw== X-Authority-Analysis: v=2.4 cv=IvATsb/g c=1 sm=1 tr=0 ts=694a8c43 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=IQafhW1YQlm6yhshX2cA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-GUID: dj7jMB92Sq8m4XZdeX3S_V7HSim8DjsW X-Proofpoint-ORIG-GUID: dj7jMB92Sq8m4XZdeX3S_V7HSim8DjsW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-23_03,2025-12-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512230102 Content-Type: text/plain; charset="utf-8" Enable cdsp cooling devices and thermal zone cooling map bindings for cdsp. Signed-off-by: Gaurav Kohli --- arch/arm64/boot/dts/qcom/monaco.dtsi | 92 ++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qco= m/monaco.dtsi index 985e37bf4876..1fe148ec5cf7 100644 --- a/arch/arm64/boot/dts/qcom/monaco.dtsi +++ b/arch/arm64/boot/dts/qcom/monaco.dtsi @@ -6217,6 +6217,14 @@ compute-cb@4 { }; }; }; + + cooling { + compatible =3D "qcom,qmi-cooling-cdsp"; + cdsp_sw: cdsp_sw { + label =3D "cdsp_sw"; + #cooling-cells =3D <2>; + }; + }; }; =20 tsens2: thermal-sensor@c251000 { @@ -6569,36 +6577,78 @@ nsp-0-0-0-thermal { thermal-sensors =3D <&tsens2 5>; =20 trips { + nsp_0_0_0_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_0_0_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-1-0-thermal { thermal-sensors =3D <&tsens2 6>; =20 trips { + nsp_0_1_0_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_1_0_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-2-0-thermal { thermal-sensors =3D <&tsens2 7>; =20 trips { + nsp_0_2_0_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_2_0_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 ddrss-0-thermal { @@ -6689,36 +6739,78 @@ nsp-0-0-1-thermal { thermal-sensors =3D <&tsens3 5>; =20 trips { + nsp_0_0_1_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_0_1_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-1-1-thermal { thermal-sensors =3D <&tsens3 6>; =20 trips { + nsp_0_1_1_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_1_1_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-2-1-thermal { thermal-sensors =3D <&tsens3 7>; =20 trips { + nsp_0_2_1_alert0: trip-point0 { + temperature =3D <115000>; + hysteresis =3D <5000>; + type =3D "passive"; + }; + nsp-critical { temperature =3D <125000>; hysteresis =3D <1000>; type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_2_1_alert0>; + cooling-device =3D <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 ddrss-1-thermal { --=20 2.34.1