From patchwork Sun Feb 24 02:50:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10827673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9E6C413B5 for ; Sun, 24 Feb 2019 02:50:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88ABD2B9DE for ; Sun, 24 Feb 2019 02:50:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B7F22B9E2; Sun, 24 Feb 2019 02:50:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A68572B9DE for ; Sun, 24 Feb 2019 02:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=J3uFz67gmc7g15xZ87TbneNBO+tvArvTnfHGeWy53vI=; b=kHjmuJjff7ZT4E uqnZaWwn6H/+DwsPblIuIdjOtVEdCMWkodYIa/GF037GmGdNcu+Ts4JnZ9Ysk15jIwNwG5a75cRYm rArzuX0sOIoXG14rD+c8qSYjCaM0SC0UjUEjaENy97dNSYQk5cX3I9ZPmAGJLRrd9dFWro0+XxAUK 3XcpRuYKgZjC9bh7yQX0IIyD4nSQpeGxoLGIt0GImcnawo12pa9fMrOqlafBb5KvnIH8omYFONjS4 F10yLgilRI+fCHjRa3DoVr9Spn+ao1YlZ3GraZi7BUnaAKwPMqwCrggqXIamPxWucv1fSfxp2+A/n 0zC1zxx0HX7zk1J1Zi6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjrt-00028U-7i; Sun, 24 Feb 2019 02:50:17 +0000 Received: from mail-eopbgr130054.outbound.protection.outlook.com ([40.107.13.54] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjrp-000228-JO for linux-arm-kernel@lists.infradead.org; Sun, 24 Feb 2019 02:50:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EHxbR+mGL8fczXmbRc4w/D8IqC0OPND8gOUarj9FHws=; b=dbWTEkmTVLmxbXCuXImbKqrkBRZwMWE3vaSVHhAbM83R/EulYHd6idm0w37Baorjq9Aq58nfFULItHXWgMs4+nmoEtYYxCA2VSvNfAVR03pibXgEe9dPVM3QBc4+58u0Z4TxDVG7qKdJqg4MkoMcH/f7wSe077DJ21I/WFDnAsU= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3865.eurprd04.prod.outlook.com (52.134.73.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.20; Sun, 24 Feb 2019 02:50:04 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7%2]) with mapi id 15.20.1643.019; Sun, 24 Feb 2019 02:50:03 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "maxime.ripard@bootlin.com" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" Subject: [PATCH V9 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Topic: [PATCH V9 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Index: AQHUy+ukMWDajCXXzkGf+b3wfa1YNQ== Date: Sun, 24 Feb 2019 02:50:03 +0000 Message-ID: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 297df944-045d-4a88-8a1c-08d69a02c6b4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3865; x-ms-traffictypediagnostic: DB3PR0402MB3865: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DB3PR0402MB3865; 23:jy8HJ5t1xdLfRMAKOZUN9wf2lKaEMzipItprw?= =?iso-8859-1?q?zyqtIRc+jWar7wXQv?= =?iso-8859-1?q?ajeB89DNOh3xgz0on28xTE44kGDFlBY9MwcVMvNTuU0FeEwwcfSj+sV3IWQL?= =?iso-8859-1?q?s1R3c4bXAy+LIvkqI1AgNjCJb0tR4tQXMSsdW7oIn2acKywESlLs0f5QSg93?= =?iso-8859-1?q?CJxpeDpjYV1yYCH6fi2yAOHT6Hre9MSmrsSGoRKzTfP4MwbbqPnqH7IGuLsU?= =?iso-8859-1?q?JQ31Ia3pE5YAOBg9FuVnw4StQ+QIkfTambR2GuT6X5xC+qD76HzSIitLrgSQ?= =?iso-8859-1?q?Ao7NSsMXyQvonG8GKAhtZ67QEcZagexYs/Z3+y/1EJ+ggKYWl0HZQW4sRDhL?= =?iso-8859-1?q?avc3bQwZKQKcQjtrIcsk66CmCoTIPS7cgsCkCisN0y7QQWA4NyxdRgiLU2R1?= =?iso-8859-1?q?MvahBwBOI071/prx7EJpta07P+A4wM0j17iQY29QRmuhe/eVe36m3UUhSTzr?= =?iso-8859-1?q?Z9oPsVyaQHWtatFztgkjLL4/mBt5eOZlUW8/7iyJSJSpMwDJNj0TOmkZTUPA?= =?iso-8859-1?q?VD9PECBFi08VY5twhRS0MOQDrrA226pEApUBY/trapIoVfihO05bIz5RzFgK?= =?iso-8859-1?q?gB8HkfZ5ZetWhffXW4cb0Zzl8BtGy9AyHvO+sRhO6eqLFfqOuUEHmxQ2UOd+?= =?iso-8859-1?q?tRqWsaSdqu1CAglAnA6m2r4RYzligtdf6AV0YxECuqIeVQiCFyErXyJqtIuL?= =?iso-8859-1?q?o++Jo0bTHbwDF0JlfppIR6xWv/4TffNYvHH1kxPwKjbAJr87neuqZL9gaacc?= =?iso-8859-1?q?3yYhrxRIfmJ9wzthoy+M272LZHgC1S9GHn1VLx3ht1jCEiONZ84Qli+WN+fO?= =?iso-8859-1?q?0OeLRHRJR+3aYLCrB9Tp8Rwf5IIiV/SVhgpnU6u2aCO/b0QObmpVemQ68WD6?= =?iso-8859-1?q?KfY3wx7woPz9DD5UxXjRy1u4kIvv21uEUnsGon19dK9/P2weZKy4YNdyD/dc?= =?iso-8859-1?q?j9E+ZyDVS/zrjveuPBkCT6eMX+1cZYPTTrErbRxttYSYTlRs4rSsBooUJh0J?= =?iso-8859-1?q?v2IONQ6zLWTcvOR6rW+YQBDwiD2v1TUn90XFvvLFe3qf1WonPmDzjQUOL+Te?= =?iso-8859-1?q?yRmAgFJ/q3GEOD2TknDG6jvL/sN/vt/QcZZ4maBDHzUQP9+K3HpvrmYNFiou?= =?iso-8859-1?q?bwyG6E5PGZsZqAl1ynNmgW/9o10yJJ9fmjbW4h2b6JMBSbYOaJAi6u61fEKS?= =?iso-8859-1?q?78DTKuO5ajrpFwdEwSPECG?= x-microsoft-antispam-prvs: x-forefront-prvs: 09583628E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(396003)(136003)(346002)(376002)(189003)(199004)(110136005)(478600001)(4326008)(316002)(66066001)(256004)(3846002)(6116002)(36756003)(2501003)(52116002)(7416002)(99286004)(14454004)(6486002)(71200400001)(71190400001)(8676002)(6436002)(53936002)(106356001)(2201001)(6506007)(386003)(86362001)(6512007)(7736002)(305945005)(68736007)(50226002)(97736004)(8936002)(486006)(26005)(81166006)(2906002)(186003)(2616005)(5660300002)(476003)(81156014)(25786009)(102836004)(105586002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3865; H:DB3PR0402MB3916.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: arisezFOBvbPG9w3E41PRx6cHmq+tJCbxGQ/2PLZ+XLigx9o603aZc/oGmYDg+Cwtt5oNJeb8dj7i8/2xn+N/6sP0+wiPtqBernwDfm5WTTvMH4VbHZLaeNuBwrJS3fd+UnO94dwYmwMh4Lr2sKUjczga/Q2YBTna3Nncvh5UPM7gzLXPPRcLJbMAUg2yjakDvE1wWPoySVm2mwxZCi0s6/z21L6e6IkfDd2+WDY4+OrMsXip1ZRU1L+wmpSXDzq+Y5IBo4qAjwyV+MYWFVVRmVe8pkn3dbFlJ3BM0rFeogu+z29GbHSyjbXdi6dTo99FaM3Fsmz+EXTwgSOw7KEAlgb9TQt2v6cto66xXnIOmSef7aMJWoajIQYnKMpHLKktW9g2C2XyLSQqMKk/zEFixqKQUF1bASUBzDLj2jbxkU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 297df944-045d-4a88-8a1c-08d69a02c6b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2019 02:49:54.8095 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_185013_637463_A716CEB7 X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors, this patch adds binding doc for i.MX system controller thermal driver. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- Changes since V8: - improve "imx,sensor-resource-id" description to cover single and multiple thermal zones. --- .../devicetree/bindings/arm/freescale/fsl,scu.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 72d481c..2e310ac 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -122,6 +122,21 @@ RTC bindings based on SCU Message Protocol Required properties: - compatible: should be "fsl,imx8qxp-sc-rtc"; +Thermal bindings based on SCU Message Protocol +------------------------------------------------------------ + +Required properties: +- compatible: Should be : + "fsl,imx8qxp-sc-thermal" + followed by "fsl,imx-sc-thermal"; + +- #thermal-sensor-cells: See Documentation/devicetree/bindings/thermal/thermal.txt + for a description. + +- imx,sensor-resource-id: A single integer for single thermal zone's resource ID or + an array of integers to specify each thermal zone's sensor + resource ID. + Example (imx8qxp): ------------- lsio_mu1: mailbox@5d1c0000 { @@ -168,6 +183,12 @@ firmware { rtc: rtc { compatible = "fsl,imx8qxp-sc-rtc"; }; + + tsens: thermal-sensor { + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <0>; + imx,sensor-resource-id = ; + }; }; }; From patchwork Sun Feb 24 02:50:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10827677 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D04A13B5 for ; Sun, 24 Feb 2019 02:50:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 178DF2B9DE for ; Sun, 24 Feb 2019 02:50:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AD262B9E0; Sun, 24 Feb 2019 02:50:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F2062B9DE for ; Sun, 24 Feb 2019 02:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AncI2cGJb/JetUuIt9iRWog5fQA+oYdy2y1pI1RTieA=; b=o0oYxIBgWJ56uP vGEH42hv3wRXZg5j9/4NT9CnuqaEAvx7vhl+gYKsnmJ4CujHs37yF30TCemyKgXkHOMkW2r3tFTvZ VBycnj5BPE4Whqh/z0o3gSHab7Xx6R2V81I5Rz5uyTGWEjD2tagf+A9H0noz77EZv/P42WVNpJ5yN w+9vMV/xXYyj7AJVmeOufILMKvo2993VM485MqgabN05YFlR8cYQRBqL9CdWe3n1XLw28BxnVb6K/ /uXQLdX5m7qYlMDuYWg354oIetKehE6brM4MzS8rv74PfgZkZp1z0MdtRvRNL85/B9GL9nGVwredD /VeJbsZxgCaORyF2uj0Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjs5-0002MS-Kp; Sun, 24 Feb 2019 02:50:29 +0000 Received: from mail-eopbgr130080.outbound.protection.outlook.com ([40.107.13.80] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjru-00028W-Ni for linux-arm-kernel@lists.infradead.org; Sun, 24 Feb 2019 02:50:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aN2hxg9MH/QYU51I2U88BGfR0AGtuK/gNUqp4JiBmSs=; b=P3PkkZvJgk84oCQI0Aca+J8xIq0N6I1aKeFgyD7C7Z7lUB/rU2viqXzoyGPTswQDrWHBNgR0X0ZcQFAf4wD8IrtfeLfrMaRRuPZHQTZgtSqcQAW72l9UOZpTdUN1GnSiPTKxXvWAEkokdlCxLuGCmWq+7B5LmgjR6XoJ7QCRL0g= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3865.eurprd04.prod.outlook.com (52.134.73.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.20; Sun, 24 Feb 2019 02:50:13 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7%2]) with mapi id 15.20.1643.019; Sun, 24 Feb 2019 02:50:13 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "maxime.ripard@bootlin.com" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" Subject: [PATCH V9 2/4] thermal: imx_sc: add i.MX system controller thermal support Thread-Topic: [PATCH V9 2/4] thermal: imx_sc: add i.MX system controller thermal support Thread-Index: AQHUy+uqPMkufWKZK061slXkp9mayQ== Date: Sun, 24 Feb 2019 02:50:13 +0000 Message-ID: <1550976319-20216-2-git-send-email-Anson.Huang@nxp.com> References: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e1ccef00-c944-44ee-b7e8-08d69a02cc70 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3865; x-ms-traffictypediagnostic: DB3PR0402MB3865: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DB3PR0402MB3865; 23:SVaJPWDeIGZTWocGtushW1wkKkccuyTLiWrBQ?= =?iso-8859-1?q?WkEh5ZOFgCVIbtFR6?= =?iso-8859-1?q?EJhXXOn+9HkBUKXf0gOdkU24SiFdzSoXWZOePnYSjfgBuclVaOVXHlpZPHvY?= =?iso-8859-1?q?76yA3kW2ZaRohLsF2Azb1wW/YJtT/vHNF+M01Jfk/NidRdJNQOruXbTg2yod?= =?iso-8859-1?q?F4gGTz+PoQV1+KcvuiJLp0XP/fysbvciLbM6w7Lq4FcNWDO7IBswvqlnXRpi?= =?iso-8859-1?q?NJBI0zjRg1Flyz/3d6p61i1NbInHewiP66gh2lgoQC9iWT11hHHLvK4GshJm?= =?iso-8859-1?q?Vde4vIpFC6II99DwTQsE7CE/Kng7Tp/jUz9Z3kbAHYkCZeHFv4el0r8q6E3+?= =?iso-8859-1?q?5ml41nWCFcX7XRqk3/9IfkLxHvkYdf/8D3/IatO8eQwIDcPljZEbI1M/frKQ?= =?iso-8859-1?q?5GhY3fTVxTDSB+Ag8B2VcSWkuaYDiCKaB7E621QzIb8yftblJTqDykFblnGe?= =?iso-8859-1?q?48/RG1/KUDJn02JCbS/982pZjEDO0jxriCR+4uNmpSk9/6ZFDEQnZLf8WaRE?= =?iso-8859-1?q?zSii7BiAA6u5HKWyQtToMgWrJn/QzV/knTjOg0L1C+6JuEjJQHPuj/lshLuI?= =?iso-8859-1?q?8EOFXhqo66kkNDopscbtRPwkAfOgUlnmi2aYE9XyboPEsGNAUrFhQ83xfbTZ?= =?iso-8859-1?q?vCTaCCuAqJE7adJa34y/VurDSi2axPEreVjV5X8/i2BrZ1eQAsQYY4sM1iE4?= =?iso-8859-1?q?K1mByjsU0nHid14uDScrCsaxnoEJrv8GD9u22220Gil2G4Om9/BpqB15GSKK?= =?iso-8859-1?q?iOtoZ85zGdE6XN2uiNT9YkoRCo36LpOmQFNvDvnCbEdNh4RKYa8NwMTFYHZm?= =?iso-8859-1?q?2ZHjEQV355Mmkf4yihMDnRUkItWui1+IqS2YtxeI267J3hno6bE8VpcIs+o1?= =?iso-8859-1?q?YkdeNno998+UVYSa7zGG0hQURweij3KaIjfyrTg/77Xs3MdhjCfLy2Hr7xgp?= =?iso-8859-1?q?0KlqkU2QtCnycYHNlGT9DEh8C4buTGeOtWiAfPP78Os2Yjq7XTJQ8TA8+QlI?= =?iso-8859-1?q?yG9eD6T55mWyMZpFAqQkYllGQFbdHjxy/y2WvWmWrw/Z3nHXJqeFBg5MfCEt?= =?iso-8859-1?q?dSh7xOEqkfTMd/CAEURw4lo8v0HwcS0A29QHM8kvmvOEGPfSn1RWRnBXzelX?= =?iso-8859-1?q?F/KvdDxjF7hE+Upj7f4hMTV+2gS2xxV1pe3cSHEULagayR3gw4OWZL83XOjq?= =?iso-8859-1?q?LEpdq7p3Vd8y4PHxrGgDZMrP2K5KaPD4m8krA/+0Oc+n9W6obF4pX0dtnQCC?= =?iso-8859-1?q?MRUHk=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09583628E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(396003)(136003)(346002)(376002)(189003)(199004)(110136005)(478600001)(4326008)(316002)(66066001)(256004)(3846002)(6116002)(36756003)(2501003)(52116002)(7416002)(99286004)(14454004)(6486002)(76176011)(71200400001)(71190400001)(8676002)(6436002)(53936002)(106356001)(2201001)(6506007)(386003)(86362001)(6512007)(7736002)(305945005)(68736007)(50226002)(97736004)(11346002)(8936002)(486006)(26005)(81166006)(2906002)(186003)(2616005)(5660300002)(476003)(81156014)(25786009)(446003)(102836004)(105586002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3865; H:DB3PR0402MB3916.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: PH1TzirzcyslzoPy/zSQ4QbEc+5bqnz5/LcmO9OO7zMhBYplWF5ndNM+9mxYjEzHH3WWE0ZkjXLGCUsZRAGApUlyue7YmIyoMQ4oV4frQ5qYwkkBQ9QfQCorptSKs1ZHK05Jkl34t6uciJGOJWseBavGiOyAVd5JYF+9d1C/JheBRJ7fZ8WlEyOFznQFKw3+nQb6LJ7QWkE/VYNQ0Bi2v9flVefkp0aSdZmUArzuWGN7b2YeygGo5OdBeFHbsA2IzDIdykqdubo3DNbWG+1yz9OQugGoLOjkfDfEHMpH5fGS5lljjsIobz2rui4daJMQ2EdiPNLXSkUC2wrBGQFHboTp3hrM+nXciAL/LiygeWOvbmbylQ26kigrQj9DdB0PMNBR4/yE7v3SdVEN5+JdrEIuJwihAHLKXszWb2HQd1U= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1ccef00-c944-44ee-b7e8-08d69a02cc70 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2019 02:50:04.1992 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_185019_135332_570E6128 X-CRM114-Status: GOOD ( 20.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get each thermal sensor's temperature, it supports multiple sensors which are passed from device tree, please see the binding doc for details. Signed-off-by: Anson Huang --- Changes since V8: - get thermal zones number from "imx,sensor-resource-id" element count, so that we get get rid of searching thermal-zones node; - use "pdev->dev.of_node" directly instead of getting phandle from thermal-zones node. --- drivers/thermal/Kconfig | 11 ++++ drivers/thermal/Makefile | 1 + drivers/thermal/imx_sc_thermal.c | 139 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 drivers/thermal/imx_sc_thermal.c diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 58bb7d7..fec0ef5 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -223,6 +223,17 @@ config IMX_THERMAL cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. +config IMX_SC_THERMAL + tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller" + depends on (ARCH_MXC && IMX_SCU) || COMPILE_TEST + depends on OF + help + Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with + system controller inside, Linux kernel has to communicate with system + controller via MU (message unit) IPC to get temperature from thermal + sensor. It supports one critical trip point and one + passive trip point for each thermal sensor. + config MAX77620_THERMAL tristate "Temperature sensor driver for Maxim MAX77620 PMIC" depends on MFD_MAX77620 diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 486d682..4062627 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o obj-$(CONFIG_TANGO_THERMAL) += tango_thermal.o obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o +obj-$(CONFIG_IMX_SC_THERMAL) += imx_sc_thermal.o obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o diff --git a/drivers/thermal/imx_sc_thermal.c b/drivers/thermal/imx_sc_thermal.c new file mode 100644 index 0000000..e9a8207 --- /dev/null +++ b/drivers/thermal/imx_sc_thermal.c @@ -0,0 +1,139 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018-2019 NXP. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "thermal_core.h" + +#define IMX_SC_MISC_FUNC_GET_TEMP 13 +#define IMX_SC_C_TEMP 0 + +static struct imx_sc_ipc *thermal_ipc_handle; + +struct imx_sc_sensor { + struct thermal_zone_device *tzd; + u32 resource_id; +}; + +struct req_get_temp { + u16 resource_id; + u8 type; +} __packed; + +struct resp_get_temp { + u16 celsius; + u8 tenths; +} __packed; + +struct imx_sc_msg_misc_get_temp { + struct imx_sc_rpc_msg hdr; + union { + struct req_get_temp req; + struct resp_get_temp resp; + } data; +} __packed; + +static int imx_sc_thermal_get_temp(void *data, int *temp) +{ + struct imx_sc_msg_misc_get_temp msg; + struct imx_sc_rpc_msg *hdr = &msg.hdr; + struct imx_sc_sensor *sensor = data; + int ret; + + msg.data.req.resource_id = sensor->resource_id; + msg.data.req.type = IMX_SC_C_TEMP; + + hdr->ver = IMX_SC_RPC_VERSION; + hdr->svc = IMX_SC_RPC_SVC_MISC; + hdr->func = IMX_SC_MISC_FUNC_GET_TEMP; + hdr->size = 2; + + ret = imx_scu_call_rpc(thermal_ipc_handle, &msg, true); + if (ret) { + pr_err("read temp sensor %d failed, ret %d\n", + sensor->resource_id, ret); + return ret; + } + + *temp = msg.data.resp.celsius * 1000 + msg.data.resp.tenths * 100; + + return 0; +} + +static const struct thermal_zone_of_device_ops imx_sc_thermal_ops = { + .get_temp = imx_sc_thermal_get_temp, +}; + +static int imx_sc_thermal_probe(struct platform_device *pdev) +{ + int ret, tsen_num, i; + + ret = imx_scu_get_handle(&thermal_ipc_handle); + if (ret) + return ret; + + tsen_num = of_property_count_elems_of_size(pdev->dev.of_node, + "imx,sensor-resource-id", + sizeof(u32)); + if (tsen_num <= 0) { + dev_err(&pdev->dev, + "failed to get valid sensor number: %d\n", tsen_num); + return -EINVAL; + } + + for (i = 0; i < tsen_num; i++) { + struct imx_sc_sensor *sensor = + devm_kzalloc(&pdev->dev, sizeof(*sensor), GFP_KERNEL); + if (!sensor) + return -ENOMEM; + + ret = of_property_read_u32_index(pdev->dev.of_node, + "imx,sensor-resource-id", i, &sensor->resource_id); + if (ret) { + dev_err(&pdev->dev, + "failed to get valid sensor resource id: %d\n", + ret); + break; + } + + sensor->tzd = devm_thermal_zone_of_sensor_register(&pdev->dev, + i, + sensor, + &imx_sc_thermal_ops); + if (IS_ERR(sensor->tzd)) { + dev_err(&pdev->dev, "failed to register thermal zone\n"); + ret = PTR_ERR(sensor->tzd); + break; + } + } + + return ret; +} + +static const struct of_device_id imx_sc_thermal_table[] = { + { .compatible = "fsl,imx-sc-thermal", }, + {} +}; +MODULE_DEVICE_TABLE(of, imx_sc_thermal_table); + +static struct platform_driver imx_sc_thermal_driver = { + .probe = imx_sc_thermal_probe, + .driver = { + .name = "imx-sc-thermal", + .of_match_table = imx_sc_thermal_table, + }, +}; +module_platform_driver(imx_sc_thermal_driver); + +MODULE_AUTHOR("Anson Huang "); +MODULE_DESCRIPTION("Thermal driver for NXP i.MX SoCs with system controller"); +MODULE_LICENSE("GPL v2"); From patchwork Sun Feb 24 02:50:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10827683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A9F36922 for ; Sun, 24 Feb 2019 02:50:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95E902B9DE for ; Sun, 24 Feb 2019 02:50:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89A922B9E0; Sun, 24 Feb 2019 02:50:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 405F22B9DE for ; Sun, 24 Feb 2019 02:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k7dH7h6+AJd7AS8MPv+QXS7T/nHVg02Vtt0nQWeBWjE=; b=UCr7PHrf4d9JEU 1A8X+Npitxh25in5ga5jmGmQJsoJLEYXFi0ot5WqqWwTOa7dPK//9ZdV08GXXQgBQ80G54XYG4t2s gtjgmCUhkigxBEV65OCsQijEgbRDg25e+iNZttnYzmHLYu1qCy7R9eU9uTUahGJvuHJEPipJ/dduC s/vlwV3NZKzltS6hQyWUdVxdRvaDTaFyOcpJ7TJqaYMtoYZH2jIATQgRv2tC816B9IR49rFCp5tsc 4wIDb0j/AGXSAqGlwN7QQTMoYVEsapKBurKm+uE+Q7EfEEnLSwLrRJBsljKtapgOkfIftYRcpbfFk U8ZHAjzJ/t5EDLZ9MFBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjsO-0002ev-0b; Sun, 24 Feb 2019 02:50:48 +0000 Received: from mail-he1eur01on0622.outbound.protection.outlook.com ([2a01:111:f400:fe1e::622] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjs4-0002Jd-KL for linux-arm-kernel@lists.infradead.org; Sun, 24 Feb 2019 02:50:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Inv0zd1lGXPYjCKkHxkCG1cGUaq1baqCUxdg4l7brdM=; b=n6zlWpYIINiPJ1uRAYOaPGnamyO87++UTzpsh2PhtAUn8k+h9gaKd8wiyYLPr0q9SdM8mYypF8ypOYDwcWF8C6pGUKxKl2+zO2YvQqMaGuLtrggVqi7SJO+B680OrZxKK6Uq+Nj1pKun+tnuDfFxupbfZN8VgzfNV4s1QdbEfh4= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3865.eurprd04.prod.outlook.com (52.134.73.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.20; Sun, 24 Feb 2019 02:50:23 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7%2]) with mapi id 15.20.1643.019; Sun, 24 Feb 2019 02:50:23 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "maxime.ripard@bootlin.com" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" Subject: [PATCH V9 3/4] defconfig: arm64: add i.MX system controller thermal support Thread-Topic: [PATCH V9 3/4] defconfig: arm64: add i.MX system controller thermal support Thread-Index: AQHUy+uvlorzjg3jRUOHT6mZ1AJ48w== Date: Sun, 24 Feb 2019 02:50:23 +0000 Message-ID: <1550976319-20216-3-git-send-email-Anson.Huang@nxp.com> References: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e491501a-8ad2-4d7c-0c2b-08d69a02d219 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3865; x-ms-traffictypediagnostic: DB3PR0402MB3865: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DB3PR0402MB3865; 23:fS7BeB2IB9iBPXyzFkr9FsyBlKNCekdKiL1tB?= =?iso-8859-1?q?gSxdOThFloau5V5gF?= =?iso-8859-1?q?APAg7PxVlSUUpYvOz+rebOHItt9TBjXpLhuB9x0i0vB5Bp949GWVb5+PTOpB?= =?iso-8859-1?q?SFGOsh3XfDXAptxbS/tgX1P2fARPE7urRxsXxg1+dGmiuSVNwlG5akmF2VrR?= =?iso-8859-1?q?2+fvy9HDUhHVqqC2NkHRXn8e81Kqgmd02TuC0EnFpvAJlhwPdFq6yla0h3qk?= =?iso-8859-1?q?uhyhe4P9wbaDC6XhChicrMfYhy9GanIF+Q/oNVdKqft5sp5oktWLP5vVBMrw?= =?iso-8859-1?q?ar5PeJLW4PIwVkuZemgOytBrGbJl7KhHF5s2dqk3QhYNgp4qIX545xLef9t+?= =?iso-8859-1?q?Rqw88///QqCyju7dYw+xRn4xA1HErQcJ2Vt4MoCrP3fLtHFPFMiPd6rglgDg?= =?iso-8859-1?q?hqCtxn4qXOHb8oX+3xEo4IA2DOqHs1YYBj9VqTykZRHCopqHs3r/ceIU6bvg?= =?iso-8859-1?q?vAd+Ux6e6NZbe9UXanVUWqwet9TZ5dqbCck0w0ZX1XQmumKfAtIYMxzn1/fG?= =?iso-8859-1?q?mf+v8E+Ys9MMyJZYKgO2NLIo/ooa4WrESxA+NB9kwRE8FUCwK9jRF1dOA0ne?= =?iso-8859-1?q?VbyOAaTEWsVr+3TQUhgpcWSCANwHa23I9WlEN0F8/9mgG6GJk5/lOcY3WUb0?= =?iso-8859-1?q?Lb4hhne7cY3u/6hgrAecQCPpli4BGsVwT/9ck/Zoc1t4lk18XvwkyDVku1hQ?= =?iso-8859-1?q?bi35ds+cnDvYpiQBaOobqTzAsX4hFD7dojvxhL9Bbae3ij6xKF+z+BV81yx3?= =?iso-8859-1?q?L+RI3FLy7L5C+SjMma9bWnvsb9pYrDtwcRDLFyTZrQswI1NPbfi9ySIyx2eF?= =?iso-8859-1?q?b6ImexasAQMql/oiV709/3quCHIRcfouGL14182v2OGX+GiYHgG3br2rtwdo?= =?iso-8859-1?q?RMrXqD9lFnQ98gVpo2AwKusBsSf2tnxwDkpQgV54ZYPP9/p1vaSj9gMm3Tt2?= =?iso-8859-1?q?sCXS06Bh7r4mVHx2IoruqAYCozEocY5v1T4Nd6AnLBSF57NO6icFwsknWdvT?= =?iso-8859-1?q?2yB9r7cSY8iQchgFb7VX9f1JCvEzXQdgwy6j59NQ40MrsnY0jt3NQBXbe/I8?= =?iso-8859-1?q?wshunSo9qaKeOIIAGXgyyy5pysfyWQrV5kADz/OsaD2UBw4bHO9gJhW69PZS?= =?iso-8859-1?q?MS/dGyAJeU6SpT6l1sRBEQ7pslXv032IOhVSQySU716EaDtsOlxnziB3p7LJ?= =?iso-8859-1?q?5kAtqBKyz7RGrjpK0wHnlhDZDBBpieJ/zrCGSAk2bcl2NojJrRowhHVm5xCu?= =?iso-8859-1?q?u1OIezhsmNDGMyfVZwUryBQYnP?= x-microsoft-antispam-prvs: x-forefront-prvs: 09583628E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(396003)(136003)(346002)(376002)(189003)(199004)(110136005)(478600001)(4326008)(316002)(4744005)(66066001)(256004)(3846002)(6116002)(36756003)(2501003)(52116002)(7416002)(99286004)(14454004)(6486002)(76176011)(71200400001)(71190400001)(8676002)(6436002)(53936002)(106356001)(2201001)(6506007)(386003)(86362001)(6512007)(7736002)(305945005)(68736007)(50226002)(97736004)(11346002)(8936002)(486006)(26005)(81166006)(2906002)(186003)(2616005)(5660300002)(476003)(81156014)(25786009)(446003)(102836004)(105586002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3865; H:DB3PR0402MB3916.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /eIPHxPA6k/0x0hrPaWQ5pKN6T0Iom7Qj9zlD61yKWfzUwOoCZJMJhl4Qrx5sbnBANe7Vu/qRv/JCmeAbat5FioM9+vmNbJYbv5qi4SwmrVOvVB7gm0VCM3ryZSmM2f5Tp82lChBSeQAXgWiC31HcNcGepPgIblqgl4gDkmAeem1QAGVSeY9jN8rJ52N6MitGdDnL+kjFuLYlZ9L2o3dWilL0q/nUQxUsLCxHHq183hbKUs0WtHfTk4RapNtte7DI+Y8cLk6LoshvpFMOl0J7ehJarsNN/MZ+1HgwYIY8UON69DZ/NCtwuOUeWd+PD5OQv/SibbG4sKlV+ob+cWtzVHkFN/QCb0yW1hL434aV8Mhhtta5/mvYVNt9b/XqxbMm1XkbaC194pH4KsYeePSyPW0MbcaJ44Wjbgbw6kV/Ao= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e491501a-8ad2-4d7c-0c2b-08d69a02d219 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2019 02:50:13.9551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_185028_682265_DDD4CB5E X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch enables CONFIG_IMX_SC_THERMAL as module. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c390..52d503e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -413,6 +413,7 @@ CONFIG_SENSORS_INA2XX=m CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y CONFIG_THERMAL_EMULATION=y +CONFIG_IMX_SC_THERMAL=m CONFIG_ROCKCHIP_THERMAL=m CONFIG_RCAR_THERMAL=y CONFIG_RCAR_GEN3_THERMAL=y From patchwork Sun Feb 24 02:50:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10827685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C064922 for ; Sun, 24 Feb 2019 02:50:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 478CC2B9DE for ; Sun, 24 Feb 2019 02:50:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B67B2B9E0; Sun, 24 Feb 2019 02:50:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D8D0A2B9DE for ; Sun, 24 Feb 2019 02:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RoszV9kMuekp4G/BkeC0nMCuAM/Gtq2j+P3gbtPsh8A=; b=uAuo4etgTukzR/ e+vvmrYHFO/7JHTA1yS+avFiQHwrxQEssuRPEmEhCV+neUQpPPRd60y/HnpgfntNeBLZOAQrTtCaN JLKgKrZIrwMMiXFNIbyZljCO3QsQv28uP+6B/KWAwKijMyeTkE/1ZBA6rj2dQBugNXFGQkH7UAl7u CGN2/JKZJmfMdmK3H/QtR7UGfDxwtqPqEeCP5HyY7rbMau+GAm/Quj0to0GFVx9YzbkhB4t6ywzGd x7Q+a/VifXOmTTg6l2OvL1pgYOSHO+jnzhEVJVdHySUsgfpdq278C0hKD3A08/y/lRiRFBXLI8Wh4 aJrvBMjtT/BDhLlETx0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjsW-0002p5-Cr; Sun, 24 Feb 2019 02:50:56 +0000 Received: from mail-eopbgr80051.outbound.protection.outlook.com ([40.107.8.51] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxjsC-0002UJ-RI for linux-arm-kernel@lists.infradead.org; Sun, 24 Feb 2019 02:50:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jECv9KS8lurSuS/XHs7jTu3QMY3Yt3F9cWt1RKtLK/Q=; b=PlvbBo794nc3r29D5yiyX+5SHO8wt3fOquaeNgs4VxIUOWNe42uYKvXpCpomPTMXG6Iegp405iTZ98AUCh9ez3bQeQHVUk8EE+p+DweruRxhUZtAYvk2037oH/GrM8fW9i4168HZ/bWeQLQkYrql5EgNMqTqTOYY38m1vXhBHDk= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3931.eurprd04.prod.outlook.com (52.134.65.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.20; Sun, 24 Feb 2019 02:50:32 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::1cb4:3e1c:fc85:7ed7%2]) with mapi id 15.20.1643.019; Sun, 24 Feb 2019 02:50:32 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "maxime.ripard@bootlin.com" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" Subject: [PATCH V9 4/4] arm64: dts: imx: add i.MX8QXP thermal support Thread-Topic: [PATCH V9 4/4] arm64: dts: imx: add i.MX8QXP thermal support Thread-Index: AQHUy+u1czRhHiwCAUylWKsapUD+8A== Date: Sun, 24 Feb 2019 02:50:32 +0000 Message-ID: <1550976319-20216-4-git-send-email-Anson.Huang@nxp.com> References: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1550976319-20216-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a14dbd6-1ce1-4cd3-4d53-08d69a02d7cb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3931; x-ms-traffictypediagnostic: DB3PR0402MB3931: x-ms-exchange-purlcount: 1 x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DB3PR0402MB3931; 23:KxI04JIME1ibqilJnWLaOF0OAegLdqfddRyW+?= =?iso-8859-1?q?YXsEIyxmBGIOLAlA9?= =?iso-8859-1?q?8oobPVOrLW9D1w2eDf0bjJ9QeHfBsMsKDtAps2GPXMBlEKayOOp/qeQw2KMB?= =?iso-8859-1?q?7LV7w5oOferTBmR6W/QVYdq8VvrRk9BBCp62hztvy0ayjYd9IRURbiXUQLmv?= =?iso-8859-1?q?wZ/E22X2YbWcAbEHAvwxO/zx1LAQRMUOWou3sPZDBWmHimCWrSBhh1Rw/+yG?= =?iso-8859-1?q?6+RCzO5mKKhGOzN+JAbAzNfnvm+OT4NqcnEahz7NHWIpEDYBc61sjL99VUUW?= =?iso-8859-1?q?Ox5p41xyG7sWDtfoX+u/XNhWGG3FIxGeUk0P1o007SZ+rtsvYRalWoUQrish?= =?iso-8859-1?q?jqFEV2FAQtiESQtr6CzuJ/1DDGTM22C10s+SqoFIAd18WKpvy4vd65RBL4Tz?= =?iso-8859-1?q?XfY/U6ObSJX06QEc9fEKa6wMvOoc9dFt14b/Wiv300SPgTvzpNQA0sixFJGn?= =?iso-8859-1?q?xZYzTQr7SLw5DqnyKi5RqW13vxIN425XBNoqQfsW9Kk2E1Herijyur76//Em?= =?iso-8859-1?q?pRDFRoWHmyo8q1Oby+QGC4vME6/fHJU+8WnGPoYcDw4jcrz58f1uPaF2+KPj?= =?iso-8859-1?q?TAMWnLhgh8QtziOUITEt+YIXdNWGeN4gv+srKfnVSHBFCKwQQjc7oIhrtlg4?= =?iso-8859-1?q?+IO+HVfh8eb16mdC4DxG8s7acpSBD35pAEIRqwLEibhcVDZKOJyYZkrZfJJ6?= =?iso-8859-1?q?ijuBj9kvBzWSHDx6pzF42eVMSrAWja0qzZmXMH7WNuQu9oTLohYmdx04A1JQ?= =?iso-8859-1?q?nSt03Yjz1Ez1xXFi2Z5NB3d1+FVM2cwQa1MIPsOmEJCK30GT9+AHgR8TpkUI?= =?iso-8859-1?q?hMRBMtc7VUlhi16dn52Sd9YF+DtD8efR0nhgznnIt6Z8XZR1bIJiosPl+dQj?= =?iso-8859-1?q?EWlmEfCtNfb9v5DWwC3UweCXabSDvvzlKh51BKuqDcJJ7JI4lWMTiCrqGBpE?= =?iso-8859-1?q?AsVOx5tZtr+DRg+IlNonBTp4loc5j17iY7bHVy1IP1cWRqzQ8zmvoc6egz5B?= =?iso-8859-1?q?LtmWqQYlZUZeZwvAfLHfNjTBk0W0GMVwbsK9vws+sGAvGlTDI1oUj1+w64En?= =?iso-8859-1?q?zwbf6EV/jppbyUYkaw5PQNme3lUCaoffMxS0iMykN78SMzTggQQFatDtY2zB?= =?iso-8859-1?q?XSd+x5NlYVEuHuUMpRyZFpzXDF0VDDy6+TYS6UYRcpaCzji23X4UBgrwv5v3?= =?iso-8859-1?q?9LYxBYGiGoKEhdSi86IPjInMR7RSuKwoy55FUtOgdwCiyAUw6mEfnyEErYMe?= =?iso-8859-1?q?D/WIgEPdFEW0Tc34eiR2PaOVk3yeuJSnX51cUELQMGrXmi1WD02KugSbQ0Ao?= =?iso-8859-1?q?7SJiTtatg=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09583628E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(39850400004)(396003)(136003)(189003)(199004)(71200400001)(71190400001)(36756003)(26005)(6116002)(6506007)(6436002)(6486002)(3846002)(97736004)(316002)(386003)(86362001)(7416002)(5660300002)(14444005)(102836004)(110136005)(68736007)(2201001)(25786009)(81156014)(7736002)(256004)(186003)(81166006)(8676002)(305945005)(4326008)(446003)(76176011)(2501003)(14454004)(2616005)(476003)(486006)(966005)(53936002)(66066001)(105586002)(50226002)(52116002)(2906002)(478600001)(11346002)(6306002)(99286004)(8936002)(6512007)(106356001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3931; H:DB3PR0402MB3916.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r1n/1tjpIbN6ZKdk10SBWHEL5GSYI/mUHUOVuxWwmMHKQ7/cniJ+F46KUiouvoyTilovsUjte/GZdWQBfu5JRfW6amoaGQpQsklJMNeSF65YJk7tmnnuGO93LZOnXYbSZfUKi33lFxeRmXR+Px2lcvDXpfPeFPXXhFoCzrARPtqn8UK/QYNYObSOmGXoCHrzdG9oFBglfeuba0mSnL9tEcabE515krKl3An4e2fmqGha+X2Vqq8KvqlkOiMd6oXub63sd4gqrpbZImv2glteuAUvR7Hgx4lqLGuXi6CuwJUC4HG4dyKqr7qdmFG56ULkKQZEAEymtDIJzuMZd7FPbY0FM+p0E/qcG3uOi+llxoQgcu3qISRqZEztR8wtUz8KLh08wCwpgmYOm7e9/UUxWNhAKLoNiPTUJEK96F8jwI4= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a14dbd6-1ce1-4cd3-4d53-08d69a02d7cb X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2019 02:50:23.4989 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3931 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_185037_281642_37522B94 X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- Changes since V8: - remove "#cooling-cells" since it is already included in cpu-freq opp table patch: https://patchwork.kernel.org/patch/10825081/ --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 4c3dd95..85c90e0 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include / { interrupt-parent = <&gic>; @@ -116,6 +117,12 @@ rtc: rtc { compatible = "fsl,imx8qxp-sc-rtc"; }; + + tsens: thermal-sensor { + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <0>; + imx,sensor-resource-id = ; + }; }; timer { @@ -443,4 +450,31 @@ power-domains = <&pd IMX_SC_R_GPIO_7>; }; }; + + thermal_zones: thermal-zones { + cpu-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens 0>; + trips { + cpu_alert0: trip0 { + temperature = <107000>; + hysteresis = <2000>; + type = "passive"; + }; + cpu_crit0: trip1 { + temperature = <127000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + cooling-maps { + map0 { + trip = <&cpu_alert0>; + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; };