From patchwork Mon Nov 11 17:31:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13871037 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 50548D3ABD4 for ; Mon, 11 Nov 2024 17:36:10 +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=ciOGcGZ37BURX/8k0A7rCT+Zcsjte+FzS7u5+nVm2lA=; b=fvCXMYH+sBHsMuzAmMnIVUg4vy 4l5jZtcPgaXe8PiLaGFp7Ags7yKo7tFRKN5Ny4FmHONhY8n0Yz4J0pgwBP2s08Yx2BO/IQRvCFYt9 t6BoKpjjp668FYAdkdmv2DoQurMRpzz6XI+6d8aQUbU8My/0tiMHj0GnuPbchQRFRCscoq+GgrqL/ fKTVxffu0Lg9FYx2Gk+WI0MIu6b/XAveHNsjsywIUb3jHiq+ttGKR//4R1DDy4hcVCAY1EMPMG7yQ Vrinfpg7loFa7x1vLXsP6SBledEJN0mACOoytuq5wp2Pm6IAzBfKPYkuWtLdMRisR1IA7fAtQzu/b S8phv2pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAYKR-00000000jsV-2mWz; Mon, 11 Nov 2024 17:35:55 +0000 Received: from mail-am0eur02on2061b.outbound.protection.outlook.com ([2a01:111:f403:2606::61b] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAYHI-00000000jCr-0rwz for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 17:32:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UFe3z4zrDdJ9UKFq6fVFAz9Ig2u/4ZAdIYz2gYs8VzaniKTsll0lVAE9N/ijaE3rYx7ABkdbtWP1Qi2lXEokF9eNlAZJQd8776fh0geHo6Kb3jW64NQ1F54R2e09lyNuaMkwwm0Ul7UwaLIisQrSZlfOI2VLhh930whAqkVqeqeTAuBdH2PYPosdoibILO+S7ui4rk4tDYf6sLCwCupYNQixDh5VeOHYDn4iA8x1LI1J940AANckHrM+/3u6FDDy/W+EWiJByZjG+NM/6SkDW7PZNIBM8R2z8z5Yrer4G/ljPh1Av3VVxSmM1rjJ1SKznu0acnPdW/huZ18kcj6GqQ== 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=ciOGcGZ37BURX/8k0A7rCT+Zcsjte+FzS7u5+nVm2lA=; b=AJe5ZpsDDQN6Bm1oIS/ISvkrGoOl+IYe3Utws3/RwXfamL61OSH1pKO2oSu0e/JkIsvy1/mKsnNosivqMRpkLpuExpFDedQKxCGBQI3lAYukQkqpEgo8xDfCcOQAT7UTKCXoEsDJh5MAgeuDIx5A8VziezRv5mrs3Ya9TOU3Q/WDniUeKB6+9+Kdq625+My0wRwOpHDKT6pBRo3QGggsw89P1/oJFfSPtGgakyuJoO0wzyW2mBBp7xu8jNaaqdCm0sP3stn7dU3yvzwM5pCwYu3n62dCyMdRbGTVj23ypVBfrJlrvPbgt9B/tQD4Euea8I1nrdZcZtZ38DVL840Zzw== 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=ciOGcGZ37BURX/8k0A7rCT+Zcsjte+FzS7u5+nVm2lA=; b=Mztcw0VRmyj13OtvZNV+O8op4mH7beXTQs0j4e5WlP6pKXEfHtQ8lSYxxnpeYqlVKqd0F90zkbD2ESQIx3xWB+KE4Hay9JMeoWL4Bb36j9er8jRNM7/RtrIjuFanm6lYaJUXB5S64SweiCY7/tLeE/KYY75ZS1fLoaGk+NtFeHIol3SNL00cyt2ys/mc+8e/WBmQ3aziX5+aVkRAcZrQ+lNyaR9+6H/lg4/cwRzd1RZjU1uBJvVJi/rK/vZSGGdkZugYyOAT1MsnjMK+cRxcZNdaaAZI1ns7HatUppF0/sOe148Ko5HwHBDgBnCRLI/dgYDdhfIsOAV5jrypxspvVQ== 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 PA2PR04MB10086.eurprd04.prod.outlook.com (2603:10a6:102:40d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Mon, 11 Nov 2024 17:32:33 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8137.027; Mon, 11 Nov 2024 17:32:33 +0000 From: Frank Li Subject: [PATCH v3 0/5] hwmon: tmp108: Add support for P3T1085 Date: Mon, 11 Nov 2024 12:31:57 -0500 Message-Id: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> X-B4-Tracking: v=1; b=H4sIAI4/MmcC/2WMyw6DIBQFf8XcdWl4VAFX/Y+mC8RLZVE1YIiN4 d+LbmzS5ZycmQ0iBo8R2mqDgMlHP40FxKUCO5jxhcT3hYFTfmOMSjKLhVFVE9f1SvLGdpYilPc c0Pn1KD2ehQcflyl8jnBi+/rfSIxQoo0sFVU3Urj7uM5XO71hLyT+a6nT4sVqjNKamlqj608r5 /wFbYdsG9IAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jean Delvare , Guenter Roeck Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , linux-hwmon@vger.kernel.org, Frank Li , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731346348; l=2114; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=F2mWwmqB3xPTWDFgjnxmtdJotRfdAqd6ua694pMuTzk=; b=HqZbRshWjGeY00iXA1ngN1bcsmd3f8TlTr9+3EQ41XkPmZ05N0kUQLvUIBQAP5gYBYq/FHFp6 V6XPayU5WWlCEohzW+YYP508mLAtgco+t8fPnYKadodQ0M5lUssAaKJ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR01CA0044.prod.exchangelabs.com (2603:10b6:a03:94::21) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: 5bda78c7-730e-4299-c9f6-08dd0276d2dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?hKE52/XXpwKF6udFYyLEjY63q2MRhLv?= =?utf-8?q?CECEOClsbwHkq0B3lk60IoOH5WGRDAoK4/Ud66mTjuCMiZqSTb4fPKSDy5bqa8Ple?= =?utf-8?q?Sx0zLiiAT4TWccpKaa4HDolJREptV/g9xQQ5aPotZbnswT21MgctTn/HPInqv5ng5?= =?utf-8?q?Z/UzmUAVQLrg6xVSdP4UNC+FLY3XsXuBWbdYLe7mmMQlZHPVqkWZKPs0QejDhtciF?= =?utf-8?q?5CZnxhCPbgXdCyIvFD9PC1m1dv3hlXW2buSJvNFYidsrrwjwv8pP1I8dk4u9gq+Id?= =?utf-8?q?IKjFNqfTasaOVIHIOLP/GSmL6PLR6Oy8FslBGyMOSmqm1WkuuNxMRzxAu5C4OGeta?= =?utf-8?q?IeG2KhAP9hRYeklKX4cQcgkWH1EmaDo6ntfGtfyxbx3ov+iI0/4rT15/fsf7TaU4/?= =?utf-8?q?TsiX91DaguIeW3P6Cy4ijsxQxos14p5kS8Rcm88B21oohXkYEvJYAZFuxoVO+pK4g?= =?utf-8?q?mCZpKkObWpGawZKUoN1VfxzdvHNQQPRnet6DIhoT8w7Y/5qu25BeNrP9GFlcR0axb?= =?utf-8?q?RnX5UPCthq4M2Nr2ISmCm7JWh89paTLYWwhXIX2e//rmEmlT8YkEFp/ieUL5oP4NX?= =?utf-8?q?ahr/qsy1hch+mWIz3NM/40NOYwYpRUKVhBW6tInqIV3A0FpaLWdlRITFibA8TYDgx?= =?utf-8?q?s0qcJ4zmtrjIblIHkzg719f7iG6I71l7dC0fJucKHOn5O3FeYmR4lzjoSQL65VllH?= =?utf-8?q?nZQJG9dGqg3/KrUbuGRijbyyR3DxK2Le/JESy5akgC257HugIqO/Ebg6cdEomiKyj?= =?utf-8?q?+mL0rvZZ+tEHVRiFDU9stw/S5SBs6HuT3SO5ucHCdsVosVZ7a9+lYk3cYsPi130Oj?= =?utf-8?q?rvZVkjAla8KC5+EGL5McsgybOSd4ZG0P1YwUi/A+Ux8N88ti9/CCDF9WuZPillzCr?= =?utf-8?q?icqQWuy0DferJ1U6YzC0xmmoxf4SL5ABGdruzn7wvBsEVBOIDBcI+WdYmmFu4Hmel?= =?utf-8?q?ce4kTZPFlEC8eKC3QUGwQKe7i7XmELn483/pIASzV6GDbrEuDMWcenJH+NTUcOwNi?= =?utf-8?q?A5orVv7/vI8adxiCTETjPKy6YG5iasGR7EQnlW7ZKTLWI2ny6SB9DNC0ddN5IZfmP?= =?utf-8?q?WtMJPUraRb2pJ1j82E5ZF+5EqIhXxAT4BSdTmSeBCJtXe7T1GddVUdB8/ye94B8uZ?= =?utf-8?q?qPFYKVFUpH9bwN1VAL9x6uVnl52pARG3919qB+vGOeW3yFZRiDoivQzD4p5rsqU+c?= =?utf-8?q?JY5ALb/+UyWNboXliEWcZzd7UoVcDTy+xbMwPxqiWenJ9jEm3J1W1WJlOhkqXZ1xO?= =?utf-8?q?5xQCMzaO+ayouP7lkq8NzFT2hL2Cnwp8b/cTSma1vpKEvn6Hfx/mngxrzmd+QR0pE?= =?utf-8?q?1uQTJOpQW1hc?= 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)(1800799024)(366016)(52116014)(7416014)(376014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?o7LUrRQd9JaZ/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bH7aRpcOVn7njRQ?= =?utf-8?q?s//BgOMZ9iQ+vxqqgq7/1Vkje98qUey1msug1a3sLTqfe99J6znN+HwRyB6OfmOuI?= =?utf-8?q?ROGv1Rk1ymZPzZw0L6hXTMZF9AL+GPUVFcaAgiCcN5X205G4W3d9B3C5o1vMjrXVz?= =?utf-8?q?X1eFCZY56d+O/YagnfCg4FM1WEXmGe+LQk3dxbHeP90osqGVQAiAxG/OQG0r4nYkL?= =?utf-8?q?NY8BzGM14xSJy1SyG8HetuOZ7iF0uJhfmM/J4oHM/jPsRUUwgEbOaJiKxUgCf3jeI?= =?utf-8?q?KGVe6uvbN4Tf9YKmDrH2B7XYPT4IvG4muS2IkfdWkLBG9yrg/cvl2JTxkJGmMr7VG?= =?utf-8?q?+308bbX1GbHIjlGaKRjXCsElySWuUDrScNmHdHgPgoVJn1QctS8ofSw/bVRc4hjwR?= =?utf-8?q?3sm2csnmM0bUszlT8f4kMYOjKFoLQyMCkoUcakeFVdP6uAb0pLfvXkBRjdkygdcHO?= =?utf-8?q?hJM11sdPiwYEhSkPIpgba9Vtbj9EAvbxQPK0h5TwOOpXJbYBU9VJe+hvQnO7ht27K?= =?utf-8?q?FfxTKVG9+hhGNVaW3rTeDvtWXa1mHs64LqVT0Iqz8v5OEONrqBBhx+ibh8afcZMpZ?= =?utf-8?q?/zIVhyBJBL0NYQl8WgJO0F8dr99XmgkBl26bu2M4ApcxkQm+f3DrRN/w/z6Jqvafe?= =?utf-8?q?ztq7UMCUKG86?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bda78c7-730e-4299-c9f6-08dd0276d2dd X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 17:32:33.0233 (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: qKGl7EvS8AcaAyBUQ3UPXc+2Dzz6hR+lGVbty5S5Kg4f1fYMD8WWa8GkfwRecPnl9EYEAXd5xLOAcJ5FbfUG7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_093240_309637_39863464 X-CRM114-Status: GOOD ( 11.38 ) 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 basic function support for P3T1085 temperature sensor. - reuse tmp108 driver - Update imx93-9x9-qsb.dts To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Jonathan Cameron To: Lars-Peter Clausen To: Shawn Guo To: Sascha Hauer To: Pengutronix Kernel Team To: Fabio Estevam To: Jean Delvare To: Guenter Roeck Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: imx@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Cc: linux-hwmon@vger.kernel.org Signed-off-by: Frank Li Changes in v3: - Change cover letter subject - Split compatible string change to a new patch - Remove i3c/master.h - Update document about p3t1085 - Link to v2: https://lore.kernel.org/r/20241108-p3t1085-v2-0-6a8990a59efd@nxp.com Changes in v2: - Amost rewrite and reuse existed TMP108 driver - Link to v1: https://lore.kernel.org/r/20241107-p3t1085-v1-0-9a76cb85673f@nxp.com --- Frank Li (5): dt-bindings: hwmon: ti,tmp108: Add nxp,p3t1085 compatible string hwmon: tmp108: Add NXP p3t1085 support hwmon: tmp108: Add helper function tmp108_common_probe() to prepare I3C support hwmon: tmp108: Add support for I3C device arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085 .../devicetree/bindings/hwmon/ti,tmp108.yaml | 8 ++- Documentation/hwmon/tmp108.rst | 8 +++ arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 5 ++ drivers/hwmon/Kconfig | 3 +- drivers/hwmon/tmp108.c | 71 ++++++++++++++++------ 5 files changed, 74 insertions(+), 21 deletions(-) --- base-commit: 74741a050b79d31d8d2eeee12c77736596d0a6b2 change-id: 20241107-p3t1085-fbd8726cbc0e Best regards, --- Frank Li