From nobody Wed Nov 27 07:35:31 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2075.outbound.protection.outlook.com [40.107.20.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33FC718453F; Sat, 12 Oct 2024 11:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728731452; cv=fail; b=ompm2kYOks0o+rGNQ2YOx0y6FHFVGrXtvipC6yLVXZUeWT8tc3Z8mA05zU1iRjjEz2EHyvG0tp3wRUn8bI+FTah5axCQsMfXyxDe2PjoM+0hIS4hOqD7uiUsaAKxgJ8NmOlMVFf9+Hml9/2r3O9u/gkTvI7JTfGTaoRwGbVp2RA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728731452; c=relaxed/simple; bh=RuwwulEoiz8La8igWI6Sb89WohZRoLrKtHVpmorvEDI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=QIjxFrA7zGZNifu28+ZvEjLzr6ZXrjR4ZooAEG8qaZ1CttvMAdrjqqA39UjRB5qM/AWABFyqrH8QfyHWkR7p4pUKTY/r12wmVrfaWFQxnalYhouvlux4itiEjgMR3lJFCykgmD0FTrtZvM9GZvGBXRO144N8bJm4XAZos9Iuw4Y= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=KkLqg1Ac; arc=fail smtp.client-ip=40.107.20.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="KkLqg1Ac" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XxNiMUsDvGNFdJFa+vyWUwMfoYHeaMBFefnvPEK7EDoLYk0Ox1QuY4BEbUM72Z6FmWzJMUEv62N8WC22evMCmbPRtjKdIU7oVJYdGdbVVA/Y2jDVS0e3XZHqQsVjgr4Bg/LvD7h55E9icVaW1o730WB9SHMZoR7RkX/1lSrL58MBdoPGECws8f1yIEJhoTPG+74RlBITQZe6bX+CCpCyqMwVLwEAGjGpLTPwaExi63Yr7yS+yeUD9ySoQ/5N7ye+fI2DCyAmzfYYIi8EgRlxE0bZ9xAsH3TsYXZ2kqOp7tFzilXuq63ZFlHyLwZPL4hj+K5yWkAGKSwVlVcB3DI89w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZrQ6jKU0AJLDfllKE2ZgYAATDSvxAHyoSqY/Z6rqkBc=; b=HjWZrr31qOgrwOzKBZ/fCeE+P9L4nxVUIFlge8mir8vkRNZSWDjpFGIHX7fSao9Rs6mSoaKlTH+0ZvzZ6bPoxjApBYde/qO0RmXuVkg7nOQQ9qFI6kIDiFbN6S+KnjlmQUVqBahQTlqw9TC+T3B/H4cGOpkdX1pu8rzSB+c30dbSeXEpDv1ONIMvfskQyVN09k0Aue+y0dJ+KBUoc13fLVeYhg3+3Gy/Fw3UAh5kJFAGi3C2M3GtcPo8Vb9aXuJesZkDJLYQAdKVCPhxIlXaeF3FLK7mVfg49AHh/ex/PI4RjzSrsavCFJ195TxCxl2QaNOIHu5KcD7i20wj9MCkcQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZrQ6jKU0AJLDfllKE2ZgYAATDSvxAHyoSqY/Z6rqkBc=; b=KkLqg1Ac2ozylg2RlE3hW4IfltHh3V3VkOF2JPTXPkfO54YLHBTy3aCpOAUvquPVPNwjo7Y1hFilOSpLjg54UdQ2sI52jpvZWNprYHNJkGyDzfVyotI//hOkh/gfyF76iO5C4+XSRuLTSf/sDngVPXAHpQRXlk0Jm1jparDXJVR1kEq3Iiafzhtsr6gUUzZ16Q1/2M2F9QGBIxxyzojO68eEOLASDSKM09fsStr2xhCRs9CLN5tbmFWTbMO2OVBOx0TsAtbXHhALAHCUC1AWUSkIwEqnB3eFyUed6wfDIrJqDq4FsZGSjrhpeL4IDjJk3pHqynIpMb44h2MwJO7JmA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by AM0PR04MB6771.eurprd04.prod.outlook.com (2603:10a6:208:18d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Sat, 12 Oct 2024 11:10:48 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%5]) with mapi id 15.20.8048.020; Sat, 12 Oct 2024 11:10:48 +0000 From: "Peng Fan (OSS)" Date: Sat, 12 Oct 2024 19:19:11 +0800 Subject: [PATCH v3 4/7] arm64: dts: imx95: add anamix temperature thermal zone and cooling node Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241012-imx95-dts-new-v3-4-edfab0054c71@nxp.com> References: <20241012-imx95-dts-new-v3-0-edfab0054c71@nxp.com> In-Reply-To: <20241012-imx95-dts-new-v3-0-edfab0054c71@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1728731962; l=1509; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=nCRcwJhSRqLnt+OnvdUbCBk2WTYPwx4bH32IgXyfYu4=; b=j+PJsxnztcqFmCMuDAFilBRFzaSIUFlNdeQpJVr50T//ffts3VYz5p1LoWSy3Xjw993bm7esW yFpMx0Pu5MtDYt+MBn6QJIhGpVvcUHPga8qGdXghUeW33UYl6NYrLX3 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG3P274CA0020.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::32) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AM0PR04MB6771:EE_ X-MS-Office365-Filtering-Correlation-Id: 61ca1bff-d045-4654-0d31-08dceaae86ad X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aFFvWWhVR2xkSyt2clB1S3d6ZytKTUM4bnBCSVRmOHpjUkVOQnM0Q2JSNFI3?= =?utf-8?B?WHJXODgyeEdES3JBU3hpaDdNRkxiOVpGalBadERqNEVhU2d3OFZQbWdoNWs1?= =?utf-8?B?eGNHd3dzK1pZTUt1QXpjYXhxUWdCd3IrTVZ6MThFeUdCc01hMTBnWVIrWmow?= =?utf-8?B?U1VHbnRJcnlJblpQSnRkRU9CTnA0NlBHVlh2MnhHTzdXMUR1T2doZFcvSUM3?= =?utf-8?B?YmNEdzc0am9vQlZTTFhMY291c2RpNEtVTnZMZUxxSDRHcUF4THNZZnhMWFJx?= =?utf-8?B?WnJmY2xiWjcrd2JHRGVmbGt3S2krNUZ1d2xPRmN6TVJJMW1iSjA0a1ZEWjhB?= =?utf-8?B?bTRZN0ZxZ2dzTjFQNFhWWmVnZjB3d2FidU55UkJWYWxqRWR6QktPdGF0R2dv?= =?utf-8?B?U215bUhVU2xzYS9xaW9qT1JDY3d3T2pYbWZRNWhwR3QyU1pTSmVrL2FWMitH?= =?utf-8?B?bkxJRlFXWVE4TGY3SXlpZ0k0SG8xWWlOcDJlNEVHYk45WWNVOHZubXNvVXN6?= =?utf-8?B?Y3l1L0FLWVZhcVRYNUxYVldxMFpSOEt6WHVpWkRCcm5JSjlYMUNLeFIrZTNT?= =?utf-8?B?WHdTbkRucTJ0Y2hQUTNta1NZeDlMUWt4bFI5cHJMS214QWpTbW5XVSt4TUVw?= =?utf-8?B?dFNFVG1OVkRSbWdSMGIvVDhtQnlJU3ljQ1gxSjloMGd5OVV5S0VTWFdhR3lU?= =?utf-8?B?STY1a0kySjNCTkRmN1hjUER4M2dkUlRZUU90bUhzVnRpTUZFL1Y3dFdRVWt6?= =?utf-8?B?RHo5OHRncHJFZkhMTVZaZ203c2V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3p6ZWJLT1BDVDMrY09PNWM5K2xYN0pwZzNILzlVdG1LTk1y?= =?utf-8?B?ZXUwMldCMnFvTGhBUzkvL3lnbHdSQXR5eTh1aGNBS0RFQmF2cXNlVWpPR0ly?= =?utf-8?B?cXFWRzVFc3V0NXQxdHEzdz09?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NXovSVlNQWM3NFdoMHZQT3NmL0RhR0ZtL1RRTGxRWjJucEFBd013SWl4UVR1?= =?utf-8?B?Z044QmREV3k5Nm9kTVNTREh1SlYxVFJLVGxCMkEyYVcrTkJLZGxsWXEzakp6?= =?utf-8?B?amtsTUxDY1VycE5NY1ZxZVAwbGtJL3hDVkNSbHlnOVF5YWNYSEJVbktuRVNy?= =?utf-8?B?eFRrKzVXY1kvTjkwRGJUR05UMTR0ZGhaM3AzMTRGVkVxRHF4R2tLNU9hVWZP?= =?utf-8?B?VVZpUWFVZmtISjhHQXF3T2lNMGtOU2VXUytxWkYwL1ZWb2NjdnlGT04xcGov?= =?utf-8?B?dXJCV3pkcUloSHg0VzhPRjVzY3VQQVZsaVowMDhYWkhvczZTVlVLSlY0WXV4?= =?utf-8?B?bnV1eHFYc2pWQlRVVldaeEd3amd1eDdUQ0FpQVU1Q3JIVlFTclZOT2FMRnc3?= =?utf-8?B?RUlJclkxMjhhVG93SGZWQThTdG9qREw3S0k1NnVNUlF6NUQyRFUzazZ2Vkpa?= =?utf-8?B?RTdsM1RJYnVlRzRTZm1CaVFhWHdkOUJkSjdYSzVQZElNblJUaTNTUUphRFRJ?= =?utf-8?B?V1JMTVVjdzBqZWNkSE1zclIrdG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ENWbVREQ0p3b1JFQkxoMmpScmF6QlVGVTVRS3lUODJ6REpYQXpq?= =?utf-8?B?clNsVGJEYWQ2QXk1QXRqemQwU0RQaHhHMTBOT0Q0RWRmV1Z1dk9xQ0MxRlVH?= =?utf-8?B?NEk5T0RmT0Nvd1pxQ041RkdmVGZjMHVuOWcrWUVzTXBGdTZoUlZEM3Jrc3pp?= =?utf-8?B?SWVPTlpNOGNqYVoySUlGZGtNd0c4Qld5Tmt5dXlxZXYyREVTM3UwbnczWFN3?= =?utf-8?B?ZWp6RlV3SlhxM2NBMEFHc1FnZ0JqLzVtTGNEbUZZRWFISkN0QTlTcWJHeXR5?= =?utf-8?B?Zzhaa1RveldGdE96OVpaTjRsNXo1QXhxSExlSitvTFR6T0diWVRkOW0vSmth?= =?utf-8?B?YWZGSkJZYnFoT2ltVGVubmtuQkdYVms3cW9xU3o3ckNXdWRUUkJtaFlTbFBZ?= =?utf-8?B?YVNjOElpcEtLQjRyWitibFJQd1FsZHE2UEdZS1E3KzRvY1haWjJOYnNzS054?= =?utf-8?B?eU9xUXFZWkFOQ29lS2pVdlhFY2dnWm5zYjdML21welYzT3h2SzAxdWZCZE94?= =?utf-8?B?WnU1dkNidWdDcjdsWmxDeTJSaWVCcExlQkNkRHJZY21qRE96dnliaTRtdmxB?= =?utf-8?B?UCtqOXBJaGQxeGxYMjd6NWtvam8xRk81dVdBUjdxZDY2eWFhanBOb1kwTlB2?= =?utf-8?Q?FSzEyIZkS5xx8x8dYFqhRX0tH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61ca1bff-d045-4654-0d31-08dceaae86ad X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2024 11:10:48.5322 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fqulKtWHQOmxaKkRsAlUFysGkbgSW6ZFw3yx6/jLDGVrgHKt8y8UmlmtjK1VSAR/SP0lJnfCmoyNjMZd4gEM4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6771 From: Peng Fan i.MX95 has two on-chip temperature sensors, one is inside anamix block. This is to add the anamix temperature thermal zone and its cooling device. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 32 ++++++++++++++++++++++++++++= ++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts= /freescale/imx95.dtsi index a96bf8e6a1a29f06741cdf5ac20e414ce71b5c03..ae8e09203ef431d8869fdce79df= 9f31a3e55971c 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -371,6 +371,38 @@ map0 { }; }; }; + + ana-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <2000>; + thermal-sensors =3D <&scmi_sensor 0>; + trips { + ana_alert: trip0 { + temperature =3D <105000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + + ana_crit0: trip1 { + temperature =3D <125000>; + hysteresis =3D <2000>; + type =3D "critical"; + }; + }; + + cooling-maps { + map0 { + trip =3D <&ana_alert>; + cooling-device =3D + <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; }; =20 psci { --=20 2.37.1