Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2041506rwd; Fri, 2 Jun 2023 04:08:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78xnmLaaWxhQowjLOTh1TpX6GSm0of25/KiwWZfAbigsD+IWBmGutPB55lNNs+bMIu2Fz0 X-Received: by 2002:a05:6358:52d3:b0:123:3812:7caa with SMTP id z19-20020a05635852d300b0012338127caamr13039587rwz.24.1685704132641; Fri, 02 Jun 2023 04:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685704132; cv=none; d=google.com; s=arc-20160816; b=oDmGb/W9c8FX/rWT7hXBlk861806vongWw/bANNwqM/OnxIxdUa2Q8Bn/nnHC7xbNK t1Z6gCKXnERBy63eTY4rVO3XxXmKxyl2d7N3qLVhIegDEuKlF9RVTiUHloQ/JIF0cnpk n6PHZhjRu+QBuBIrzShQev8l25+G29Ogdq8lQGRxWpPQ5mwejpXS1PSvyOV+3yFAeQzC 0rrH5MGqD6ZeWnOuUbt9+xrFtMRob5gP5o/bSr4Lv0LGhzjk+tQcyo4GmYTeQ2njyeId AbdJuB4D3CjgWIE/R2M1lnylYezO0Hr0rDM8xVcmZBPXOazDZn2W7+fzE2LbAssDKCgf tPNg== 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=39VDfzK2Ij5Ct58sDF3kKj68eOQ/1SSl/1CR4g+BcGg=; b=R1YWU9OURFtEif4yFBJXmVvWnj3p6AeuFCmsMkotvxTV8vMkQTW/rSgSCtRES0sIzE 9xAfuFzq5iGap4DerJq3cdR6K9BeliOrCQCYI2Dv/DPu05z+D0sfMUWs3AClH7W/am4T wPZruz+1QdD2ljgGyTfXYJogaGt8H46wl5QhjP90/hrg/ISwhEk5xaNs7JGJ+uixzPlt QrAsFUsTir6GlmSWIt8upXolwBWCbJx/HdexxebsbJSu0k7MUS/mIn/tN8FcJZ40oL1T Zh1PQmpPaQn1GT04WVB9dmlSeD5+WdKizlXci0Gz+VHZe+7PRf/1hWR0wlit+Timw10U iMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=JFLJqvD0; 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 v12-20020a63bf0c000000b0052c8234a858si842906pgf.168.2023.06.02.04.08.37; Fri, 02 Jun 2023 04:08:52 -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=JFLJqvD0; 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 S235817AbjFBLEY (ORCPT + 99 others); Fri, 2 Jun 2023 07:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235799AbjFBLEW (ORCPT ); Fri, 2 Jun 2023 07:04:22 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EB33194; Fri, 2 Jun 2023 04:04:21 -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 352AcLfp002163; Fri, 2 Jun 2023 11:04: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=39VDfzK2Ij5Ct58sDF3kKj68eOQ/1SSl/1CR4g+BcGg=; b=JFLJqvD0zrRK7qsCfPvQPvxpDOfsufoJiqamVo081cbC/tVM+dxxLS7qx4lT0bBwsI3C aePD2Qh2uRJEiBcL99nscOe3CFfUALungtF/eK7ufu3R3skgrtsZTN7BehVgArH6PqX0 Qqwx3OJm/o5b4DqgvwkzhDoYXKZy4W6cC+SbzEoAPbdYsvxbkYGi429zQ2o4ABbUMTZn hz3lOzZ8LiOJAVJIbhDASUBEmQbkBYJ+F19XfU5kLHq3jsJc/8bRVZWv7DXKbhPXeXd2 ov1SlZdjQbgF2qoOgxJuz9eAh7PB+6rfNdIN1DyeF+yUrIMsKWbB0Qtks+vdrFCKFP/q mw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qycwe89yd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Jun 2023 11:04:16 +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 352B4F5u001458 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Jun 2023 11:04:15 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; Fri, 2 Jun 2023 04:04:09 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan , Praveenkumar I Subject: [PATCH v5 2/3] arm64: dts: qcom: ipq9574: add tsens node Date: Fri, 2 Jun 2023 16:33:51 +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: 4wkLciFr97-XHwFvuPGweJhSQVezMbqs X-Proofpoint-GUID: 4wkLciFr97-XHwFvuPGweJhSQVezMbqs 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-06-02_07,2023-06-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=958 lowpriorityscore=0 malwarescore=0 adultscore=0 mlxscore=0 bulkscore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306020081 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,URIBL_BLOCKED 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 --- [v5]: Incorporate review comments [v2]: Add "qcom,ipq8074-tsens" as fallback compatible --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 0baeb10..cda3fd4 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -206,6 +206,16 @@ #size-cells = <1>; }; + tsens: thermal-sensor@4a9000 { + compatible = "qcom,ipq9574-tsens", "qcom,ipq8074-tsens"; + reg = <0x004a9000 0x1000>, /* TM */ + <0x004a8000 0x1000>; /* SROT */ + interrupts = ; + interrupt-names = "combined"; + #qcom,sensors = <16>; + #thermal-sensor-cells = <1>; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,ipq9574-tlmm"; reg = <0x01000000 0x300000>; -- 2.7.4