Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3883698rwr; Sun, 7 May 2023 22:36:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4FTA9RSHrLGIAP0/dHroO2RucF+WulykUIYo8G+7Yyt5p2vJSd/c27mt38IvHpkqeeUItu X-Received: by 2002:a05:6a20:d81b:b0:f5:6cb8:f4 with SMTP id iv27-20020a056a20d81b00b000f56cb800f4mr10972418pzb.16.1683524180812; Sun, 07 May 2023 22:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683524180; cv=none; d=google.com; s=arc-20160816; b=Et8Bkf9ii2e/pFuMz7nRW+RRlCDMqEn7HM9FWOYhILR6MaKlm0AUvTirJw3bKvZESq bCM1jVtGG0Di5xHi9C28fv9tlplGdOyrUjyBityxrT5RqsaDZNtpgk2iU06x0neciWuV JDDJWxhVTyNbZi8+o1uHtpWeYcTXK2tPzBCmEkImVPw3JcUASYQhZa7Vh6+jXr5bwtiA tLfKPG06LsEdWY+wmSqXTAp2xReZPip68avjSawVbgI6kkxy7cE1zvocD/e3gNXN3BoW gZD38v+DuaehPHKS/aTJilGj+7gyhKRWBQKYJpg8Jiqf3eFLIhRyF57TrrvOJUx1XsoG ftdQ== 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=Pd2CPz6IpIHjoAamSUZ93Xd1mYNqPbypMGkfUyfjVTQ=; b=tz8dqGjD014WthP/EpImLv2Vf3lYs+EbYjEVieTb7w5DIzWOG+37zVpOE2C8AimlRb Iss0Uj6rYnknLMDUvtW5vymens5EHXZn3Swo2MoOiADh3g8TLmNTfn75ZyNi/MzMq9EY FKrzvdS82v5ltKb4yCnq8uDed5U7ZLL7ENjSYmqMklw2V2shUjaKDtn2oSid9eV88sP1 YHLdbIHlyPB9cTsNvjkZ6sJNhjekh4jtdvEU0TDJyxuGSBhOsh2iHeXuaZxEfJ8bexKX dx6S5ODWotrvnEsEM3LblcDSJp0fKw9+JbuvgXhUqZ36Whbv58J7WF2duyUohXD2tKUE 3lsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="b8r/IYO3"; 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 y11-20020a17090aa40b00b002470f78a168si11555152pjp.104.2023.05.07.22.36.06; Sun, 07 May 2023 22:36:20 -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="b8r/IYO3"; 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 S232657AbjEHFdZ (ORCPT + 99 others); Mon, 8 May 2023 01:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjEHFdV (ORCPT ); Mon, 8 May 2023 01:33:21 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0ECF17DED; Sun, 7 May 2023 22:33:20 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3482MLQf010789; Mon, 8 May 2023 05:33:16 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=Pd2CPz6IpIHjoAamSUZ93Xd1mYNqPbypMGkfUyfjVTQ=; b=b8r/IYO3t2MszuI+D51B1RZG06ooLFKy/KnOsUBBD+WqERebF5xM0JMfHpYkmGs8rP5i atmouJjeUCMX0HO/eF+rWJlhKlEh+fCrJgGEGMjwmgCF9Gu1bs3can8v4+9CzwcFKpfZ WwblpI04yFC8ImeY3xing/ZFSPwv9oUP6OzlHx2F03lXdWCSj3fFOZU3n1v6IbG0u6e3 sxbyhbipPl4jiwPOlzhUWeNRv+wMjVcZZ1P0bQNbsrBFmxYLx3ltyT8vUtPZLx2v7U2l v79gO/pBiw0b3FKp7FmQDO3bv9nKGgyoSkP+duArGcqYpcjW8liOQF6EB7Ya9RS0DPHF Vw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qdc8xk0bw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 May 2023 05:33:15 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3485XE3j009551 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 May 2023 05:33:14 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; Sun, 7 May 2023 22:33:10 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , CC: Varadarajan Narayanan , Praveenkumar I Subject: [PATCH v2 2/3] arm64: dts: qcom: ipq9574: add tsens node Date: Mon, 8 May 2023 11:02:39 +0530 Message-ID: <81653f1ac4bf42e57a7d6c4f1af844846d091224.1683523370.git.quic_varada@quicinc.com> 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: DPFqz02X9I4u8XaVAII6tvPS2_gBvDFl X-Proofpoint-GUID: DPFqz02X9I4u8XaVAII6tvPS2_gBvDFl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-08_02,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 phishscore=0 mlxlogscore=877 suspectscore=0 malwarescore=0 adultscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305080038 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 93e3026..85bba6a 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -1056,6 +1056,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