Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp562007imu; Thu, 20 Dec 2018 01:23:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRhiZSJheDSiO2ggQ1lizlriG1ylYivU9LkJLLg8nODAkxbHdV68z9giCI2oiAcTbPzESW X-Received: by 2002:a63:d104:: with SMTP id k4mr22130217pgg.227.1545297809833; Thu, 20 Dec 2018 01:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545297809; cv=none; d=google.com; s=arc-20160816; b=l6pwQbvH/BuD/3MnX7/m34pVj4fxicg1pMpPtvWFkgbBj9reSFOPpX6wEvmQTP1CSM 9vWAHftjSdOtPzX/JfIHsQlRPpV8HukvIX78bZf/E2nH/YLXCVAXt9DQUsLayvLhow7Q EUZZU3q5AdB8iy29ByT59WrcrskEmOtG3DCYZ8aYxE3A/NsFO0HWbalqHTEKTH4DVp7e IllreoAq25j3QJtf1j7TylSkPBEovYqUkDyfCFAPbC9F/eR7MGB4wh8KRfBPtEzO4QLN qKqwMyrX/slcuw2snNoV4X17BPcrQObUMCAz6ISL3NdjV6+lhqJjMe+A2te46PJWcg71 I4Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=S1rSEyn6q7CwN3d37p/rkghbsaXb0Fy33oZ+lBx6sDM=; b=p3qUDR47r9tWQLlKTAEPSlGsBahbjiqx6mHg4zZbqHWLU0HuMlCmV9SFl7BPOB0rQd iIUwgAfiMkKlwBP4Rc3Pj4Nm6dTE8DrIBBAxPCNPfdiC3+ICFX+dxIGgiu0CmVo5q/yD vaB+ptrjIm6bwaaji14Th0urOpsvL5uWqc9sPH/GUHF8I+J4KccNcaG6KoWfSU/IZd6H 1s/v6TJt+P56AZ/A5iptKazDqyaK5hdJ4Hr4yXzelwkGko9S8WLqtp8j+AMHUFqXhLPU u6aRPI2Jr5+3EQWPzr1ral9mqgVI0UzyULdKuk90dLqBZs0JLQSsMWxRShXkvnih6S35 IB0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ZydM2PQm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si18216543pgg.522.2018.12.20.01.23.14; Thu, 20 Dec 2018 01:23:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ZydM2PQm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729974AbeLTJI5 (ORCPT + 99 others); Thu, 20 Dec 2018 04:08:57 -0500 Received: from mail-eopbgr00089.outbound.protection.outlook.com ([40.107.0.89]:28576 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725775AbeLTJI5 (ORCPT ); Thu, 20 Dec 2018 04:08:57 -0500 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=S1rSEyn6q7CwN3d37p/rkghbsaXb0Fy33oZ+lBx6sDM=; b=ZydM2PQm1O5udcQ8y6XkMxiaawN/L3E1GejMNjdBiM9RuyPSW0tGat0YcvYjUDrsoQaS2r5fO7Bxnk4v44jZg/8uiGgDlaSBUE/HZ/B6u15gkZl1wThy3vmLnSVG2IAdU27k+1EDTlXdkTPuB3RLjaHIjsnB+7OUEcidGiScDhM= Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com (52.133.30.10) by AM6PR0402MB3687.eurprd04.prod.outlook.com (52.133.28.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.19; Thu, 20 Dec 2018 09:08:52 +0000 Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::987c:cb59:96c9:6b71]) by AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::987c:cb59:96c9:6b71%2]) with mapi id 15.20.1425.025; Thu, 20 Dec 2018 09:08:52 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Andy Gross , "arnd@arndb.de" , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "bjorn.andersson@linaro.org" , "enric.balletbo@collabora.com" , "amit.kucheria@linaro.org" , "ezequiel@collabora.com" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V5 4/4] ARM64: dts: imx: add i.MX8QXP thermal support Thread-Topic: [PATCH V5 4/4] ARM64: dts: imx: add i.MX8QXP thermal support Thread-Index: AQHUmEOgvuU29LOpJkKytGq5wKJFBw== Date: Thu, 20 Dec 2018 09:08:51 +0000 Message-ID: <1545296609-20477-5-git-send-email-Anson.Huang@nxp.com> References: <1545296609-20477-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1545296609-20477-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: HK0PR03CA0091.apcprd03.prod.outlook.com (2603:1096:203:72::31) To AM6PR0402MB3911.eurprd04.prod.outlook.com (2603:10a6:209:1c::10) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR0402MB3687;6:WwnwXerYnL77V+PPgxL7sjQULRy6OVvrkQXPajM0vaDa4mXuLgIaxpix/09I89Oevv7Yob9vf3I7UmWv6raXa6i14uxaPAJ39SX/xSV8A4UFZ25tWnIjmywma4ylmYdP7QAUGdyQxswMt/QuJiI828d5G8QHmLGkQQQOlNFkNldmV+5mpC9tp75Y1KrbYnjySaQ5cyBqteYIYbx0LW8JwMUd62rS/pryEISgKVgM+CgjDPkjwUGJ372nXJhvFKmFZhjNUgZRZ43i0qAPjPpg4DAMLpPCOcE/5zhhEq//3VWgS9XkWLEnS1bb2N5ums24tLclRFsljsvEwhzTK4uKfZuFmkNaVerOlhp6t2+SATb4uHr1hyyjiMtIO5JMNsNYIRUfZQNLq1k9VLOHQVoLmskZi0OVBqM4MZPxU0jwHOy2uW625dpNH90f8nTmA3HODrQWY9xJXkxbEsIjRL0S8Q==;5:jb6276LG7k2YA9/ZTy5xyIBzOPTLHIocdeO1kuPJZSmNywaZXTkkR6bkgfnYbVgxTP/3XUbgnM4tWS785ArjMgYf7Rt4nbU/ngXBH53n3T0Izm6MMvz/UEufnT15DeocK+vDMu/EYzopfCkYSyMZHL3Zr7qAQJgrEjQavCHY3Yg=;7:Cjm0vUHQ2t+KT9yyqildJzHiV+tEwvdM/PERorCiXUidkHMd5NmwZeSMIuYK+9IySedGn/hfCHTLOEcCTjrMFxJJ9SfIzv+oArASMpzYmL+rBpL7lhOd6+i7KfDVRB/IrM8PsalDDGykyNcpg7YZcg== x-ms-office365-filtering-correlation-id: 97cccc6f-3284-4dc4-834c-08d6665ac29a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM6PR0402MB3687; x-ms-traffictypediagnostic: AM6PR0402MB3687: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM6PR0402MB3687;BCL:0;PCL:0;RULEID:;SRVR:AM6PR0402MB3687; x-forefront-prvs: 0892FA9A88 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(39860400002)(376002)(346002)(396003)(189003)(199004)(6512007)(316002)(66066001)(97736004)(110136005)(3846002)(106356001)(105586002)(5660300001)(478600001)(2201001)(476003)(4326008)(186003)(446003)(11346002)(39060400002)(486006)(14454004)(2616005)(7416002)(53936002)(256004)(86362001)(99286004)(50226002)(8676002)(6436002)(71200400001)(71190400001)(2501003)(386003)(6506007)(81166006)(36756003)(25786009)(2906002)(305945005)(26005)(52116002)(81156014)(6116002)(76176011)(7736002)(8936002)(6486002)(102836004)(68736007)(6346003)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR0402MB3687;H:AM6PR0402MB3911.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-microsoft-antispam-message-info: u9CfbeyH3qPEFES41JaMGqUglYLHOwUFUP7r4uv6fZWJUa4rKuPf24QNyjMeTtOkXOvQFWYdS2crhU0f8zTBPFNuw/yOwlZ6UuJKV+N6FwIHIviOQTvlLa3zc7rZ+D/FUBhRmxHHoykncAmVtI9yXJw1YSm0gIBRDK4l+q/cYnshh0NZ7fXX/6AEkhQctDm23IjIvKhcPV9ABaSsxsF+8aW/lE4KQzl9ctOtDjPk3KcL2unrKW0Fm5q8gCQONnXoAwHHEUR+3VgLVxaWxZmftG38tju6SYndVRMzWciUbFzIWxolysLC1X2CoVs0tvgu spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97cccc6f-3284-4dc4-834c-08d6665ac29a X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2018 09:08:52.0631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3687 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- No change since V4. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 ++++++++++++++++++++++++++= + 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/d= ts/freescale/imx8qxp.dtsi index 9b08688..48f622c 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include =20 #include "imx8-ca35.dtsi" =20 @@ -87,6 +88,12 @@ rtc: rtc { compatible =3D "fsl,imx8qxp-sc-rtc"; }; + + tsens: thermal-sensor { + compatible =3D "fsl,imx8qxp-sc-thermal"; + tsens-num =3D <1>; + #thermal-sensor-cells =3D <1>; + }; }; =20 adma_subsys: bus@59000000 { @@ -410,4 +417,24 @@ #size-cells =3D <1>; ranges =3D <0x5f000000 0x0 0x5f000000 0x1000000>; }; + + thermal_zones: thermal-zones { + cpu-thermal0 { + polling-delay-passive =3D <250>; + polling-delay =3D <2000>; + thermal-sensors =3D <&tsens 355>; + trips { + cpu_alert0: trip0 { + temperature =3D <107000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + cpu_crit0: trip1 { + temperature =3D <127000>; + hysteresis =3D <2000>; + type =3D "critical"; + }; + }; + }; + }; }; --=20 2.7.4