From mboxrd@z Thu Jan 1 00:00:00 1970 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 0CC33308F28 for ; Fri, 30 Jan 2026 07:09:00 +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=1769756942; cv=none; b=SwWy9pKD65uSuGoZYT7C0GymoZ+ZsuFaXxxgG9PqWdUe3BnOO5/SywbEG87ZmlCKXu4TQeoL1A8OdZCi5iZtkFE+ZOWwoNW2K5UXxPh3bL8fJgXLH9bL3k8Ir27uxSTKODy7tg/emZmbkrmHWZb/OmoSC99Fkq0OrIavmnk//ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769756942; c=relaxed/simple; bh=vFbTaRxWPwQB59kC9o4nLdn1Q/su2WIu577U4EPRrVI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZtalBfJHLfN8tjiCz4jmKnny2XrhzMlsw+1PbzdWbDC3WUKmDxGfaDjRuW60xe63uoUiWkHJDIKWD4CYyP35kCQ3sLOE1XSXnBNdg2tNODpUdc//Ia4aHB6xhuyuU18kpNVnnM4fxdQUScyDZ3ki8zPYT/9r4KBQxWB5R1GTMps= 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=ObBNJUCP; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gaJIdKOu; 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="ObBNJUCP"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gaJIdKOu" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60U3VgPk2992846 for ; Fri, 30 Jan 2026 07:09:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= XvE0CnUn5SK3lUAGivif9EppbEE8UDztCGOLiFM0BRE=; b=ObBNJUCPFZnXThlV qRUp1hEq9a6onElu63q3JtkIp+ZDOuCfjRiaTtFBxuf0ry7hdmMS/pocDv2qrma1 3IcR7tTu55oFlUsCX08vx+gYDQqwFO+KkhMav7twhkecByMP5nT9qionrTLy0EJ4 TkY+thEmoXvOsIY2nvNPVvSB95QUzYSiC6lvwDXbLMtT3A9crD6plg93vtkDk/GP pPfqRk9BU8BlG69vjBZHw32gl0MPvPYMD5I2kUYB3xZEEMG5mzF68Pr+MeTBkHm1 yg6GNktqC7zNG9oz4sJVvYEEQ+heaS6+RXQdFMWLXwshyB+8ssMPZmjb7ptRnLgP 7L6XCw== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c0db1ht65-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 30 Jan 2026 07:09:00 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-c54e81eeab9so1234300a12.3 for ; Thu, 29 Jan 2026 23:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769756939; x=1770361739; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XvE0CnUn5SK3lUAGivif9EppbEE8UDztCGOLiFM0BRE=; b=gaJIdKOunE5fSNK6CNSvu3IriZEKveWNgdOp52d8e0EajhgurSYjaibJ8I9xUDf4NK Gatnm1SaSOzFtILRb8zNOcMi3vKUYPTha4SuFYp1476dVEihS00KE1kjNau7hlQo3B8y VkrMOxXjp200U/5Po65ZkohVaVe31QHjESWss4lw+z42Nul8moCiSAefloffrMMa+w/M sOfYuSJQnQ3j5F8k6WMuwvRGG+7Y7ekOerCpE2gYMnGIoITLkmqqx0WkBbphPkHpZlUk k5Bi8PWvqQryQuJ9iY8ztndVFWEg8+eTbjSOvRHFL6E/HL68a8roHgsp1vr1WVbY1DWL K7xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769756940; x=1770361740; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XvE0CnUn5SK3lUAGivif9EppbEE8UDztCGOLiFM0BRE=; b=AAf0PgtNN0R/wetqEij6egsinJDcEWmh66k48z21URg3tQK/Mx04L2Fgcu+uxsx2VS rtjsX3EwvfasaFm5aQRyNLeSdYqUNnkhSCseUvzT1YXoOfqhjaVp1XPzRok2IknUkluh fOL8w7FhTrrWz2RgC3W+MK3S65WNRh6FDRcbp26YFWEfj9jaBS5m4tejACyxdJsnRrbQ bmBHgOWXz5I0rGZPkntHF1EokB2c0MOX/PyQwDIFq4Qy+F9ysPiBhkXSN++yPLlrWWNc MNKVYVowMJXl2gs6Xhz5xOhhaWNjIMMwEcLE9aYKNS+cMWSjSz9ecEWIw/ja/YX3jGQi U2oQ== X-Forwarded-Encrypted: i=1; AJvYcCUuL0A8ugpvxSk/Tfp93JYZB3LQCkqsbyp+bgXTxZjiHAC0Iqlf2rdhIhAnWxDniFejIiW97HXtD++jB/I=@vger.kernel.org X-Gm-Message-State: AOJu0Yxy4us82TxX9bWpcqQpAo17BYedaEQu05+KbfTqTh0F9+/jxO2Y 6y8QgYZppDpD18Bb+GAS6luy8G4WNTBgYKZ5aWqqPM0XRAjAPNdGy+6ZPNvaLEskY9ZrVLMJNzt mituvir5HvcTG9XX3x84EnGFcNHYvRJW1kk0AqsR1H1y2KTvNQaHHAx3PJi1rdPnX96o= X-Gm-Gg: AZuq6aIwL5myLS8zm4uEwAhb4Ay6lJ1ceNJi0H/mmkoabmo6JxARP0L8kqf5dLGwuY5 uzuvKCUPMYImn+aRQ+LuMvGFtbfERLYBoljQqJaeOGhJZURkM1kNTXyX7FLvfgqHlBiyOe83NKW BH2geXPj3/k3MXC2Dzin+TdfGS9usv8VKPq/y9/u1uAam6SEGmy3l/J+xNQ0z2VCDQ+tqh4fNIS V9n57jY9ERywwoJiAZ/UqX3YhC6Jqf9Py6vx7W8uJWZNeHs0wY+3bqkZ+LdTetNZwoVOpWm2ojB KyHbVERCuG1+2OZHozqHeSPyVhDh9r/wGqz4q0FHK/wx7zXrD1N8MFpP1icYfifQY0iXMI0iXNz AZC6QQo2fCprIOfk/yE8W2HaGQObRZWVq8Cwt+LAm X-Received: by 2002:a05:6a21:600e:b0:38d:fa22:8ef1 with SMTP id adf61e73a8af0-392dfffc712mr1756465637.3.1769756939561; Thu, 29 Jan 2026 23:08:59 -0800 (PST) X-Received: by 2002:a05:6a21:600e:b0:38d:fa22:8ef1 with SMTP id adf61e73a8af0-392dfffc712mr1756436637.3.1769756939020; Thu, 29 Jan 2026 23:08:59 -0800 (PST) Received: from [10.217.199.117] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c64276ef9fcsm6500158a12.1.2026.01.29.23.08.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jan 2026 23:08:58 -0800 (PST) Message-ID: <09298c37-4cbf-4486-b720-5e96cc08a1ab@oss.qualcomm.com> Date: Fri, 30 Jan 2026 12:38:52 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/8] dt-bindings: thermal: Add qcom,qmi-cooling yaml bindings To: Dmitry Baryshkov Cc: andersson@kernel.org, mathieu.poirier@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, konradybcio@kernel.org, mani@kernel.org, casey.connolly@linaro.org, amit.kucheria@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, manaf.pallikunhi@oss.qualcomm.com References: <20260127155722.2797783-1-gaurav.kohli@oss.qualcomm.com> <20260127155722.2797783-3-gaurav.kohli@oss.qualcomm.com> Content-Language: en-US From: Gaurav Kohli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: Aruvr47vhfouCq2lO1U_-PgwJRsXUFvj X-Proofpoint-GUID: Aruvr47vhfouCq2lO1U_-PgwJRsXUFvj X-Authority-Analysis: v=2.4 cv=VMTQXtPX c=1 sm=1 tr=0 ts=697c590c cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=se3G6Dq_jQueYJs0mkQA:9 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTMwMDA1NCBTYWx0ZWRfXyu29/plR2XJ5 zjGUmNJUF+Q1VWJnSL/9EkcWQS4vkMsOcOco3nx1xG70mr/9DPrg3SgBZG8Np+0Xf0CKWl49+AD GhtVSTIGZ26jL483TI751LpH9g9VOzCIbZ38LB4J1pettYZsLG6/fFGVXPMs9cEW8acMg7D7eqa UlXKqHz5gCIU45TMYu/7oJGyRSB1ptwF6/n/r9b+42fMFi0PeqIA1cHSjlt0eaqOzbmW70EXJbo EsqZnG4xXP2G6xeR98Y1P3TQUDjaDHOuNl5+tXr4vr2JSk76a4btUtgloQP156FlEkrEiz1vLW7 ryycp5CPxEZjCo+XxS9VDMCbV2AdEz3OZVjdCjMFtY5ldvkvtwznHqGUJAKynCSomaHOKCLpBMF s0Xq0xzl6atphkCi1U2IJx0zJiEhU6fiO56pXEuQCEw9C5EOJczZ499G1kT6p8AHnM1vR7QMINt c9HY+qNxpxJMzukH/Eg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-01-29_03,2026-01-29_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 bulkscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601300054 On 1/29/2026 6:15 AM, Dmitry Baryshkov wrote: > On Tue, Jan 27, 2026 at 09:27:16PM +0530, Gaurav Kohli wrote: >> The cooling subnode of a remoteproc represents a client of the Thermal >> Mitigation Device QMI service running on it. Each subnode of the cooling >> node represents a single control exposed by the service. >> >> Signed-off-by: Gaurav Kohli >> --- >> .../bindings/remoteproc/qcom,pas-common.yaml | 6 ++ >> .../bindings/thermal/qcom,qmi-cooling.yaml | 72 +++++++++++++++++++ >> 2 files changed, 78 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/thermal/qcom,qmi-cooling.yaml >> >> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml >> index 68c17bf18987..6a736161d5ae 100644 >> --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml >> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml >> @@ -80,6 +80,12 @@ properties: >> and devices related to the ADSP. >> unevaluatedProperties: false >> >> + cooling: >> + $ref: /schemas/thermal/qcom,qmi-cooling.yaml# >> + description: >> + Cooling subnode which represents the cooling devices exposed by the Modem. >> + unevaluatedProperties: false >> + >> required: >> - clocks >> - clock-names >> diff --git a/Documentation/devicetree/bindings/thermal/qcom,qmi-cooling.yaml b/Documentation/devicetree/bindings/thermal/qcom,qmi-cooling.yaml >> new file mode 100644 >> index 000000000000..0dd3bd84c176 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/thermal/qcom,qmi-cooling.yaml >> @@ -0,0 +1,72 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> + >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/thermal/qcom,qmi-cooling.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm QMI based thermal mitigation (TMD) cooling devices >> + >> +maintainers: >> + - Gaurav Kohli >> + >> +description: >> + Qualcomm QMI-based TMD cooling devices are used to mitigate thermal conditions >> + across multiple remote subsystems. These devices operate based on junction >> + temperature sensors (TSENS) associated with thermal zones for each subsystem. >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,qmi-cooling-cdsp >> + - qcom,qmi-cooling-cdsp1 > If I read your schema as you've it written, then ADSP, SLPI and modem > also can have _CDSP_ cooling device. Seems like an overkill. > > Please take care to describe cooling devices for all DSPs at once and > describe them properly. > Thanks for review. All the target supported in this series are limited to CDSP, so i will update the binding to describe only the CDSP.