From nobody Sun Nov 24 01:50:50 2024 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com [40.107.21.77]) (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 C714E218D61; Thu, 7 Nov 2024 23:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020601; cv=fail; b=hj/k9GZ0sTIxNAz/Uypd5XUB1m5IPE3r14b5nE7BVIcV9RTeWmF9QgkqbVg3YW17ct28hCIHdZ2d3v4P1j6PdT0ESni3pYvitwlH3Z4OtA3o7/PgISi6UwS20soqMfPjhw9eEa75NI13KLJqf9h+jqKK9+a3w+9qCZPzfZyl1yo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020601; c=relaxed/simple; bh=978YyUFOfnbYuHXbV4ZoywPThcziwlmR3i0UA2i1+ho=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=XJWq/3rt80FmBhTBhYCY+T+suduELNwManCjUTZTsyjN4Bz+K0Ciw2P+X7bXJfxVz+GxfZEWSb3XV/Q7/WV3pHE8tzyIj0X2V5konU3vYZr5fTiMmZhEY/1FCHStvHV7ukezoA+Tn/tgI6HwEWyc8rR1N5QuqzgpKQcswO/QSR4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=jfSHgzF5; arc=fail smtp.client-ip=40.107.21.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="jfSHgzF5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vc9XREidsQAIEttceYlIGJpqO9B77lJJK6IoXgWQJSX2tmcajug5ZgYPx22PvvGhMQEo1M/RhKM2u1hyzjHQTPuRCYRdJH6P3bv93RvPwjBoC8LDz/64rJX1ZdddDZCkQL7uIR2/BGe5fpyLVuluTr7U1c7/X+1c9S6eIceK+/OAamSzdWEIfJBWgNRvvCI+1YmnGgJeZ5CsMwkdyl3qcKUqwwWFBID6c8o8nGb/eCAru2e3vv1N/StxcqOROHXyzxPwwTP0GJJiWXkGMnxfZtMG1FOYE2b04Nax09HYOg4XR91j4yA5auzcTPrTrwwevLe4WtBGj4knyTl7AD8rpw== 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=ruhXI9BDcyEKJ61c1OlyrxwnIUQ4QtwbwselMQtOcBs=; b=RZW7VamlLzQhlnoMTHPX+wGaqApCjuKTJ5CmKcHeUOBdPOyegXPEw4sK0f2sZ4Cq4yFVq4NNTu9Ty+5Oijs1CftgHO65hIeJdB5t3p03cB8nBfhdLFGUeKUPZVMrsHv7OFAJ1LXsOy4f6vsNVIx+aoiSs4Tj/hDd6hkePszzGQuct0/iZ7FUdaMo3Ji8DBsVDrBMqiF9266rxn9puns0nf48tCQp1zo0u7D4/QC0J4t0jdCAgbGhpy4enICIkxRJ6gXiVKscVHTIXwKYc9nostJoi2wC06qMFUsJ8IE8OojzUlUEMPw1XqzAmiliyWEcz8q3n65GMnwtb0EFKaw/qg== 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=ruhXI9BDcyEKJ61c1OlyrxwnIUQ4QtwbwselMQtOcBs=; b=jfSHgzF5Kv1vhrZt7lXBMHHV/NkDDQfJZvCxXi/vXsQR96SrYR+3M6e4wCefe4gBNmsT0F/nQBdpomCDD3viU/fNYKt75i0dJ/C4YEqQfBp/0lFyu/w2/uPcSVKDIE0xDD22GvfOZMpCp0MyW3aYiB8Qlfph/r6rQxqMQ76QMHiyNbJQyE2fPRgYC94ZSqCan2p1y5+Z7Yw+E9p94HpvfzGJ7YQSWEq937HhMStSvFlLSuNl30sSi3+EoYQiHS/LybT2YduHFRZEBhFPp8VUH+3q1RUXWbNC2ABWKkI/+Oh9IL+iF+vjj1Xo9fgDx/2dO3i2JFolTCTmorqn83INYw== 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 AM0PR04MB6851.eurprd04.prod.outlook.com (2603:10a6:208:182::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18; Thu, 7 Nov 2024 23:03:17 +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.018; Thu, 7 Nov 2024 23:03:17 +0000 From: Frank Li Date: Thu, 07 Nov 2024 18:02:27 -0500 Subject: [PATCH 1/3] dt-bindings: trivial-devices: Add NXP P3T1085UK I3C/I2C temperature sensor Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241107-p3t1085-v1-1-9a76cb85673f@nxp.com> References: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> In-Reply-To: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam 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, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731020590; l=1141; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=978YyUFOfnbYuHXbV4ZoywPThcziwlmR3i0UA2i1+ho=; b=ubJ0VjcmaW7PihPRWMxtJ73Mq9Mm5D7g1d2mSPGq/OnrtMGwJOruLgG2rXWArrrKx6zVGMSMV rLBHfj0/iKUCjnmJg5T51z7futni8GK7TOFQ/B29n3TxItag/cwqteA X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0094.namprd05.prod.outlook.com (2603:10b6:a03:334::9) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM0PR04MB6851:EE_ X-MS-Office365-Filtering-Correlation-Id: 81daf812-fd40-4bc7-4a95-08dcff805dfd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UmVNeUtzOFRBa1prZ0VVZEFONkJUeE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?Q?LZFzOInyLuVanMLNcKZ1n6OI2EJfIM+my8GqM=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)(366016)(1800799024)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UFd5M3EwWFg3WFgzem12TGtZM2hQd0RMbVFadW8vUFd4RmNoZ0ZQMG1pdDlR?= =?utf-8?B?bG1oSzkzbkEwVjhzOGh1bCtDZURJZ1FmbVF2Vk1Qd2lZZTZGejZDdmJVZ0Ey?= =?utf-8?B?RTdIRVV1cEVHOTZMaTRabUt3ZVYzbHZaSW13aVNGNjNKYlJpZ0JhMSszaUdH?= =?utf-8?B?M2xQRUlCNUtiNnphem1ubDh6WE1reWNxbmRObWcxeURXL2VlSTlCNHR6cy9n?= =?utf-8?B?dkpLU0ZBQTdwSmRYTE9XR2tlVzd2RUlZZ0lkSWFDUThZYXdZWVphRmVnRnZq?= =?utf-8?B?emtqRzNoeXNVbVlSQU9LRFhHSm5Nb25HZ1VSOGJDa09jSk43MHNqZy91aXFj?= =?utf-8?B?bW45QjZ3dkN0YjdpZjRZdUhqYk16Q3ovSDJ5WkFsOCs3QU04NXUrQkNWbWQ0?= =?utf-8?B?SWJ3V0d6NklQS25FaFFubmhqZU8vc2l6eHYveUhPOE9LNmNGcFlPOC8zblN5?= =?utf-8?B?NGwwSnROQm5CNk1XbGZjZ2x4SVBBZG81WG05NitTNEIvMGFBQ1d2MEVUaFNM?= =?utf-8?B?OGIvUEJDaCtNaWJGbnY2MDI1K0FWRDVvTElNVnREYVJzc2tCaldhS0xSb1U3?= =?utf-8?B?Sy9zYmdhdkttTE5jcDY5NXk3dVJ6Um9pQ0dIYVVTZjVWSjRPRFJGRDZv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cm5rTzcyN3Zk?= =?utf-8?B?a0ZPSlVKZ1BBYW9kZE9wcWQweE1TdnhEWVFEMTdFUEhnM1ZsNkNDTG90QUhK?= =?utf-8?B?bzZCRDBINWhvM1ZSSnBPSlBYU0JOVWs3R3ZxWHpCRVc3WWdpZXY0KzdwRlVD?= =?utf-8?B?Yk5qWThCek1UeUdCMXdjNk1NOFZZYWJyQk1Ma3RQNHFwWTE2WUExWEVaVW54?= =?utf-8?B?dEduck5GNXpnL3hWQlhDZDM5blprWk5neTkveDJaNGk4ZDlqMVYxMmZqdERw?= =?utf-8?B?RENxMWE4bGlnc0Z2cWxBUmlXcDFSamtlMmxxQUU4cHFGblB1YnBrUW9LOFI5?= =?utf-8?B?bTA2aTlNZE02MVMreHg1UnNvZEpKYkpJOXpCK1laN1dpRE5DNHlITnkzbFoy?= =?utf-8?B?V29ZRjBnOXVzRldDWHJ4M3c1MUZFTHpGalltbS9SNzBmN29mOXIvM2xqRDRw?= =?utf-8?B?RWNkMTk3eFRFVmYvNGxRQ2gxbWkxZGdwNjZaUXdTTFdMTks0V1Y5QmovZDVK?= =?utf-8?B?VldVSStvejFRTUoveXJRcTF1b3FtbmpCc2wvUktUNmc1U1ZOKzlpTkNDc0Zu?= =?utf-8?Q?ZUjHVQfJ8H8GvwCfhgK2tKahk?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81daf812-fd40-4bc7-4a95-08dcff805dfd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 23:03:17.8484 (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: fFHwGZr2ZiKhUTmmSdwFsX0yifVOfB54g3dDA0/negr9hUcOJiO7kTUjzB4dgy6Cym9CeGfxUYU+LGpQecGcVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6851 P3T1085UK is a temperature-to-digital converter with a -40 =C2=B0C to +125 = =C2=B0C range. The device can be communicated by a controller via the 2-wire serial I3C (up to 12.5 MHz) and I2C (up to 3.4 MHz) interface. Add it to trivial-devices.yaml because only one 'reg' and 'interrupts' needs. Signed-off-by: Frank Li --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Docum= entation/devicetree/bindings/trivial-devices.yaml index 6ecd6432b021b..361943b3d73bc 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -301,6 +301,8 @@ properties: - national,lm92 # Nuvoton Temperature Sensor - nuvoton,w83773g + # NXP I2C/I3C Temperature Sensor (-40 =C2=B0C to +125 =C2=B0C) + - nxp,p3t1085 # OKI ML86V7667 video decoder - oki,ml86v7667 # ON Semiconductor ADT7462 Temperature, Voltage Monitor and Fa= n Controller --=20 2.34.1 From nobody Sun Nov 24 01:50:50 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2040.outbound.protection.outlook.com [40.107.22.40]) (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 E53CD21A4A3; Thu, 7 Nov 2024 23:03:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020607; cv=fail; b=OUEWmVKWS/V4KKMwVNDsyOLpfMEJgoTMZlqV7tPwitT1AskFxbD4mPhG8dUL0pWu1QMAfL6PU9EWEFuGS1WdDgO2fkXQu8qVO+E40IH18KNeNtmoeh0TiMB5Hhj25bKix+WqZXjeTCmVJIy7XR6UB2V61wSUX77ZfbrIzr3MXdQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020607; c=relaxed/simple; bh=1o2wdv4gqaWnXskqvSbL+ed4Q5AuNMkgQRffjjHgeMU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=rYC6vRE7LdcbFF+8aeuEWCkqJCCAHRam+7wcN2GP5w/zKEcq10w6C24abuYtbkwrW1CuvwJ3GJYAubtBTT20KGdePE4G5l0q8hdzP5Ph5AQ5pDTxBfybTL7JmJnH9Uz3bZdLRqXTFroXobr9+MsguzwgGKLQo0rDgdWz1e83X2o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=S6PrkWjG; arc=fail smtp.client-ip=40.107.22.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="S6PrkWjG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=i4jkRzhMOL48P4zKJlB/CNM+7k8Do9JtDFJyStTwuzBQYj7Rs6ZuEqQuJhLlmTkrvKBSuIr98w/tDWuDhlcqRs5kyn5JV+ep94jbXNr3E9CrpTogeR4Om0h4vWa9skcaWk5FtlgL6qV4dhTc8Cp+MntggR980Y5tA593XL6EY7bF5N4NhLHpQ+waZuIlnl1VXg43BJQNPondku2WGOe+RXCpXHitjYrfKoNpM5P0Xxs4NZjSakgATvsPFWiQtTqYqNKFATr+H4cwn2k1ol+qFp7SbaBlznX+J5OOYAZ82NF/PZBjNFVYA9mRPf5GE/lzFgb7uYDd3WOvokzvCHT8tQ== 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=l4jpQRHA2wXLqR7H/sC/XWgVEchK+V9PTWhYv9dnidY=; b=gTT9On9BVeaRStE2q/VW7hWQ1iTvzx3hn3zv0ww2gG52JAm0WdQhp9iqPd48D0Yy6CR1AgcXZeT99AaAFioO/y5/kILG/hnjPIDLpEJzlAiW79+UahDA4WGSekZ4dC1d79Wog42QHIeF0S4iAzpty/fUTl0dBxqbptESExD5VWAnwj3ARKxIZ+bfUfcbm9ct4V7ET5olEdi+pB2x3BWp5hL7HmY+baBa0EGH4hoKfsdDZ4VCCHA3pdigeFiksM//Z646HGCbrfNKjts34IZGjCqw70XroPYQSIaV5kgNIGqhgCGYPZcDsE4Ym+YcORMZ7ZxQsXf5BXMTq7PGvFWtlw== 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=l4jpQRHA2wXLqR7H/sC/XWgVEchK+V9PTWhYv9dnidY=; b=S6PrkWjGJk2sXr3fmjM6iFCyS/tyC/ZNIrcYxXYgpy2IHI9s9Y0QXsI18D3b9gm9kZxMVc81yYjZb6ZYCerwnZofPz/V9idC/fcPDCrtRGumYvmxFgRglpW9n8uMQ0Enyocx8/3lBnZptxLcjcyGIPBOQceyilnDZUHa52dqExG/Yjw7j9UEQeWzTVp3i177xGC/ueWXddC/RyB8sPuQiTdkyzg3yzpGgYe9O6+NLCV9oTt3S8i5FvnI1IksEaLJuWqoPzioeqFm2XcIVyzcUQJWO89jGD1x/jvUt5yY/fp098mjdlIPfHmPRNrkVvear98Sci7w9wkhW8t7qgwjDg== 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 AM0PR04MB6851.eurprd04.prod.outlook.com (2603:10a6:208:182::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18; Thu, 7 Nov 2024 23:03: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%4]) with mapi id 15.20.8137.018; Thu, 7 Nov 2024 23:03:22 +0000 From: Frank Li Date: Thu, 07 Nov 2024 18:02:28 -0500 Subject: [PATCH 2/3] iio: temperature: Add support for P3T1085 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241107-p3t1085-v1-2-9a76cb85673f@nxp.com> References: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> In-Reply-To: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam 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, Frank Li , Carlos Song , Clark Wang X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731020590; l=10073; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Sz9Q+6YHuWSvSb3gpsYVOO4SXJ4eqmHsQQa4pS5GzUk=; b=lsoTv4hN1Ve8RM+YdWsugsKlVV4t11d86e/xmDqtTx/XXjnpB0MZPuIdogPoVshikHUZSBvVk kPTnK070/emAOCCNRMnqdl1DQSn8oBwpJCvHEWk+WJmd6L7h5UyHImV X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0094.namprd05.prod.outlook.com (2603:10b6:a03:334::9) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM0PR04MB6851:EE_ X-MS-Office365-Filtering-Correlation-Id: c2739906-3d82-42e0-3cb6-08dcff80607b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?b2VWb3lmb053VlVWMUdwNlBRRzVmeWd4NkhQclFYMjV1VzdJQlF5YWJqdkti?= =?utf-8?B?VEczd1ppSTU4SmNTUE1nM2FlcmxhUmhJMm9VMXZwbGxhNGpCblNyMkpwdmF2?= =?utf-8?B?UjU4amp3VWF3dG9CcVB1TmkyNGVJWHFsaWdDeWxGYnJjejQvendDZnB1a3Y1?= =?utf-8?B?VXl2UDQ3Y3NTR1JtQkVua1pzOW4zOGMxUTJPWjEzSmg5MWM1TUdKTG9wSUtp?= =?utf-8?B?NVl6Y0tENEFBKzhwcFdTM08wRXhFUk44Z0xyMEUrdjlRMmhIaHB3U2Uwbkpw?= =?utf-8?B?ai95MUk1RUJRMUU2bmwzU0FmdzRqNDNLdDYzMG5LVFRLcEFmR01HQi9LU2Jn?= =?utf-8?B?Wi9FZFNDSnZWdHkwWFZvZmsyQ1labG4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XVjTzQ2WHNHUTh6dS8xbXJvZXlIcGMzaXhScmZmRmQxYWUwYlQraHlT?= =?utf-8?B?aUZnWmlYQnVqTGk0eW93blQzRndKYkJLZHI5TUp4dXZuK1BHWGs5QXlTby9o?= =?utf-8?B?ZmNVa3NnYVBBVDh5ZzFyNzZaREwremNZemxVSCtidDZLYmhsbjVlcHp2bTI3?= =?utf-8?B?NFNzNUFmdnlpM2QwOS80NVgrRy9uc2s1cDVNckI5YVEvOGVqNUF4QS9IVzJJ?= =?utf-8?B?LzR2N2pESjFpNC81L1RBQU0rYTR0THpyWTdSZ0pENDcvdzlmY0I0Nk9VZnFI?= =?utf-8?B?azY3SWdrT215dUlyakw1S0doNmVsRnBYQ1M2aTlkRHhQL2hSR3ZIaUJEb1Rz?= =?utf-8?B?SHVxd0FIRVVSTkhMak1xNkFkVVlzdG9Va1RnUTNDMXlYc29hc2NkcnhQVmF6?= =?utf-8?B?NW1NSjR0ZUFsZE1kcVMrWEo0MlA3SFlVVWZwTXJyYjFwMmF5V0wwV3lGN3Va?= =?utf-8?B?YlhkRytOais2WlNiVVJ3ZGV6QjVQZkV4ZkhqK0FmMi9DNE1CckZGNytkdXJH?= =?utf-8?Q?1+DjxyzlBd2eu+1qyBqTiWFyErfOE6LOCq92A=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)(366016)(1800799024)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NXJmVVF3eXRiYnNlSU9Tam16dktvR2gxbUU3Vmw1L0ZadnlselpkTHFweEd2?= =?utf-8?B?RG5HQVV3d09mQWVqUDBBUUc2YWZJVXVpMlBJZUo2bzNzN0pid0RZWHNaa1E0?= =?utf-8?B?TF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ZHluT0YrSTdLSmIz?= =?utf-8?B?dklVRDI2c0cvL2gvK1lobEtIWDV0VTljaUFvbWVwUUdlamo2ODBMRmxSRUNS?= =?utf-8?B?YkZJTitQUVpLTlRHZkhtaFdjSkdKdkplK2VKNm9nYXlHT3NpUmRjbUQ2NW55?= =?utf-8?B?UEFidVhmK3FRWXI4R01xZ1VrVmp3U2tYVWR1R1NEejB0ZXR6S3NBdkFWQWlS?= =?utf-8?Q?kC57UdmuLjMrtPiY0b7h8DQNb?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2739906-3d82-42e0-3cb6-08dcff80607b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 23:03:22.0396 (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: iRVPMWvdlKcQ9n88JbbK4CHqeu2weYlzlkvBxSnMPdfXa1BdQHMRDIfQmbSCoy2eEvZpbQD/Nhe7Rp896hrFZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6851 From: Carlos Song Add basic function support for P3T1085 temperature sensor. P3T1085UK is a temperature-to-digital converter with a -40 =C2=B0C to +125 = =C2=B0C range. The device can be communicated by a controller via the 2-wire serial I3C (up to 12.5 MHz) and I2C (up to 3.4 MHz) interface. Signed-off-by: Clark Wang Signed-off-by: Carlos Song Signed-off-by: Frank Li --- drivers/iio/temperature/Kconfig | 1 + drivers/iio/temperature/Makefile | 2 + drivers/iio/temperature/p3t/Kconfig | 29 +++++++++++ drivers/iio/temperature/p3t/Makefile | 5 ++ drivers/iio/temperature/p3t/p3t1085.h | 31 ++++++++++++ drivers/iio/temperature/p3t/p3t1085_core.c | 79 ++++++++++++++++++++++++++= ++++ drivers/iio/temperature/p3t/p3t1085_i2c.c | 68 +++++++++++++++++++++++++ drivers/iio/temperature/p3t/p3t1085_i3c.c | 59 ++++++++++++++++++++++ 8 files changed, 274 insertions(+) diff --git a/drivers/iio/temperature/Kconfig b/drivers/iio/temperature/Kcon= fig index 1244d8e17d504..7cdd49279aba2 100644 --- a/drivers/iio/temperature/Kconfig +++ b/drivers/iio/temperature/Kconfig @@ -182,4 +182,5 @@ config MCP9600 This driver can also be built as a module. If so, the module will be called mcp9600. =20 +source "drivers/iio/temperature/p3t/Kconfig" endmenu diff --git a/drivers/iio/temperature/Makefile b/drivers/iio/temperature/Mak= efile index 07d6e65709f7f..d5e89c20d58b6 100644 --- a/drivers/iio/temperature/Makefile +++ b/drivers/iio/temperature/Makefile @@ -19,3 +19,5 @@ obj-$(CONFIG_TMP007) +=3D tmp007.o obj-$(CONFIG_TMP117) +=3D tmp117.o obj-$(CONFIG_TSYS01) +=3D tsys01.o obj-$(CONFIG_TSYS02D) +=3D tsys02d.o + +obj-y +=3D p3t/ diff --git a/drivers/iio/temperature/p3t/Kconfig b/drivers/iio/temperature/= p3t/Kconfig new file mode 100644 index 0000000000000..09e925024b66f --- /dev/null +++ b/drivers/iio/temperature/p3t/Kconfig @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config IIO_P3T1085 + tristate + depends on (I2C || I3C) + +config IIO_P3T1085_I2C + tristate "NXP P3T1085 temperature sensor I2C driver" + depends on I2C + select IIO_P3T1085 + select REGMAP_I2C + help + Say yes here to build support for NXP P3T1085 I2C temperature + sensor. + + To compile this driver as a module, choose M here: the module + will be called p3t1085_i2c + +config IIO_P3T1085_I3C + tristate "NXP P3T1085 temperature sensor I3C driver" + depends on I3C + select IIO_P3T1085 + select REGMAP_I3C + help + Say yes here to build support for NXP P3T1085 I3C temperature + sensor. + + To compile this driver as a module, choose M here: the module + will be called p3t1085_i3c diff --git a/drivers/iio/temperature/p3t/Makefile b/drivers/iio/temperature= /p3t/Makefile new file mode 100644 index 0000000000000..21aaeb51e044d --- /dev/null +++ b/drivers/iio/temperature/p3t/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_IIO_P3T1085) +=3D p3t1085_core.o +obj-$(CONFIG_IIO_P3T1085_I2C) +=3D p3t1085_i2c.o +obj-$(CONFIG_IIO_P3T1085_I3C) +=3D p3t1085_i3c.o diff --git a/drivers/iio/temperature/p3t/p3t1085.h b/drivers/iio/temperatur= e/p3t/p3t1085.h new file mode 100644 index 0000000000000..b018a04e4aee4 --- /dev/null +++ b/drivers/iio/temperature/p3t/p3t1085.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * NXP P3T1085 Temperature Sensor Driver + * + * Copyright 2024 NXP + */ +#ifndef P3T1085_H +#define P3T1085_H + +#include +#include + +#define P3T1085_REG_TEMP 0x0 +#define P3T1085_REG_CFGR 0x1 +#define P3T1085_REG_HIGH_LIM 0x2 +#define P3T1085_REG_LOW_LIM 0x3 + +#define P3T1085_RESOLUTION_10UC 62500 + +enum p3t1085_hw_id { + P3T1085_ID, +}; + +struct p3t1085_data { + struct device *dev; + struct regmap *regmap; +}; + +int p3t1085_probe(struct device *dev, int irq, int hw_id, struct regmap *r= egmap); + +#endif /* P3T1085_H */ diff --git a/drivers/iio/temperature/p3t/p3t1085_core.c b/drivers/iio/tempe= rature/p3t/p3t1085_core.c new file mode 100644 index 0000000000000..4b00e606a6d04 --- /dev/null +++ b/drivers/iio/temperature/p3t/p3t1085_core.c @@ -0,0 +1,79 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * NXP P3T1085 Temperature Sensor Driver + * + * Copyright 2024 NXP + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "p3t1085.h" + +static int p3t1085_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *channel, int *val, + int *val2, long mask) +{ + struct p3t1085_data *data =3D iio_priv(indio_dev); + int ret; + + switch (mask) { + case IIO_CHAN_INFO_RAW: + ret =3D regmap_read(data->regmap, P3T1085_REG_TEMP, val); + if (ret < 0) { + dev_err(data->dev, "failed to read temperature register\n"); + return ret; + } + *val =3D *val >> 4; + return IIO_VAL_INT; + + default: + return -EINVAL; + } +} + +static const struct iio_chan_spec p3t1085_channels[] =3D { + { + .type =3D IIO_TEMP, + .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW), + }, +}; + +static const struct iio_info p3t1085_info =3D { + .read_raw =3D p3t1085_read_raw, +}; + +int p3t1085_probe(struct device *dev, int irq, int hw_id, struct regmap *r= egmap) +{ + struct p3t1085_data *data; + struct iio_dev *iio_dev; + + iio_dev =3D devm_iio_device_alloc(dev, sizeof(*data)); + if (!iio_dev) + return -ENOMEM; + + data =3D iio_priv(iio_dev); + data->dev =3D dev; + data->regmap =3D regmap; + + iio_dev->name =3D "p3t1085"; + iio_dev->modes =3D INDIO_DIRECT_MODE; + iio_dev->info =3D &p3t1085_info; + + iio_dev->channels =3D p3t1085_channels; + iio_dev->num_channels =3D ARRAY_SIZE(p3t1085_channels); + + return devm_iio_device_register(dev, iio_dev); +} +EXPORT_SYMBOL_NS(p3t1085_probe, IIO_P3T1085); + +MODULE_AUTHOR("Xiaoning Wang "); +MODULE_DESCRIPTION("NXP P3T1085 driver"); +MODULE_LICENSE("GPL"); diff --git a/drivers/iio/temperature/p3t/p3t1085_i2c.c b/drivers/iio/temper= ature/p3t/p3t1085_i2c.c new file mode 100644 index 0000000000000..20e5f7a68dd9e --- /dev/null +++ b/drivers/iio/temperature/p3t/p3t1085_i2c.c @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * NXP P3T1085 Temperature Sensor Driver + * + * Copyright 2024 NXP + */ + +#include +#include +#include +#include +#include + +#include "p3t1085.h" + +static const struct regmap_config p3t1085_i2c_regmap_config =3D { + .reg_bits =3D 8, + .val_bits =3D 16, +}; + +static int p3t1085_i2c_probe(struct i2c_client *client) +{ + const struct i2c_device_id *id; + struct regmap *regmap; + int ret; + + id =3D i2c_client_get_device_id(client); + if (!id) + return -EINVAL; + + regmap =3D devm_regmap_init_i2c(client, &p3t1085_i2c_regmap_config); + if (IS_ERR(regmap)) + return dev_err_probe(&client->dev, PTR_ERR(regmap), + "Failed to register i2c regmap %ld\n", PTR_ERR(regmap)); + + ret =3D p3t1085_probe(&client->dev, client->irq, id->driver_data, regmap); + if (ret) + return dev_err_probe(&client->dev, ret, "Failed to probe\n"); + + return 0; +} + +static const struct of_device_id p3t1085_i2c_of_match[] =3D { + { .compatible =3D "nxp,p3t1085", }, + { } +}; +MODULE_DEVICE_TABLE(of, p3t1085_i2c_of_match); + +static const struct i2c_device_id p3t1085_i2c_id_table[] =3D { + { "p3t1085", P3T1085_ID }, + { } +}; +MODULE_DEVICE_TABLE(i2c, p3t1085_i2c_id_table); + +static struct i2c_driver p3t1085_driver =3D { + .driver =3D { + .name =3D "p3t1085_i2c", + .of_match_table =3D p3t1085_i2c_of_match, + }, + .probe =3D p3t1085_i2c_probe, + .id_table =3D p3t1085_i2c_id_table, +}; +module_i2c_driver(p3t1085_driver); + +MODULE_AUTHOR("Xiaoning Wang "); +MODULE_DESCRIPTION("NXP P3T1085 i2c driver"); +MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS(IIO_P3T1085); diff --git a/drivers/iio/temperature/p3t/p3t1085_i3c.c b/drivers/iio/temper= ature/p3t/p3t1085_i3c.c new file mode 100644 index 0000000000000..0007d79aa0a6d --- /dev/null +++ b/drivers/iio/temperature/p3t/p3t1085_i3c.c @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * NXP P3T1085 Temperature Sensor Driver + * + * Copyright 2024 NXP + */ +#include +#include +#include +#include +#include +#include +#include + +#include "p3t1085.h" + +static const struct i3c_device_id p3t1085_i3c_ids[] =3D { + I3C_DEVICE(0x011B, 0x1529, (void *)P3T1085_ID), + { /* sentinel */ }, +}; +MODULE_DEVICE_TABLE(i3c, p3t1085_i3c_ids); + +static int p3t1085_i3c_probe(struct i3c_device *i3cdev) +{ + const struct regmap_config p3t1085_i3c_regmap_config =3D { + .reg_bits =3D 8, + .val_bits =3D 16, + }; + int ret; + + const struct i3c_device_id *id =3D i3c_device_match_id(i3cdev, + p3t1085_i3c_ids); + struct regmap *regmap; + + regmap =3D devm_regmap_init_i3c(i3cdev, &p3t1085_i3c_regmap_config); + if (IS_ERR(regmap)) + return dev_err_probe(&i3cdev->dev, PTR_ERR(regmap), + "Failed to register i3c regmap\n"); + + ret =3D p3t1085_probe(&i3cdev->dev, 0, (uintptr_t)id->data, regmap); + if (ret) + return dev_err_probe(&i3cdev->dev, ret, "Failed to probe\n"); + + return 0; +} + +static struct i3c_driver p3t1085_driver =3D { + .driver =3D { + .name =3D "p3t1085_i3c", + }, + .probe =3D p3t1085_i3c_probe, + .id_table =3D p3t1085_i3c_ids, +}; +module_i3c_driver(p3t1085_driver); + +MODULE_AUTHOR("Xiaoning Wang "); +MODULE_DESCRIPTION("NXP p3t1085 i3c driver"); +MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS(IIO_P3T1085); --=20 2.34.1 From nobody Sun Nov 24 01:50:50 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2040.outbound.protection.outlook.com [40.107.22.40]) (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 770EB21A4B7; Thu, 7 Nov 2024 23:03:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020609; cv=fail; b=GnxMjarAB0C8Yypi7EA9S8xZdUPhgtXffgokAixidRfVbRGsNauK5wQYHFi+apgY5K5l/+Da+UVxuaWBGyGJBieypCqbNhpfgOSNKapEAIWo36p+mh67V8X97U7qZBUvHEyJkLUvquUkDoMc2z3WP3wK0iyLDSgP38thpyqK9UE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731020609; c=relaxed/simple; bh=674fGre16wsgmxYfHmqsN6VLMJ4S2VE2ToXL1V2Wrqc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=q5nojzzvZUQsXlzP9yfGMkn4sM+fm9DRMeHJ9qWOPKMuwuOW8iFITl3PHYzJORRHtgk+phc3GPqirCp6hvic35njV6PGkRpbyTh1aFGdsZwJ1VqB75NPjNP+4tO6H+dReqaJtSk5v0CaMiutfKf3WFzFJa4S8pD3dhdcuDi99HM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=TjEZaFC/; arc=fail smtp.client-ip=40.107.22.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="TjEZaFC/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G5OGkipijqm7W1UY1p5rSBdLqP7bwcOmzUftK72rGFNvBE6nq4G9HlYIYcNwSBClqO+t8VvJR0XJ+RbZFdBdf1imZnLkg9kyTbzJokVWh2fgwXcveYOVUx40SnwYZXln1JHPgniFMKXpQW5B73CTi9wb4Wxa+cBY+oPuOY4sbKDJHvGtDICoNDblPJkG96VGZAk+5tPCQXK5vDCcvc5Q1QE8OqUszu/3OLq+K2nBoVniimMtvoJbpa1P7TBGAskVvSreHyku5lkp8SBPoOn2CD6CuAjoR8gW9EJre56i2c4DyoHVrMRjUi+2lu1eEY4FISWjIfm8yFUOUOwLxLbDog== 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=6awtrZQU6LkJHPear9BLzG6arSog9kzzlZX/iwhrU9E=; b=hTUq7XjvIXxiJKwO6IFHegEHFrB+uWBvzpdkT2Z2xVPzo0gcl4gkxbx2nnGE9oSpWxFt3wUnqlDSh6d9v6NlMl5guoCMb8+iRped/8E2S7FyAp6Ct1JkPFYAXIBSPWXBmGtJh+hl0aQLFAQCipzOLYwBClBNu3ARcGiiLvOJKNo8BHI6NPh1Xu2ZtMZmXy0uSDp+bCVZYlPiEYEw5BWb0DtuI26bzjqghxsLIYw+gd8SoKsDryECxwMyDGLErvbyk4fge5oe4ueYJzY/rlOmBFiEfndZWZ7LgVL5WS89TWrz7LNxf+HjtWPNLQoVDn+y9oc5T2r20JbfaCVuZEJ/0g== 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=6awtrZQU6LkJHPear9BLzG6arSog9kzzlZX/iwhrU9E=; b=TjEZaFC/V2t1hNtuYURL0qji8obqaLDnsanKgSUfvPgNZU2vEho3Ld2GjbsxjN1c21+xGvFHUeCUpZQalbzKLsAXD1vrblbn8qmmKk99TjMXN/ZFuZwcFq+PeWhmg9qaoiXU2U5xvS7MI6qx8rEzZJwYBh8LiiXgs4OIzGFVBStQb+ZP5cep5dkn6JGgpmN3Ou/SntqKzjTy0XdDGRY/ayeQZz5w0mAYg+ksyVs7x2drqkBCBs40qXgOuWjqdxYyT891g//BpZV/0vsqViao44M7WoJx6vh5yTUR1boXEsESL4eEqUYH51RSOmSr19tQnh6veZboqOl2wjXZSlv53w== 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 AM0PR04MB6851.eurprd04.prod.outlook.com (2603:10a6:208:182::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18; Thu, 7 Nov 2024 23:03:26 +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.018; Thu, 7 Nov 2024 23:03:25 +0000 From: Frank Li Date: Thu, 07 Nov 2024 18:02:29 -0500 Subject: [PATCH 3/3] arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241107-p3t1085-v1-3-9a76cb85673f@nxp.com> References: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> In-Reply-To: <20241107-p3t1085-v1-0-9a76cb85673f@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam 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, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731020590; l=721; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=674fGre16wsgmxYfHmqsN6VLMJ4S2VE2ToXL1V2Wrqc=; b=F6UCABJm42SDK0mHrxxijQdpJmGfVWQT7mmiogWp9Wcpp5wIYWvE6Q4BYy3Ddm40xoaYEx4bX lXPo+0QpuHlARl/2wkJALuGxUF7/KgNQlIOPHc44xYBn4FtlG9W+u3i X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0094.namprd05.prod.outlook.com (2603:10b6:a03:334::9) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM0PR04MB6851:EE_ X-MS-Office365-Filtering-Correlation-Id: dc0c9ced-5be3-4ef7-0c1a-08dcff8062c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cThnWnVLSmF5TmpraWRIZ3RlaCtDcWw0d2RlQWF1VkJHWEl2T3VhU2lEeW0w?= =?utf-8?B?bk1QM05ZSzVBZnIraGxETHp4Mk1QOGNEZktQSFFNOGFFV2FkTitPTkxaRXVl?= =?utf-8?B?K21JbWNvK3hYL1ZheFFURUVlYlQzTmtzOTkxWHlJa3RRM0w3Y01uSCtjUmZS?= =?utf-8?B?RkRYTlRqVjNKRU5WZ2FNc2RQYnNwSW9vVGVlZlpldnVla2FzaFR5UERjWkF5?= =?utf-8?B?ZTRYclhkZ25UeGJCY3Z5TGFnSWFGcklRbDJZWWR0QmtvNXBsVXdkQ1NyRFJ1?= =?utf-8?B?MGk5cHZTRXh5TDR1WUR3Y1U2dGhwN3U2cEwwU2p6ZUNaRXNqemZ2eXBVMCtx?= =?utf-8?B?N1N5QWE2aFM5THFEUUtVbjlzeklBVHVCSn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XIycnFWYWhXMlRwazhSTTZBYzgzTEZORnFJ?= =?utf-8?B?R0pyWDFrOUkxUUVSQ2t0czdYd1NRMjd2UEpQaDJtcFVMcnZXVzlyV24wQnAv?= =?utf-8?B?bEo3VE03NURic3BMbUIvME5kcmpQUE9tbndwRmdtN0JET1lEbStqcmN5ckp5?= =?utf-8?B?ZFdlNDdlSTRoYVZhc1RhaDVNbXRYazVVM3FDeDFoWWg2TWRVOS93TWUySTkr?= =?utf-8?B?cm4wallnMXIzejZubGRaOWZaSyt5bE1wd3ZGRlY3RG9DWE5UZEJnZW13UDY4?= =?utf-8?B?QmVsUk9CMjNiM29YUTBpNUVXNG5hTEg0T2hxSDBqdmJjWG1NUSs2anhZZlYw?= =?utf-8?B?TDVIL215RkJZeFFoNWtMZ2pVWnFqMGdzK3NmSlFGVjNjWis5VUZqUmhXSFZK?= =?utf-8?B?QlhxTlF4eVBwRHN1T2wyOFZOeW1MQWdsL3FNOFdybjZ4Tm1EWnhleFUyTyty?= =?utf-8?B?enBnek40M1JEQjM1Rk1sSFBQMGpjSWVlVDB5QmxxRXZPOFdjVjh5Sk03dnZi?= =?utf-8?Q?LVy8+5UWn5DF70+052q881gJ9sxgiSvicrg4Y=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)(366016)(1800799024)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bFJzVVVaWW50UVhWb1RacjJ6aG9NVEZPQTFSbkxSdW1kL3lvTFR5VjErSlNt?= =?utf-8?B?NVNnS0FuSGttT1Y1LzdGT28vbmYxRDZYRzdHdm90T2ZabnpHUk1oOWtSa1JP?= =?utf-8?B?TTQydlJLKzVaS1pJdmpCM3JlSjBrcH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utf-8?B?ck05a25nVXF0MXBXeHdNSW51Qkg2bFlNcVNOQ3VSK0VDVHFRL0xRL3BWQ2U3?= =?utf-8?B?SmxLR3d6cVp4a3pjQTlFQ25tZENKVjRhSW5QaStsQTFhMHFmS1FGVjVPWHJL?= =?utf-8?B?ajNNd21uSDZYdElTUC9DQ2YxYjFMYTZBQjd5SHJ2elVjT0l5QmI5VDJoNnpQ?= =?utf-8?Q?7CIKksFZiw9UnEU6mcg9PQ8J9?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc0c9ced-5be3-4ef7-0c1a-08dcff8062c1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 23:03:25.8803 (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: e1L9Cx8zZTBYUC97hhi0JtGOjo7Drma1jzCDLx+h2rl5oJ07MbY7NAIp3Ela874qDwJKN3nz0oHCxIV7ytAvMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6851 Add temp-sensor nxp,p3t1085 for imx93-9x9-qsb boards. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/b= oot/dts/freescale/imx93-9x9-qsb.dts index 20ec5b3c21f42..36f2995acbe29 100644 --- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts @@ -221,6 +221,11 @@ wm8962: audio-codec@1a { >; }; =20 + p3t1085: temperature-sensor@48 { + compatible =3D "nxp,p3t1085"; + reg =3D <0x48>; + }; + ptn5110: tcpc@50 { compatible =3D "nxp,ptn5110", "tcpci"; reg =3D <0x50>; --=20 2.34.1