Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5504758rwd; Wed, 24 May 2023 02:48:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YUU2eE9lLbhgIbUsrBtLzPMlFENtsQuGJzgufA7LP/ww7CYJuRX1uXgDxVlH7n0vUxrcz X-Received: by 2002:a05:6a00:845:b0:63b:5501:6795 with SMTP id q5-20020a056a00084500b0063b55016795mr2469279pfk.24.1684921734105; Wed, 24 May 2023 02:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684921734; cv=none; d=google.com; s=arc-20160816; b=uS/0G/2Bs2gZxSIEgciLOAsHoBEVSz3ehtVL89abWoMHHEQ1NYRT6xPzXqtLNESieo M82o4aSrhCRPhcYtfBeQ6MoPRABBc46bA0Qhi8w3aqWcoC08zYW2Rfj7IMgo9lJD8RJx 7IFnoLo1mpTAyEzVDZeqqvZjA/wL5hTs6tmXhlXh+Apt1nHy5G2UEpfCfElrV8T3cROD 3ZasKKZhTLlqB0/4VAlZShjoLQztw1XMKggaR+LTil93KZqUTux0ZAVli+eqkEp8QKNF 82ouvqMKXnRi24Aj/uz18a6e3dxKKckaA3tAXuILSdukzwb9CRNjbK8ep3gVQcWziCfp yWsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FZiGa6Q7IS8+bjokG7WBpb/PzUo/lkTA6LFjGm/cF6g=; b=UxVmG3jdlnD1e/2xgHxyUBXvt0YipyCK0HS9k05+pSP/Mp6pyT8F8mlPFRYFt8XwNc SkHMABO798xvRETY4FHQcsdUn6O9Xv3aCJzkqk1f+2XFQYbBI6OGgr4JgGjy6FZkAgux N8KOFdIPUabb8318DHzMHAIpkz1MduF1OxrEhtpCNQZtyAB96yPiiudlBtDFZkNdI2Sg rIHgBR0iuFBja19Xj8+xt2QgG3K3y8tSlAPLjOf6nGPTuguk66T/bi2C8kOeMHVXHmOi AWkXyK4aPHb9wvwIi8A24PpEb2umKgWDIoPaUiE+r2DTmA+9cWLp0hqU9PDBkB/q/Lih hEYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fDYVsCMd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020aa79d8e000000b0064d35b65bddsi8031691pfq.362.2023.05.24.02.48.41; Wed, 24 May 2023 02:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fDYVsCMd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbjEXJhP (ORCPT + 99 others); Wed, 24 May 2023 05:37:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbjEXJgy (ORCPT ); Wed, 24 May 2023 05:36:54 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D113132; Wed, 24 May 2023 02:36:53 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34O8coD8020309; Wed, 24 May 2023 09:36:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=FZiGa6Q7IS8+bjokG7WBpb/PzUo/lkTA6LFjGm/cF6g=; b=fDYVsCMd7wxa8ohNTXT3NeqLkEnipAUSdRZEojmey2QOGxs/lEIlJpEq0JADxkEc9gIg CWwmienQOK6YeZ/PPpdxtIHfShhaRpvdNevj2t8fythBu2KXkgqeQPSch5BGqauU41OP t1zQJu+FMszkBfJha0pGOIlq34LGOKvep6FEqJYuTtDyWZTux+hFcZZsEfoITe+ZKjna FPjwcR0gs1cI2T3TCX/SlUc55ecrWycgNhR1S07oNXxvNy7YWWiR/ObRqJgBpGsdeHqL xINeShCFT6Gtn8DY5zT4tE267dmLfXXsgl53j/H4WENV+H9bAVTBWW/Pjojooclzx1V2 Vw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qsf8805n7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 09:36:34 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34O9aXhS017076 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 09:36:33 GMT Received: from varda-linux.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 24 May 2023 02:36:28 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan , Praveenkumar I Subject: [PATCH v4 2/3] arm64: dts: qcom: ipq9574: add tsens node Date: Wed, 24 May 2023 15:06:10 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: pFozTDuUASvVvHUcQmFKqrXud1texLr0 X-Proofpoint-GUID: pFozTDuUASvVvHUcQmFKqrXud1texLr0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-24_05,2023-05-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=873 mlxscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305240081 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IPQ9574 has a tsens v2.3.1 peripheral which monitors temperatures around the various subsystems on the die. Co-developed-by: Praveenkumar I Signed-off-by: Praveenkumar I Signed-off-by: Varadarajan Narayanan --- [v2]: Add "qcom,ipq8074-tsens" as fallback compatible --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 0ab5556..15c9447 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -958,6 +958,15 @@ status = "disabled"; }; + tsens: thermal-sensor@4a9000 { + compatible = "qcom,ipq9574-tsens", "qcom,ipq8074-tsens"; + reg = <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ + interrupts = ; + interrupt-names = "combined"; + #qcom,sensors = <16>; + #thermal-sensor-cells = <1>; + }; }; timer { -- 2.7.4