From patchwork Mon Dec 9 21:53:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13900447 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F2A4E7717D for ; Mon, 9 Dec 2024 21:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject: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=XvvsKY/t4LGj2egUuUmWTO+u/aIzVt65d5BlsPZLxJI=; b=hGUlFvdYKb75kEeMfm33Z1PnJk B+AALQJgFPx5efnCGHlYADKsSWB74uc/2lBmYDBET9o6SOXzA8EgZbYyhnTTsivnYlUJyq0ndxY43 Fu0ecL+mvLl3+bUB41Ei9whUQmPii/OpyMsSy7/Aihu+9mJfzanXDyPJUP9DxEq8q7jAe/QLUZn0g Ul5Xa6gVey9gMmn4ZjT7ueQRlXpus6FdFF2JyGtkBFUcVxoBcFTWRD0habY2tAXrOJUED/cMhlFMp JNt1+xxvzesVnjcMojVFpBisNICo/uK4cL+hKN4rOG+Qpd91MQ4kDGDBfOpD7YAej/2cavUEdqRHH ryORFdzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKli8-00000009MXS-3w24; Mon, 09 Dec 2024 21:54:36 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKlh4-00000009MKo-3vdr for linux-arm-kernel@lists.infradead.org; Mon, 09 Dec 2024 21:53:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V7uT8A0JQH0TS+WbRsfyeBfuc0ISmrX86SeuujlZG8CuhMNh3ZcGavDbpbYEhvnHVH5bWCBr7hYTG43DIIgVt66PNJikhlNhE9webC2lzfaY2APGlqWYvFfA0hePBKQgMK2reqrUF3swqasGsYyyWwkwY9ZIipdpPhrD4InAxhPgxo7EZsoT+YhMJW11g+2UFRxukSeZ6te3hCtMlrTq7pwejryh+Fh2BfGqh8mypA0WulFE9fy9swLOZBZZhUipo2dTfWxSxxGwxUiins/6r/m9FO2IAIotXhTvfviiz/Ld4yJ4MMf8RvoPlONDxdnw7j7JJOShPJirAfEcPpy5vg== 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=XvvsKY/t4LGj2egUuUmWTO+u/aIzVt65d5BlsPZLxJI=; b=ufDKQukWJfz8zn8/1SqnSe94d/WSLGNsOkdf9hgq07FltzKPK1AGAzG/1TdMLKvJBduLcF+SOo88KKQv1sf3nio2REFNKsoXZHzt+Q4FYSqy0FYCF8QE4X2Ci+dXkgnkx/8Zq8HCDKkgcPlvsJFZFCnG/lDxE1rVmrAeMF9R1LffoNsC1MS+9JzX8KsWFqu1JaaE07+qH+/xsV/f3Y9TZP+M2EOSnhfeFm1miINYPCrc1kR3NBUXr7cMMisRrcENjL5LVc4yEA9CvA+edYTpQQEMNLZx1y/oz52KDnkpaWSB2SHEyUH0LGYWY58hcumAM0CQlqrpxKban6brkBvA0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=XvvsKY/t4LGj2egUuUmWTO+u/aIzVt65d5BlsPZLxJI=; b=LDlMyROxk3pCvhbqduT6T9DYTfq+RsjpvNT3gNBcHmOSowO+YfWaGlV98GdkrO0pSpbdX2wenlrrBHW8776Fiez16tvY1dU/ueDKOppcDdsxFvaV68ZYkS+E3w8Zr0SdbOBriZjKv5eXC7N6bxlSgL71CLeoICdGm6gnLysqOGVr0qMvgUD8imxH/5AktNWm4juAAMX5x8jnnTIF5wy0kgoKWop99rJ+yzsh+hUhltrRI1AWB6gLxvW4VOFemdxlx30gk2PqAb0iOYwiaUqYGnUcPkRiFCEAL4DBIoCmQdVSYoLnqBk/Fk+ea7tP8jsj9P4NjPNVfrTIa87FZz2wvA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DB9PR04MB9818.eurprd04.prod.outlook.com (2603:10a6:10:4ef::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 21:53:22 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 21:53:22 +0000 From: Frank Li Subject: [PATCH 0/2] thermal: imx91: Add support for i.MX91 thermal monitoring unit Date: Mon, 09 Dec 2024 16:53:03 -0500 Message-Id: <20241209-imx91tmu-v1-0-7859c5387f31@nxp.com> X-B4-Tracking: v=1; b=H4sIAL9mV2cC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDIwNL3czcCkvDktxS3cQ0o0TzZAMToxSLFCWg8oKi1LTMCrBR0bG1tQB /dppuWgAAAA== To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Pengfei Li Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Peng Fan X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1733781197; l=859; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=TdqUFbPdGqQO/wjuy8cz2dm2iKACbtfRr/DuDvgfBik=; b=9YNO8kwAoXO0emMso069aUpO3rHy6m+GT5AV9DfvBVX2x31saUbxCDHhVbb8+q83Dkqj6payX 78pLNLiQ9j7Cpuj747vJQ8cXE66nk5rrIiXZmFcA9n0JtEKLON1e9Zu X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0158.namprd13.prod.outlook.com (2603:10b6:a03:2c7::13) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DB9PR04MB9818:EE_ X-MS-Office365-Filtering-Correlation-Id: 4be3f9d3-9717-441b-e097-08dd189be68e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?bdROwW2bP8itQ4oUGcU+06XgYJ50MiP?= =?utf-8?q?e/8GlfEnK26GSYcHaEHPqe4dFNzOYEE5wIKTMU7aYl1G9ylZ5sKa+JwA+v80JUg/Z?= =?utf-8?q?hNa/rpfinS6ys+zGtmnX7d+pmEJbBr22QZqLmWsOTU7zhjMUWMZhjjFjowAcfoPyB?= =?utf-8?q?+o7lb6RzGWQzvpPkJHdnMiEe9quky11zoDApkmdvYtYN1Tk5Np+3YUgY6uNbyk+Nc?= =?utf-8?q?IFSUPGwi6OahnhuVwRTOb45ljLYxQCyHCnJNnxc11s5GUrmlb/Xmnm2BQHu1VlVa1?= =?utf-8?q?3HHusypVT3A+kUmD/4b+3J2QxW8rRafhxALqhRinb8vsECRXodoLtxwCK5i4XQnzr?= =?utf-8?q?WlRLyJlcdJeJnTdH/6I7+BRHNLuEbHTKbgyI3H9fogq0Ovwe9m/dqKVV/ERpar5zW?= =?utf-8?q?0uCG6ra/wzv0HddkgUcfGAD4eb15bQIUkwmcjxFeWcbG/xopgG2TV0OeXs+wIRNQa?= =?utf-8?q?4g81Oaz06wfAhdgQi6BtX47K2nDF0CHZATulCo3WAnCBlp3i0aCfyk7HP7i2X7j13?= =?utf-8?q?uR83pgIyd0L+kTJy0iw2PCaOQs+YOwuOpyww8qiA6/goFsP3ShlaH9ZwMCGTpRVBl?= =?utf-8?q?n8VWSvypcN+FIHmZN5y8Yo6mQuPZ6VpADeg2QYrup64Xa1DVTYU5uWtkbdXXoHSBe?= =?utf-8?q?98ND/9hAuob/bA3YAI3vddYYDkCFLFfJiV+dBy1XDnWlh/xl7/vqCKW0/yj/Zss5Q?= =?utf-8?q?kQJPSTksUKus9i5uS8h8keXVQeSVP0m/28XHjVtw/JGjcNp4WA5uV/hiOueWGvevM?= =?utf-8?q?PRqKVT5hfczPYAzHj8nSEZtR/Pz8Ck2DoFrNU6N3OExDZBFilNApspgJiqg2a1+6/?= =?utf-8?q?coX3zxcDek2ZS3mGI25Jz8gMgFUJKKGxi2C5QsXCL2n3Ts7B+9JmbLzzcxG0aRQ9A?= =?utf-8?q?zQt7s4bHJCMNJLVz7OJrfXgdAG8J5ck8n1qsvFkBc+L8QMC5ZINgCAZ8mhISN/72C?= =?utf-8?q?CDScLXyXaTf45c/p6urfBJExf3Ao3YJt2JxBx0ffAOFNghSJFqd1COqZqrJ/oE+v8?= =?utf-8?q?PP9bSh9nIwH8S0bCs+p8xpBiHfYylUgCepDK7HpqRIFL6Ak0vP9zuza7Uch+G34i/?= =?utf-8?q?Dy2ojhw24mSPrPgJ7XvCdpd0AbVCZIwYHgmTp4cNMLyvmo/qYRXAy9nc/iTnKLxq7?= =?utf-8?q?AhQX+JbOuDcH1LXnjVlii5hPUWuogFcoRWw7Nc+3Fa2Ul6bGnygabjwzrgmesvRtO?= =?utf-8?q?ZU6BmnW9bVccbntiKtRXj2ujahcFr4MI00phxyHipFVcyMS3YLs7NBXHMIGTSdnZQ?= =?utf-8?q?/tcQnefJUc6kzGLfBxtkjCTXOHszRKKOJddzPplH3fKisJ8xahre7nrHCCwBQbDvO?= =?utf-8?q?cVTISfx0PgLVI+oJUKOlgz1rVphpsRGFx+DuNqSP2Y3PLViTTXua8bo=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?D1VYAzXoS+VvA6AQ7nDhoerw47bj?= =?utf-8?q?9WMDHLsKR1pHv/rVzDvpOGgKQ8syV3PZhr4qTTrBK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1a0pgy4dggWKgOl+5B6aAbo?= =?utf-8?q?cUyyKHHrtSobM1SOI4YPv7SQoawyWsRk4Ewn9/2CEvEImDMQwz6IwTW0jiV4f1D7r?= =?utf-8?q?xIuzleZ6jH9TVtXIFsfJQDJTI3y4SoLZmNSwojmWFXSOGcFiajtiMh1MNJtUYgcPg?= =?utf-8?q?kHnRsU66lPgPq8NTJVA/XF91FZqjkUyxl5PhzJm6XKpE/UG+FhcdpK5v9XAmTqNMo?= =?utf-8?q?kAj3MR1yQu/Lv/+L4he3pB8rwZSGV/hZ5qOkfZxk4Jfc5FHPnF6pEDmDXBG+5Yf2r?= =?utf-8?q?mUa0sJJsPeYm10Zfa/o7lG885PNwhovoPG1qYeBluBHnKkjmJjFDy0Ru0jpDUEIpV?= =?utf-8?q?/y17zzf0l+V/f9tctMp2/S6HgB2w9nhS7Sp6poVfaQi5VOH0lHuCkjL/DJZX4BeAl?= =?utf-8?q?ITm4F7ZI9IGgcM5CdisKf7Umpykt/gxmLJnTiM4t7FHU4nQKBnOkTxb6umu/GLVsi?= =?utf-8?q?y+RqOJs8kEP8HOJHiKjmAefu6fmspznsoXW8TG8Lz5YNagjdfr42JunMU1sNBhs5m?= =?utf-8?q?aAtIdMgdRiuBTidrJaCSEOMP9tGCi3lN//i5/hBFjIGDZPTcWeme06Tg=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4be3f9d3-9717-441b-e097-08dd189be68e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 21:53:22.4626 (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: Cjx9mKhr+7+O8vlLYG+nNAZhVoLn4Csa4g4QfcZVPOfYB9kYqHD8jyj8CY4nNVkpR97MIkmynblMYq4fwOlpHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241209_135331_817116_D5664256 X-CRM114-Status: UNSURE ( 7.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org - Add binding doc - Add imx91 thermal driver - dts part wait for https://lore.kernel.org/imx/Z04W5chGq5TitB9f@lizhi-Precision-Tower-5810/ merged, so not in this serial. Signed-off-by: Frank Li --- Pengfei Li (2): dt-bindings: thermal: fsl,imx91-tmu: add bindings for NXP i.MX91 thermal module thermal: imx91: Add support for i.MX91 thermal monitoring unit .../devicetree/bindings/thermal/fsl,imx91-tmu.yaml | 65 +++++ drivers/thermal/Kconfig | 10 + drivers/thermal/Makefile | 1 + drivers/thermal/imx91_thermal.c | 281 +++++++++++++++++++++ 4 files changed, 357 insertions(+) --- base-commit: d07c576946b2bc440d6d2073998023e8a0bd7568 change-id: 20241209-imx91tmu-af2a7c042d8d Best regards, --- Frank Li