Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1802029rwd; Mon, 15 May 2023 03:18:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6B5AbwGFg+1tWsAyNiYOfM7XuC5QQS1BaPJVBURoFe8P5s8sQh/6t789jq1orGE0TB2Tvt X-Received: by 2002:a05:6a20:4325:b0:100:ac13:9a57 with SMTP id h37-20020a056a20432500b00100ac139a57mr34670463pzk.55.1684145923199; Mon, 15 May 2023 03:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684145923; cv=none; d=google.com; s=arc-20160816; b=rRlfb+2oLKxdfNYfxb9pQqvOUyN+ifXtK3/vU4+CYQ6r7wRsSlKhlQuEleQ7Tl70Cz z1Ixt8mYUwGxLRQkEQI5Gd/vv42N2YB9KUlsqJMG2fIrC3v2u5oY7hccSZpAS8LbQMh4 piG+rvzEzxccQL+ldEmdODofj9VWbTfMMuroZxtn3TReDn2JlAf2zHO+e93nVPuqQKRh 6KfrCeKmULEI8DCGb7LzsgHyelziCnOmgsp0dax56T930lrI7wPmrFsv1di4EhmjQjSc 8AXyG00YEybaPq1ZYA0EogC1NUfeHDe9L+fshdW8HlAWO4rafWohaXgMjDba/voQsmQP kcNQ== 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=uQxB9paqRE9VgNxEEmxJxA8fL8OG2TO1mVxJAjOBQSAzlv1GwZf0+yi0gPdrJJFi6y Vc0bqxUBj/W0mrM5GDGiaveS9gvfMl2rJGvxpc0BGOrxJoMdkLg2rZjj3f2d08G0OrxI Lvzmv0jJaHWvRHbrTa2NQHZtTre4FoLTWhusFhlAf1vLI2ctpw3WQyWQxdcZDBdmzIn0 vXGfWJLi7tW43cmjZkyHXJUE0ZyC1SWGBnYPQKbecimK3LJoI4gZXjVps9p3gF1vIP7a ol014FXP7CIydHbsCRZj/dYgQIRN0k5HMJYRt6A/5jujgkPk5F/DO9p00izLaNqYqaJC /qBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kXQGeKzq; 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 h132-20020a636c8a000000b004fc257265cfsi15354517pgc.267.2023.05.15.03.18.30; Mon, 15 May 2023 03:18:43 -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=kXQGeKzq; 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 S241090AbjEOKOg (ORCPT + 99 others); Mon, 15 May 2023 06:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241067AbjEOKO1 (ORCPT ); Mon, 15 May 2023 06:14:27 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4928E4F; Mon, 15 May 2023 03:14:15 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34F9qlmH004935; Mon, 15 May 2023 10:14:09 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=kXQGeKzqXCGTQOFLXJZTdsyH3xGFFDYfVd37lNMv9siG6x82k0aOUW8vxkn4oLq8yns7 2GqawZDDlvllKgCNX0KnrjiTl5Xsv2shI5QQS3zrhliothxArzTmC1qPmhHscXrgC0ch RvUZAo4cCb/7T5XHaGczgc/ZcRGKxleKesenkpZ2yOlUBHNH8+69tJjKOQM7ador3vSw B7q20EtVdpOYkK0lYVT4yZ9+/WT5eUWRWqJferp0T2xoaAUNXxodnwkwekn1idQROqB8 u6kExYOBWlO/O+GOykfclH4qI8HNtTcrZEapqoy+0SAjA7GKTa4lNg8CFmS4D2qFeDSf Gg== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qj1vr3cus-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 10:14:09 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34FAE8Ie009626 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 10:14:08 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; Mon, 15 May 2023 03:14:02 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan , Praveenkumar I Subject: [PATCH v3 3/4] arm64: dts: qcom: ipq9574: add tsens node Date: Mon, 15 May 2023 15:43:34 +0530 Message-ID: <2ef0decee48de9846cd46b18e7b82c9ca5510b1d.1684140883.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-GUID: HfXQoTFqZDM-eVE_iPkKbdQdjhvi7vjZ X-Proofpoint-ORIG-GUID: HfXQoTFqZDM-eVE_iPkKbdQdjhvi7vjZ 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-15_06,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 bulkscore=0 clxscore=1015 impostorscore=0 mlxlogscore=877 lowpriorityscore=0 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305150088 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