From nobody Tue Feb 10 01:14:59 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 1E614332EC8 for ; Tue, 23 Dec 2025 12:33:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766493238; cv=none; b=XlhwV7h8z3Ml12FN+UjE2WaNsYAf/8v4qPylYrWNyZ2i/oGHIEMFEXe6K0anNES3lHtiL98WBMyTT5AxGdIYvxU+qpHz9FaggogweeiPfO7p8XFnRAq8fkPm65YFqsjlPYrGMOrT+25I7Qh5uSpxOwNxVrTB4oqJesgwzogrLq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766493238; c=relaxed/simple; bh=t+1pONdPmLz9thqLGoirXKmRtishbOd8pRYwruz++no=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GAB15gxrFcfQ+uO82vH7fGv+/ok8k9V4yC9It4wep/YZEonzCX77crM4E86ervhWRT/5SRxB9oGxX9jMESpsTcSw1YE/R/wZ9CPheKpV/cMed/2f6hjDEQ38+pYtfFgnpgBDGjTn/e5xyHh0yXpDvgTR/MOPWo7/wYtu1PsuOC4= 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=F6QcCRty; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Y+WUH42D; arc=none smtp.client-ip=205.220.168.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="F6QcCRty"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Y+WUH42D" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BN74viZ2115196 for ; Tue, 23 Dec 2025 12:33:56 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=y1rAlFdJrZS OVjLiOHpjSKlV/hR268C4DVo9cIphRKs=; b=F6QcCRtygNQ9YiYZqE/chu1XDxN JSVUZhsnfr4rB1IGb01650BmuOZHNIVtYjUPjEKb/lzSbOUnBusPw3jtZTFKdfyI 4uGzYKXyOjEhik9vNcdKeMdakCJDcMLVj/Hzrzx1trWC1n4hKezx1nPXYFZEQ2Ll 6keOF9bPWqFTHgWHoLe6YGo6MjXXiNVX2MD7SOMpOw2GNkUxPuXFQlSJq3ljIjGT l82i0LFU8REFA2T4T9bkUtkbPDGD+Cyx0RZeX4hsHqKqmM9w981UrpY78HCSas5V q2tGzWpz+yIpcyll1tbpDWY9GwcNbKq+6gXprFodsVbz4M/4WqvEytwDW0w== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b7cudjnps-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Dec 2025 12:33:56 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-34cc8bf226cso11113833a91.3 for ; Tue, 23 Dec 2025 04:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766493235; x=1767098035; 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=y1rAlFdJrZSOVjLiOHpjSKlV/hR268C4DVo9cIphRKs=; b=Y+WUH42Dt0tzntolGEX8mR/iOATUj6DTfLHD+Kfzh/rjWoI1yU0Xx0KpdVP7RcQZzu kenUlWsXk9UZjA4EatzI5NMurFwcbcSfG4UiCVPDXUqVkv6ifjyLWx6nNIgq3A5w8zxt 9hkHkrzKonWNrQB5gkB1JCN34mlLoDa7SAdEIjnCc0wRBkGC1dHPfqeVLfgicmqxWgI4 fsJ7Qr+Msplu6gwy3bnmDnc+X7CLdRO9YOsnXuO0eU4LjTlfCadXvAQum0m1v7EMFg9R cGNxrAq6oIKuIQJJsLPtQLdRodY5cJXGy5T7Obb+73WUvRGdqP5eYV+tXXGHycrhQXM8 w+Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766493235; x=1767098035; 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=y1rAlFdJrZSOVjLiOHpjSKlV/hR268C4DVo9cIphRKs=; b=nykZwLLcLgJba8v3HdJwix7yesD9soyJupgmfIjo7KKOdAb8ClddFHdbqH9OjPo7AD OVh0rI6xXJoqwuxiuxR4Szt9rguhbrM0D8lSQ41JpkVTh54blyEt4e8ooWSnk9r5Zy/G dBcKpqAWVfkmxTZk7y6c3eHoH2X9rhnu4OPx11B/BIFTOh+3+Ym9Yi8JSJ1YA4fqDSjx /0xnIXdq/3PXBxexDgAM50pz+3EcNnvJixFo/zYBVGf4acYakVLrPuiC1lAGItvStr3q O3SuHXlvrmZf5o/us9KjpAQ97KFuuQoibMSey9y9tnvrYMYia3tI5JKRJHtQVmVmZhqr ZaDw== X-Forwarded-Encrypted: i=1; AJvYcCXIYLsktUkSGgOavDQq9IWjRMgjvQfMPEUrhNC0rHpn/XaFHE40PNJVmHf2wX2X9SIk+5PcPiYwat0ZWfw=@vger.kernel.org X-Gm-Message-State: AOJu0Yw9EZU/hOAm8z+HeaXjPSqAi6PprBQCDd30+KECZGE24uuxmial RkT07sszhyYz+EPQQNAVYTaeE6jeq48Yap50FUxdHMFNEzShcV2ZW4QZ9+Z3DtaF9+YFoUfeSlQ jdl4k0FNruNPe1E45M2rBrBWGSUwfXDHtbhn/YLDXVEZ14ggcjQz1RfiUV3sZpizCV8Y= X-Gm-Gg: AY/fxX4REKsuKJfJLL3niapAVAb4Gl3RV6P2NQ20jB5IT8/tLu+P/RRHqtoIoP5tpqq yi7nScRrgRgieksoRMPW8GhPiZW+/dM70OPOu/FnzYlU0KNEU3npf+yjbykOFt7OnujwGi1ZzkL 44fOugMla0SDTuW+S58lBYmkJmAzLTtbf7b3Xxg+YRuEdRU31pXNcySf4u/9cy1a69Owl5cNVk/ 0MDrJkh+jugdQwDhxlsyw7CCwnH2WMNX9NoaGVDcO9tOqaDshNbULUZ2KRZAKspY/aZJ64kamd3 BofudnY6ZSV2XTTw9S4gd9aW+hoo4Am5MEXiqSha7J6PK+yz3w+4ppUwjG0UNDkhmSdpG+eFty7 33oicuZnjnPLtm8wFw4urFvrh0asDONPR9OpAYcs= X-Received: by 2002:a17:90b:384a:b0:34a:47d0:9a82 with SMTP id 98e67ed59e1d1-34e921a3df6mr11826812a91.23.1766493235389; Tue, 23 Dec 2025 04:33:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHveb3KmyUE9xrrxd+/CYmgePpKbT90CI0pF4EhDAa2a5cKJowrgCTGXrCE8Z0X0odRIJci9Q== X-Received: by 2002:a17:90b:384a:b0:34a:47d0:9a82 with SMTP id 98e67ed59e1d1-34e921a3df6mr11826787a91.23.1766493234807; Tue, 23 Dec 2025 04:33:54 -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.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 04:33:54 -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 5/8] arm64: dts: qcom: Enable cdsp qmi tmd devices for lemans Date: Tue, 23 Dec 2025 18:02:24 +0530 Message-Id: <20251223123227.1317244-6-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-Authority-Analysis: v=2.4 cv=ebkwvrEH c=1 sm=1 tr=0 ts=694a8c34 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=SR122_ySadgPJsZlA5MA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-GUID: FfVZX-XxCJJsCu6RLBTAQK6w-VZi2Ewo X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIzMDEwMiBTYWx0ZWRfXwcPfK/bMqIoN uoOYtGxSREdXrnXrSgG/7ge/2pO1h5bFvaC+jQjrxpixOIyw15ESBSNXegPzNEFp+EZwFHIeW02 VMzcRydzSNVYpU4Vqc+MZAoJ8WSXCRSisOwAlluloJZ3QKwssH6+0D+XIekv3AUrXOqwAEvzuEj jvsfKrQUg2J3cI5jVMHbOpdKmcftyI3pemK5IU4pNKicvUeEHT7PJGs9tCt4Cc8GhmN7eAGmwYe mGyYgTQLpLhaO/p67NNzlp1rM5Kv+Mo+gl/P/URCN1KaI5tPsZaGNWlgKAmx9DapdsyBA3AL8fa W32WppvHcp8Dd2MiQhveKmuLK12/Sv5+cyrg0c0Fgsr3wfGQMj1KDw3kRM1yO7CkGbU91SIT15a fxk8uZeN+EZOkf13AyrfPoMPQ0ZZdVOh7apcHIYf/QbY7koA/AgZlw8j1H3+KGQObNO3Nf4EnWZ uG19IE5y4wVJ9Hfb4BQ== X-Proofpoint-ORIG-GUID: FfVZX-XxCJJsCu6RLBTAQK6w-VZi2Ewo 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 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 spamscore=0 impostorscore=0 lowpriorityscore=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 both cdsp and cdsp1. Signed-off-by: Gaurav Kohli --- arch/arm64/boot/dts/qcom/lemans.dtsi | 138 ++++++++++++++++++++++++--- 1 file changed, 126 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qco= m/lemans.dtsi index 0b154d57ba24..68cc4badaed5 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -21,6 +21,7 @@ #include #include #include +#include =20 / { interrupt-parent =3D <&intc>; @@ -7018,6 +7019,14 @@ compute-cb@11 { }; }; }; + + cooling { + compatible =3D "qcom,qmi-cooling-cdsp"; + cdsp_sw0: cdsp_sw { + label =3D "cdsp_sw"; + #cooling-cells =3D <2>; + }; + }; }; =20 remoteproc_cdsp1: remoteproc@2a300000 { @@ -7174,6 +7183,15 @@ compute-cb@13 { }; }; }; + + + cooling { + compatible =3D "qcom,qmi-cooling-cdsp"; + cdsp_sw1: cdsp_sw { + label =3D "cdsp_sw"; + #cooling-cells =3D <2>; + }; + }; }; =20 remoteproc_adsp: remoteproc@30000000 { @@ -7856,7 +7874,7 @@ nsp-0-0-0-thermal { thermal-sensors =3D <&tsens2 5>; =20 trips { - trip-point0 { + nsp_0_0_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7868,6 +7886,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_0_0_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-1-0-thermal { @@ -7876,7 +7902,7 @@ nsp-0-1-0-thermal { thermal-sensors =3D <&tsens2 6>; =20 trips { - trip-point0 { + nsp_0_1_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7888,6 +7914,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_1_0_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-2-0-thermal { @@ -7896,7 +7930,7 @@ nsp-0-2-0-thermal { thermal-sensors =3D <&tsens2 7>; =20 trips { - trip-point0 { + nsp_0_2_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7908,6 +7942,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_2_0_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-0-0-thermal { @@ -7916,7 +7958,7 @@ nsp-1-0-0-thermal { thermal-sensors =3D <&tsens2 8>; =20 trips { - trip-point0 { + nsp_1_0_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7928,6 +7970,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_0_0_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-1-0-thermal { @@ -7936,7 +7986,7 @@ nsp-1-1-0-thermal { thermal-sensors =3D <&tsens2 9>; =20 trips { - trip-point0 { + nsp_1_1_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7948,6 +7998,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_1_0_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-2-0-thermal { @@ -7956,7 +8014,7 @@ nsp-1-2-0-thermal { thermal-sensors =3D <&tsens2 10>; =20 trips { - trip-point0 { + nsp_1_2_0_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -7968,6 +8026,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_2_0_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 ddrss-0-thermal { @@ -8110,7 +8176,7 @@ nsp-0-0-1-thermal { thermal-sensors =3D <&tsens3 5>; =20 trips { - trip-point0 { + nsp_0_0_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8122,6 +8188,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_0_1_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-1-1-thermal { @@ -8130,7 +8204,7 @@ nsp-0-1-1-thermal { thermal-sensors =3D <&tsens3 6>; =20 trips { - trip-point0 { + nsp_0_1_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8142,6 +8216,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_1_1_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-0-2-1-thermal { @@ -8150,7 +8232,7 @@ nsp-0-2-1-thermal { thermal-sensors =3D <&tsens3 7>; =20 trips { - trip-point0 { + nsp_0_2_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8162,6 +8244,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_0_2_1_alert0>; + cooling-device =3D <&cdsp_sw0 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-0-1-thermal { @@ -8170,7 +8260,7 @@ nsp-1-0-1-thermal { thermal-sensors =3D <&tsens3 8>; =20 trips { - trip-point0 { + nsp_1_0_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8182,6 +8272,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_0_1_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-1-1-thermal { @@ -8190,7 +8288,7 @@ nsp-1-1-1-thermal { thermal-sensors =3D <&tsens3 9>; =20 trips { - trip-point0 { + nsp_1_1_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8202,6 +8300,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_1_1_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 nsp-1-2-1-thermal { @@ -8210,7 +8316,7 @@ nsp-1-2-1-thermal { thermal-sensors =3D <&tsens3 10>; =20 trips { - trip-point0 { + nsp_1_2_1_alert0: trip-point0 { temperature =3D <105000>; hysteresis =3D <5000>; type =3D "passive"; @@ -8222,6 +8328,14 @@ trip-point1 { type =3D "passive"; }; }; + + cooling-maps { + map0 { + trip =3D <&nsp_1_2_1_alert0>; + cooling-device =3D <&cdsp_sw1 + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 ddrss-1-thermal { --=20 2.34.1