From nobody Fri Jun 12 11:37:54 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 2E04A3A4F5B for ; Wed, 10 Jun 2026 08:12: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=1781079178; cv=none; b=DCEg9FEPrUY3Zev5dpX2n475USHQBf/JqN7XpVFBdOZGlQghn7EMKQJtJGDAIBj2HL352KjOei3RBW2lr5DC7669SqOMDIBS47SGZQNPvGKHl2GOgcIz+60BzVUgObwg84wWOZwX5WaqUZMLms9YX7TLHtZcW7W0PvV8WWeNLa8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781079178; c=relaxed/simple; bh=7DFnNTv28IGdngqta0O1QHu/B/uxIDqYYhl0XGm2Pb4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Lf5GtgqB2e+6u+AtHlQDf03rs6q6K2GpyKKLfCN+ovsICJlGOH7rs0RX9PzhWrCVy3dkfbyqipPjOevD95tnk/LjqVAhjT5UopPJrubQAyMGGDk75cIdrctw95jsFtS5OI/8kxEmAac5Z8P2IqEc8V29ZtwMK30JzkhYqdwuQmY= 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=nnVo1AW9; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cxLOkHFt; 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="nnVo1AW9"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cxLOkHFt" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65A7hu7j531358 for ; Wed, 10 Jun 2026 08:12:55 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=ZnAhfc9juLM 6ofZhbvJAs+UfN8U7vmcczY7bB1K8lAI=; b=nnVo1AW92QHI1QBLZVnYiv5DFeU BUap/wJYPT3AOIOt1PIIX8Ze3aT/99m4x/QWPkiyuMnlJN1/Y/9tjtIwfXs6rWSQ QumP55HpsF1TQkA/Db8wLTHnO7CGtHMhHIUSSsdQFF+TFOTCNZ0t8s9J8/NkgJdt NRpJ3U804lCR16ztInjq+P3Jl+SWjoiTt4Pjaxj9aL3WCb44kRiyGwrcVpGMzwbE amBUO1cCpxYMb7V1CH7Lgcyu2NwAM/XdVuJtiTJaeHzN02+/CPbBrcd9WYrUTN/a nIdQCTBPdFKgAHYLFB5nYAGdRLAh0BPimrtn1q4A6vtOx5w61AvXBRJ+QKw== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4epwnh1ffr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 08:12:55 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2c0b35fa876so78655295ad.1 for ; Wed, 10 Jun 2026 01:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781079175; x=1781683975; 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=ZnAhfc9juLM6ofZhbvJAs+UfN8U7vmcczY7bB1K8lAI=; b=cxLOkHFtp7iLYnDdUuvf0HtW9xj+qaHEouvzopRWZqC3YAge5MVYeuFpeCacamAE6W E/9lI03zHiYrssqYwFr8gX1K+8hunJIV8pGg4krsVCUecW+JgBFszmlHUazlcgbw5uV4 lFTG24/OsrE7UzHl6tFqncfEdM9sY23PbDE+jXpODamTq35CxAlJS3rsBqZjxfVF+84C 8Q2Y4DJ3IAYyWqYeyK709LJ5mdRpU3Qqdj1rzcSwNhdZqw/2+SglRVLHyHTRZKTN5rTf iAey4DESfE+uOPY4rGSgIzp2LwDdUJghU9hUBxxBbrtxKS6ZH2AgXJcZiLAKCTV8yuJd +VRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781079175; x=1781683975; 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=ZnAhfc9juLM6ofZhbvJAs+UfN8U7vmcczY7bB1K8lAI=; b=KwLaTegaKe7T7j74X8MihcsMSNFEAuEb4TWezvmVmLSX4piWOpiGYys7MAcYF3CqhK 8t0Vlw+RV/gm+x/nEETjQKYpLX8YcGG8cySYfW8jNKe8OM+xASfLe0VSEef0vakl0xCV O8MjFtjwl7Ju7xHTJDYlY9hd3B8aAe+NjJkmu3uUDJEzjngVAveXfrBwyfPHaGqqzyGu m9WULE75BdRCv6jUd+qoeeOFcQJAjTXTgT77i5c6DV+S+F5KuHV8S7Izr5COIasA9WIc oeLFEd53Sm5f/AI2Eu9/dm8Y9jYBN+zc/PW9yX7Y2ZRKTY4xd7nLNh/8kFfc4FFvQt1R xqPQ== X-Forwarded-Encrypted: i=1; AFNElJ+Q2RsSV+LH22jvnso9pV2yEBAxQUOsIS7v3QwDVMwLp8brH8mWtrkIL3pP2vPnCos1ePqTfWCxaM4ADHE=@vger.kernel.org X-Gm-Message-State: AOJu0YzEHaPRZ4N6Q6iJLEW81A/hXcnJauTRPS+Q9eVyr71lsFiB08Xl MWneH222XkGRT6yr6jnZXbIxuq3ny6P4wdrdZKpCIU/ME2tpCEfMdrgd3Y4rG1Uj9Y6AFsTIajq b3ng2SkMzmACW7VhWT9i841pTpFheMpERAdU8FetkFavuA7IPYw6z79rbJZUNolmzuiA= X-Gm-Gg: Acq92OE5iUXhStKpRmFtEsI1nlxKSJ0ciUj14ll0wgvlXf8RRwwO9kpUsWTyNpXgUF/ VRlQxMRV61CdejcnbnoPdR+DrkSeP3ZhMwslT3WSkvU/TUi1FYR/73QpmTIEeChoxGIjpLoLLrt cbkxpZ5YlKpo8T1Ummir0al8zMQVtcviIX9KNYBYre/IwCRFYZB6L7OdW2zvwzGhCVE5mWRI8Sn I8cG9o8BJuy8VJR6fMw9kykb5ebJd5XQazhNIyDQmXHrUA+8VC0kWkyncRi+vO2OMSZitFNIGit Ejkbz+TBkjfszhvoYHPDSOC/SQzA7aBQEVUbHDvnL/vWbETti9NPWfyLAD0zBtOHPcv/bOde1rv nYfgclv1JEww80seAFSLQ+9Ly7Wdpd8GFpGpSplEIz7vauV6hJ9ejgKx2vS9dUtBk6F0OGYi4RT CsmOXCIi/FcX23ccj6bZfTyms7Bb4LW34YS4WIP3BQbb1/Io3uGnFElGF8ny9Weg== X-Received: by 2002:a17:903:3504:b0:2c0:ab82:6b9d with SMTP id d9443c01a7336-2c1e80edc43mr270505295ad.29.1781079174749; Wed, 10 Jun 2026 01:12:54 -0700 (PDT) X-Received: by 2002:a17:903:3504:b0:2c0:ab82:6b9d with SMTP id d9443c01a7336-2c1e80edc43mr270505155ad.29.1781079174334; Wed, 10 Jun 2026 01:12:54 -0700 (PDT) Received: from hu-varada-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c164f8679esm228858575ad.21.2026.06.10.01.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 01:12:54 -0700 (PDT) From: Varadarajan Narayanan To: amitk@kernel.org, thara.gopinath@gmail.com, rafael@kernel.org, daniel.lezcano@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Varadarajan Narayanan Subject: [PATCH v2 1/2] dt-bindings: thermal: tsens: add ipq5210 & ipq9650 compatible Date: Wed, 10 Jun 2026 13:42:40 +0530 Message-Id: <20260610081241.1468507-2-varadarajan.narayanan@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260610081241.1468507-1-varadarajan.narayanan@oss.qualcomm.com> References: <20260610081241.1468507-1-varadarajan.narayanan@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: AW1haW4tMjYwNjEwMDA3NiBTYWx0ZWRfX8AZX5Cotj+Rt MFw/7Fq6T2QFQ6PE7yZNNGn8rEvADaYN7uxKmBxFcwdI/6cb/v9xS4x+8XzQ/9v+PiTdWOBIbxb 5sNxboPaW8RU7Nxr1AVttVZOdOPmANUTczyOpBBeVMV9zpay0JCLnFNUMKgy4ldetiyj3qCRDAF dXKsmHHWWZxhuDg64N2MDho0soRnKQO4zbT9PguNKpqoqYaOEa6aRblMyudacI9FPFtMdssd12r Ip69EvtP1+1HBhK/HGI4CBWsPLxh7CoOSXx08fOHUTVdZmoQv2Q0cbWu6BkX86zNif5zUliw+uO NzUOQkQjh+BU2xzc5P52G2gaIHwsID5GlfCziIFEn861HA90N8uiP+dqhWujqxu+WPwslDz3hpw mh8cu6ZKZYc4QF1bwTJ3/eoLaEtuLhIRtpje12jYlwCbbd4OasoyouUnKwVK3Z978oUu/2S4g0s oIc/K2xaZgrtDPO94Zg== X-Authority-Analysis: v=2.4 cv=Xce5Co55 c=1 sm=1 tr=0 ts=6a291c87 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=Cj70nMFs6DzugLwqs6cA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-ORIG-GUID: MtmEYRm7YwWnVgsfbworMpYEEMNEwXmB X-Proofpoint-GUID: MtmEYRm7YwWnVgsfbworMpYEEMNEwXmB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_02,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 malwarescore=0 impostorscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606100076 Content-Type: text/plain; charset="utf-8" Add the compatible for the thermal sensors on the ipq5210 and ipq9650. The ipq5210 uses ipq5332-tsens as a fallback, while ipq9650 is added as a standalone v2 TSENS compatible with combined interrupt. Signed-off-by: Varadarajan Narayanan --- v2: Fix fallback definition Include ipq9650 to all applicable constraints --- .../devicetree/bindings/thermal/qcom-tsens.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Do= cumentation/devicetree/bindings/thermal/qcom-tsens.yaml index 7d34ba00e684..5d782c9952c6 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -92,6 +92,13 @@ properties: - qcom,ipq5332-tsens - qcom,ipq5424-tsens - qcom,ipq8074-tsens + - qcom,ipq9650-tsens + + - description: v2 of TSENS with combined interrupt + items: + - enum: + - qcom,ipq5210-tsens + - const: qcom,ipq5332-tsens =20 - description: v2 of TSENS with combined interrupt items: @@ -303,6 +310,7 @@ allOf: - qcom,ipq5332-tsens - qcom,ipq5424-tsens - qcom,ipq8074-tsens + - qcom,ipq9650-tsens then: properties: interrupts: @@ -320,6 +328,7 @@ allOf: - qcom,ipq5332-tsens - qcom,ipq5424-tsens - qcom,ipq8074-tsens + - qcom,ipq9650-tsens - qcom,tsens-v0_1 - qcom,tsens-v1 - qcom,tsens-v2 --=20 2.34.1 From nobody Fri Jun 12 11:37:54 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 E782A3AB5C7 for ; Wed, 10 Jun 2026 08:13:01 +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=1781079183; cv=none; b=o9EO9zQvF2A5Xkt+efFsYo3tEowo/CGjPAE/pGg5gvAh3+UIj/KpbskUfzaIRtCWfmAlb1ynX5UUpOexz+CGT4mmPcnthmo6tt4MMq9rdkhgWJknsA1ee3lg5aTcLZybc879V0H/tMesHHTAtyKAETDDTXsl0I8vbDIySvVCmII= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781079183; c=relaxed/simple; bh=v5y2S4KEuK9ll8FKbt2wx7n2tKCwSSz3NBpnzhwlnk4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rU2CkA/qRu1C8yJsqqD2P+/YuJHArFPEw0o54NoU9p8EtfUYQnb7ds9qWzEIW6jbuoeIecIAbJq8TkKFXZY09uXao8xT2hyN8qq0dLDSmyEgvHW1AcLvZ1fQIdXvdRXGgersSpBvUpU6b6oycrmKbMTkfRZWuJYJFFg1A8DKwSI= 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=XgO8IG/I; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=bbAkNIiN; 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="XgO8IG/I"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="bbAkNIiN" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65A7hdGP531330 for ; Wed, 10 Jun 2026 08:13:01 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=bmrPzwjDfZQ LqRIOrgrQTwpDk+/Ro0GV+O0RqY/iaOE=; b=XgO8IG/IfJI5VGjZtkEFnUEJqIv xIVrLsjMFpAZw3bd4WFNtb1R8d86+dxzPN6+0oFyJ2z2UZJ8ZAaTNsQAUpWQ4aKT ixaIpgQIf4ewB2X6Snpor73T+SAwjNK7RIGYxLrpjrLlM0a0NaYXPMtBoiuxAlyp ey2DW7aSCnVDerqeuMMnfvogsgLAFckXOQX3Fm1+vRMqF9WhMKbGbzIs0hqnnJpl fTJbcNktNlW5bOuZNZQSAav0tBws//JqHVXGmiz4CiL6I90dq3QU7xVdKkzYGrM9 Cv62hrZ1+Bv+FvhcfS2krLx36Pw2qdGHeBy4h53L545djGX+zdJnC+f7Jow== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eq0m1rtn3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 08:13:00 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2c0532a6588so60777055ad.0 for ; Wed, 10 Jun 2026 01:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781079180; x=1781683980; 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=bmrPzwjDfZQLqRIOrgrQTwpDk+/Ro0GV+O0RqY/iaOE=; b=bbAkNIiNawCJ3k0hyHLY6JcQtQ1/tQDvucrgFd6I2eVtEdiJaa6HchpN0IN9xqR+wP AAVBIgnWyRfwhlDhQOwH+/LPe2HHaJupRTed9AIIHNXrSqM2mF7zy1tFyxRFlK+x3sDr 1xHYt2vv9AVYGcxofZQOd0txV1/9mWT9q6CAc+R1Y6Qb8jH9JtoFkId0pwhuJIc3YI0c mSQBgvBjZ3+GxIWhh/D2TkRvHqypEpVITWK7mERSm3gu69jtg5Hgj/xwo1TxQxyMvKUH Fii+vgUdFXCQYEAwvrYlT4dsEvrZJiWyN4DHKIGfR91uSGqaCgRSS0SqIrCHCiypuZh1 vYlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781079180; x=1781683980; 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=bmrPzwjDfZQLqRIOrgrQTwpDk+/Ro0GV+O0RqY/iaOE=; b=fGSXB+OXRIPgkYybg3D3z/VxAQeES/xYEc1zl/Cq8XNQr2uiejCvlW5nTFugorxGfs ByNbYSgEg3aAwAtJ9aw73IZuQpS1IrN6TzVyTWk5I0x+nbVZ4sXO2VGGuWzS0yLVGlkY n/7DxGxDsH4sCssyaysHUVoatJKpAx7HXpPrahqvrLtZ6X55MPGQM19pz8Sjj+SYRLcT GmTXBaXQSz6e2GWvKoCahGHwM4Y9ByMLmufPflTU0ln4OMEnexfs6EuAYrTrEUUel7bu MTGXYCrqT2R5JNPW13UDzpcPzFWEAktdtHEBghrARyZL7aRTNynBL03cl11OD83pCbfh UEGg== X-Forwarded-Encrypted: i=1; AFNElJ8PovEhdS41c7t8bmviJf3opI1Es28NmdBsy5qAu1UZUDEKRrY/gIsb6PTkq+bOq8Jnsrfwp6hthK66Oho=@vger.kernel.org X-Gm-Message-State: AOJu0Yx7RyQZsRvvNcCjdUgEk2l50ZRhHZDbzR0Eq143S22dL6XXYbNN X84YM/1TEfiP0u52KrtjkPbaULet0N3XySOLUGak0WAQaqBSU8P54agsL2/OtIf4XqxLXI9oaTs 9O5ELkHlttC5MSezcpr3l0B/mkBxC4sINFTDL+MnHq70vagkcDMEnkx1ogQqh/1WG/BY= X-Gm-Gg: Acq92OHJ75kN9lPs3l6RnDhQ+DkvP0E+oBa+HD9Zs210Iv/+zReq2HTT4My4h9+foWK /04sZSKLUScZ5HR5V3b8KYZBsMtiSA1gejEPsnJLI1yOh/SR3EsItP0bdPVe6set//62t9CgNoV tTxMtFaXbr5Atl0sibp1adIQksFqFdPVFVhJ8emjZ5Ay/Sw93Gs5n7aSJGVOhmOyhqSl8eUydhE Ra0dHbXInuKPyJ89okB5uJ1SU+GaL61iDbNWRf98hKFSuM6JCZUYqHdtbJMBO5XS0FUVnjhjDsV 1XZqzj4G1XgtiwuEPoPV+UV+B0tSXk6XH7XRaMUrT+K3XVFJT1lAKQba/NVEDVeT0828ucPHDxQ QOfHVMZ/eFihyQhTJJctsgRZXaEA+fYCZ9yXnLcVGCdD872koRo9XBAaOGlV4LwJiYb6nj32dnI SixE6nKRkQv/ZGatGYcf57uYbKuyVmZEy3VC10leEmES5rlLugMSqMs9UtwhSwtA== X-Received: by 2002:a17:902:e5ca:b0:2c0:b932:867d with SMTP id d9443c01a7336-2c1e893d0b9mr270665375ad.29.1781079180108; Wed, 10 Jun 2026 01:13:00 -0700 (PDT) X-Received: by 2002:a17:902:e5ca:b0:2c0:b932:867d with SMTP id d9443c01a7336-2c1e893d0b9mr270665045ad.29.1781079179556; Wed, 10 Jun 2026 01:12:59 -0700 (PDT) Received: from hu-varada-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c164f8679esm228858575ad.21.2026.06.10.01.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 01:12:59 -0700 (PDT) From: Varadarajan Narayanan To: amitk@kernel.org, thara.gopinath@gmail.com, rafael@kernel.org, daniel.lezcano@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Varadarajan Narayanan , Konrad Dybcio Subject: [PATCH v2 2/2] thermal/drivers/qcom/tsens: Add support for ipq9650 tsens Date: Wed, 10 Jun 2026 13:42:41 +0530 Message-Id: <20260610081241.1468507-3-varadarajan.narayanan@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260610081241.1468507-1-varadarajan.narayanan@oss.qualcomm.com> References: <20260610081241.1468507-1-varadarajan.narayanan@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: AW1haW4tMjYwNjEwMDA3NyBTYWx0ZWRfX3Y2Qb7xygV+C DdRG5lEHENPtOonkEjwSF4xflMzindlR4IBXb/HkjHceKk4Mh7Mng1eJ7byYEEfb7p47VVy7XJJ 95taV99ay+ZD36jxTN789PyFCJFD815hVVzQhwzU5Bx4d20SWeHiby0Spu7o7Re7urOFjMawoHR 0oeQZ08yl0iKoQescJ2kBlLy78MhXFRK7jiLxvj5f5QQRMRs2rte9Rz4j8qwUnQGr3Trmus4LRG lBqy07zrj2TOubN3x644OMcdyn7NwkvF0Em9huwF4dOmxHd5B3YUN3/6dHGt3XO4lnWa8yMSbsF XjXQZ7QHoKVxb+mOd8DtFZg1q4HL98tvxcJ6OISIjhfGvwFWDMIZ/Qh1anlu+OWza23vwU3+5tg ir68LuTmLciZcUy7mg4pTUx36MmALTPfoa1hl+DxQEi+BbinPwpQBr5jmh92Hgli7lBfjKBCJo/ 7mqemQKFK5v+fhDHC2A== X-Proofpoint-GUID: W6cCqe9SFbLSBqXkrRa6Xaqv_qZO7-RX X-Authority-Analysis: v=2.4 cv=UdJhjqSN c=1 sm=1 tr=0 ts=6a291c8c cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=nMt2SIcdhh0IZDtwxJkA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-ORIG-GUID: W6cCqe9SFbLSBqXkrRa6Xaqv_qZO7-RX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_02,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606100077 Content-Type: text/plain; charset="utf-8" ipq9650's tsens is similar to ipq5332 tsens but has different number of sensors. Re-use the ipq5332 data for ipq9650 and modify the sensor related information. Reviewed-by: Konrad Dybcio Signed-off-by: Varadarajan Narayanan Reviewed-by: Dmitry Baryshkov --- drivers/thermal/qcom/tsens-v2.c | 8 ++++++++ drivers/thermal/qcom/tsens.c | 3 +++ drivers/thermal/qcom/tsens.h | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/tsens-v2.c b/drivers/thermal/qcom/tsens-v= 2.c index 8d9698ea3ec4..ef1fee2266a3 100644 --- a/drivers/thermal/qcom/tsens-v2.c +++ b/drivers/thermal/qcom/tsens-v2.c @@ -300,6 +300,14 @@ const struct tsens_plat_data data_ipq5424 =3D { .fields =3D tsens_v2_regfields, }; =20 +const struct tsens_plat_data data_ipq9650 =3D { + .num_sensors =3D 11, + .ops =3D &ops_ipq5332, + .hw_ids =3D (unsigned int []){5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}, + .feat =3D &ipq5332_feat, + .fields =3D tsens_v2_regfields, +}; + /* Kept around for backward compatibility with old msm8996.dtsi */ struct tsens_plat_data data_8996 =3D { .num_sensors =3D 13, diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index a2422ebee816..e7bc622891ca 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -1122,6 +1122,9 @@ static const struct of_device_id tsens_table[] =3D { }, { .compatible =3D "qcom,ipq8074-tsens", .data =3D &data_ipq8074, + }, { + .compatible =3D "qcom,ipq9650-tsens", + .data =3D &data_ipq9650, }, { .compatible =3D "qcom,mdm9607-tsens", .data =3D &data_9607, diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 2a7afa4c899b..d9d50d32c962 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -657,6 +657,6 @@ extern const struct tsens_plat_data data_ipq5018; =20 /* TSENS v2 targets */ extern struct tsens_plat_data data_8996, data_ipq8074, data_tsens_v2; -extern const struct tsens_plat_data data_ipq5332, data_ipq5424; +extern const struct tsens_plat_data data_ipq5332, data_ipq5424, data_ipq96= 50; =20 #endif /* __QCOM_TSENS_H__ */ --=20 2.34.1