From nobody Sat Nov 23 20:31:27 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 F3DC31A9B3E; Mon, 11 Nov 2024 17:32:38 +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=1731346361; cv=fail; b=uuU67T7kvVbHmA+lPRcbIEBvTER8RntsnQS366RZAyJoXqEOmLekLQ2e/sqWYomRo6tw2TiLe81NH6wWTYMj9QQ5S5O+HhYPb7r3974miL/qZ0T+90kKEgnI1Rxye8buEIaWk0w+eQD9YyShCtswarqsI0WhYr1RFJVmTlj6QSg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346361; c=relaxed/simple; bh=AL7GQT+3dmj3cCM9uDw2/MFhuWJloDk1rOWcYbYCFiQ=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=WBFh5qe+8seSRhQ4FhPAfHZzvG1i9daPzJioh3ewDe3s6iuDiTbTUDDrAaoA4LRR/rYHNnCY+MRW/n6BK/BmqI3jUoVNHZbA0LJBHWKZaFofBinOiACKWULVQGDxRHxtkmnW6yLyWxwHwy2Wi2R+ElTDbZceL323CuT25j32DiA= 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=DD9/OJrf; arc=fail smtp.client-ip=40.107.20.75 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="DD9/OJrf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pDjqUpNsnDSmos98WFNRjTaeWZdiXOCgJtbuHQTtalEbUqeJrgm5hKRNToP+izeJvHqFZInSRjYUDUMpjMHUEjplUlIEr/H60VcRaWwx8XHIfPQBjol285KaEJY3kIkkcnzhIGS1g99F9DQIBd2iGyHa66dcCOacUanZbTDyPNnAEf8Xp8I7b19MThdWj1evqsKgU7IZOwLEtj0t1Niv8XlExj/MFIfyauhQhQpmOEF+1Jl519Yno57Hp5NJJmr8CqdUZ6y5EAMQDfr+4j70ko/xKaeD8e5RATgmi4raclDzi/qJG1vzN/hPopUHf1abh8ADnxGU5ejzOHz2+LIyeQ== 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=A6+K4HUgHzCu+Z5TKBEE2IIRdarF/i4jNqDhpHc9/AA=; b=ZjqtXAHqiy97qrBPWeExLQEW+LraPiLIVjMsbRxOlWK+iD4r7n8a1C0r1AsS/ucHH35RM5pelmN8WogNXjqSFoPzeFHW9WKpbptRZ08ZVgJm3Pms1sPJJX/7BaVcMXiWmWaX5TBnNwU4BEK6j/zBBrTKqM/PxtaSroZcxHF30sULclEEkZVL36sr2jtRBsacMuOpt44rehdGvqmoqKwrms0xNW5fnXB7FKMQ17bYqdJcNjdlnHtehBqFBEgk8vPPLwheyH8zzfWQK8+vSnnTJk0tO+BPFHygdftXZAVGW79T1MBRNt5P1aw2h4FqcSVjkA8D6XeG6brCW8fBajK69w== 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=A6+K4HUgHzCu+Z5TKBEE2IIRdarF/i4jNqDhpHc9/AA=; b=DD9/OJrfFhvHcA61MW9iSpRsROsKd2c8aBky6BIx1JhljY3WTytIPh5v3UvypORVSM9dIounpaXoKcG1TR1lODICjsj2QKtZ4n02kdmjgeOd5g6vwq99G0imG+Ci02V6xQtZ98bIsFC+cCihdHBYoHOA/DKgDzkj6YOjfmmW5Pr8rRdxecmYQdj4AX3Man3hk335x2bNn9/G0LEQlFcE6epT0ZjcjBd4ZdvOJSIHB0OwrTnMpjPZmEt8a+AMGNCEPCMg986EjPjHohYF+jv+3RTxuDK0TKjuwd9fD3fBw/GgdHxhbZ9ZADNoswDI8F3bOSInmHcnR4MXM5WK2HUybg== 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:38 +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:38 +0000 From: Frank Li Date: Mon, 11 Nov 2024 12:31:58 -0500 Subject: [PATCH v3 1/5] dt-bindings: hwmon: ti,tmp108: Add nxp,p3t1085 compatible string Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-p3t1085-v3-1-bff511550aad@nxp.com> References: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> In-Reply-To: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> 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=1527; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=AL7GQT+3dmj3cCM9uDw2/MFhuWJloDk1rOWcYbYCFiQ=; b=ldP256BbOOkrK/rMxA9i9w0LMouZVEJ/eqiazplMTTUgGIuIwjD1k97xsCU+LP7pBhKWUCJet GTU9rn2vltWDbe0mvCiZ0u1YItdUSm81n/mFtRH7kkJEaFYl2/VoRBv 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) 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_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: 6415ece2-0041-4d28-7b54-08dd0276d603 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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bUVkV0FDMFJPdkNwbG1qelAzd3pxdW5a?= =?utf-8?B?TUlSMG4yc2JOTDRVbmFUdz09?= 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?B?S2hQdHlzMW0xV0FhQkNaSUJpbEVSaXdUWUVaNktFZHhnMk9MVERGRDI4UG90?= =?utf-8?B?OTc3TWdpSjZhY0tQcDJFN3VacGM3dERxZkEvZ2ZEaG9UYUVDL1NVQ3hqUk9U?= =?utf-8?B?TWowVElQeWR2ZmNCMVRWMzBRbC9lYkxDcXVhMW1IRmVhQk1KeDFxWVRKTWtl?= =?utf-8?B?MDRSamRySjd1NkpNY1J5KzhuZE5SamRPaWRBR0Y5RmpDajBqTVRJSmZ3QTh3?= =?utf-8?B?SXBXdVl6Y0l2YUlYU1o3ejlGenFtYVI1ejcwSGJZbGRicit0NXdUN3VKWVRz?= =?utf-8?B?a205RHVmenErU1RYcVVlRjhHcXZmWVNzelNqcWdBTXN6UTlWdDk2VXdndm81?= =?utf-8?B?UFBuVHdRa004WUlHSUJvTE8vOFhlajl0dVpTUWdhU2R6enIzQ0ZXYnNPZ0dI?= =?utf-8?B?bDJkV01wbnIyeEE5VTNVQ282MXBaWmpLSUxFcExIQUxXQlZoanBCTmhvZURY?= =?utf-8?B?MGNsNENZQVY3UUZaZUQrNUoyZnM2bGs4OE1MTEt3Z00zSDMwQ0x4WEVWQ1cy?= =?utf-8?B?WEVZOWVhcWg1MTBOaS8vQXdoUnN1alRRTTNkV2ovNkdjZVZpN0s1K3FvU3Zv?= =?utf-8?B?TWtlNTlGSGUzT1BKWWtZeFUyM3p6eTN3RzI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K2NYNTIrdEk3cHpiWGRjZWRzQWQvdHlmK014?= =?utf-8?B?d1YxRDVTSGp2T1ZMNVJnVGxab21NV1dOSDU4VWJxU1Q1M0NjcEtTYWlSTHZw?= =?utf-8?B?enBtdW1UN3liL0VuZy8yOVFTSjFQak9rRzVxWUd0RU5BeDRpNEw2Mkh1R0JP?= =?utf-8?B?SlNKd2R2VG5abEp4dzhBSDF1MXRRR1hreFRKdi91bmxwdWNiUnFEV2hETGNt?= =?utf-8?B?cjZUYUdtMTZtemx5Z1V0ekNtVC9NeHhLZE9RVmoxOW51L0c1dXA5cmxqUXNT?= =?utf-8?B?bE1jNVBTNTdHYjhaemsxbzRHWjRET2R6bnJ6eUpRVkQwemV3d3JBUDY3MXpL?= =?utf-8?B?dkVvQmdQZkZmbEFSZmFwSE54WVFFRWIxYWhPUEZyVnZsMFJFQlFacmpiWHhn?= =?utf-8?B?MjFhcUZZSlNCZ0hlR3NNUEFBTThrYzdySk1SOUV1djBiZ1pjcDEwajl5VE9T?= =?utf-8?B?emovYVBwQkpYUEpaemFNdU5YMmNyeklEd3lPNU9MRFRLcU1QUzFVV2pPN0VT?= =?utf-8?B?UVBlTUFobEJvRUd5M2FuN2lWdHI3K0NuYTRhQmdXTEdLbVhTaWtvSmZRU1RL?= =?utf-8?Q?q8niw6AQF+YDbjVakBQUUuT9i?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6415ece2-0041-4d28-7b54-08dd0276d603 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:37.9526 (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: WPkcBgl30y7hmjSUsKGOgOIy+q+NORpiesE7lS8YVYpJ3otCf0SO98V4ciaq94hMT/GMRy4w4HdU1Ip+FAqlYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 The register layout of P3T1085 is the same as ti,tmp108. Add compatible string nxp,p3t1085 for it. The difference of P3T1085 is support I3C. Acked-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- change from v2 to v3 - add Krzy's ack tag --- Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml b/Docum= entation/devicetree/bindings/hwmon/ti,tmp108.yaml index 0ad10d43fac0c..a6f9319e068d4 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml @@ -4,22 +4,26 @@ $id: http://devicetree.org/schemas/hwmon/ti,tmp108.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: TMP108 temperature sensor +title: TMP108/P3T1085(NXP) temperature sensor =20 maintainers: - Krzysztof Kozlowski =20 description: | - The TMP108 is a digital-output temperature sensor with a + The TMP108/P3T1085(NXP) is a digital-output temperature sensor with a dynamically-programmable limit window, and under- and overtemperature alert functions. =20 + P3T1085(NXP) support I3C. + Datasheets: https://www.ti.com/product/TMP108 + https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf =20 properties: compatible: enum: + - nxp,p3t1085 - ti,tmp108 =20 interrupts: --=20 2.34.1 From nobody Sat Nov 23 20:31:27 2024 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) (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 8A69B1AB535; Mon, 11 Nov 2024 17:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346367; cv=fail; b=XWh2Qhp3isFEyV5wyuq2aX6cOmNR7o1/1KvEzBX9QIWvQGooxir1904ruIfGVX1MLrNL+9YytAsKEts7G0F+qe3ICzEF2UxnV7k/NGY8qJJ4CwDbXfMnqFIrC/ElUgGAhvCq5AcDpynfwfDrTr5iOmH4Y74yU6hvaS1TRQrHTsY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346367; c=relaxed/simple; bh=TiawW5mUcZ1qwCQdS36zCJKhOJAtTITu0JJSFb58/60=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YIth71z6uS4nxDOyyz2gGYocu0L9AAo13wOqrTxaEWwHvM1lK2ABAae/ABrpA19AXuzhEbQ6IZf4sSIHptNfBjlGURqODHCl6HPUbGYjmZR+sg/eOgqxGKm9P/8XWoTlOW5toOeWZEDAus/7QjrQNETFZMg1VN0EHA0E7WwHUH0= 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=NVoI5pMn; arc=fail smtp.client-ip=40.107.21.61 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="NVoI5pMn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PtgkJ7NuThufSm9gq3fvSf9TnlVGMqUkTLvxs87CLyd+M4ayK1afzXj7FKKkd9r9+nOjrbfeegQt/6RhfdHwj/KdUBwIglMglYYsDCqndcBdjuYDbRW8T6b6Ij6SmO7iS1WJjci/QSqIwtrJSQmlmPIb41sENtSfCADxdMOXnn8u+8JrwmVvFuOSRMA8EL79kHBH7zzjUSvTeMG6F7NcPJqdHnbZ+DqoymHj1OCWRK3fuMMhUFH8LfW6r/WDjzA2QWDK6419w1K/z9YrUokKVH/nTJqVPbskVhCsddKMqL1VMiSVc4hFrQa2EmdxuAKwPLSg0PoX/0IGnV11OWKDNA== 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=8PL3sfBABFMHxWVX8328EQ2AURBXo4YGLVX6+XvSrAo=; b=nYSW8WFkdq0Oo0MjLOpzvQ4RDtROq5kdr43CGahca6qOUsc0QtPLwoH70YZB8/2lIOIzyA8QlC1PCFJFMNtosTWrQG1ba67cUfqgRS8T8mAjiVZzgjnsxzb0R070YGXZhJhxqzFw58zyqyFSjhkXl+iBTGJww9WnN/Op3a4QuJX8+UD2EldIxKyOtB1OTo+IUo3r/VOZzU2L5v9T+qFZN2g30oOse2yvzFCnzr1SIu2xJI4clcb2jKEM0KFN1ud3v2w/TUy20chCOM5G2qNE+VsWoXsKcnPAfM8pSjlxfxuNldDH+xQ13gV+cAyJZ+CUlNf84/dWrf4mje0auOKCmQ== 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=8PL3sfBABFMHxWVX8328EQ2AURBXo4YGLVX6+XvSrAo=; b=NVoI5pMn8RbsSzuWM43xalVHoDzej+MeFWVjEU1uwYJBd1mFguCq/xNEIbzSJz+IlfdR2aWqOaqZCTlRODG0o/Mnhll+2rt6CntIqnjagGYv2zzXOgKr0cCKtENC5Accx6uaF3y5njrnHfT2lKwxfsf9krRmPIwfYD7L1ucCprLeJ5oJwXMpeuy+z8Tn+sAusy0a38R8cf5Y/S9McN+fKueBiKDGmD+x+2nrPJT1DsIa2XPqoij9jqma5KiNCP01EjtQ1fM+WnmtLKoNejj0pNfEvctI1sqYy7kf6GjMka01fxs7KuJXatk3xbzsmuYCUoXqiIoUEtnnzd7CiGBQag== 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:42 +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:42 +0000 From: Frank Li Date: Mon, 11 Nov 2024 12:31:59 -0500 Subject: [PATCH v3 2/5] hwmon: tmp108: Add NXP p3t1085 support Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-p3t1085-v3-2-bff511550aad@nxp.com> References: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> In-Reply-To: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731346348; l=1810; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=TiawW5mUcZ1qwCQdS36zCJKhOJAtTITu0JJSFb58/60=; b=RDEWCVGIbo4Q758cjd6eCJtbIgjm6KncPtQy3WvxcVP+QTpi5n4uVPowL+bORR2JZlCRmYIgh preu34irbY9CNJL3b9fUa1BQi9Kx2wj/Od+nBMBMRnksNL4g8VXUZXA 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) 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_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: 6200731a-30ee-4cb8-0510-08dd0276d8d4 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?B?VEtYajdEMnFtRDFUZWJmQVFYTW5zZHMwd1Nzd2FuZnhMZ2pkUlc3UWVkMWk0?= =?utf-8?B?TlZsSllxRnIxVjBxSXVNTDNnWndhZkxSZlNCK1pzQnNzWDVqbnpCR0VkVjZv?= =?utf-8?B?SnlhaUdCL3pvTm1uZVc4ZytyaGlITm5IVmlqR2FHU1BPYmZheGVLWjJTbDFp?= =?utf-8?B?YU1xSzhVVDd1OTRrVjBT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SPM;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?B?anJZT1lCY1NQWjg4eWYxRnBZR2Rvb25LS0hjNW1POE1lc1N5bVhSZXQrYUxo?= =?utf-8?B?b2s1VUJrMVNmcWtrRHVjbjNOZS9rYTNnTTdkWlpiUUxpemhRUllmZkhkTW42?= =?utf-8?B?UkFqRDUyUzF1eGpvdTFLOElKenViUmphWVBqcUN5YzhCTzFaMlp3MmJaQ3Z3?= =?utf-8?B?Mm9wTVhhOEJFNkJjRkEySEtxRXdsZVQrYmNURjlzNVBZbVpGa2RRWnJuUkdz?= =?utf-8?B?RnhlQnZHQWRibVpGTFIxS0p5blBkL0cyZnZHRkVJeXJVMVNrcWx1WXdpRmpk?= =?utf-8?B?Ni9SMVpYcUVGWGhVcUJ2VHdPNnB6bGMzL0w3S3l6Z0RZbWU2aGFNWEM4RnN2?= =?utf-8?B?RFBBclZTQyt1TUFOTHQrYkkrQVRYSWdsZm1kTGJNcDI2SE5lZ25XbHRmZWdD?= =?utf-8?B?ME14SVVmc2gxL2tmM1lGVXJrVkxtTXlyckMxUUtQL1hKanZsclB3blVmZlNw?= =?utf-8?B?SkFsMmxpN1czVURZMDhFVHl1eG5Qdzg0enpRN09HMXlrRUdDVys1T1FGUlhU?= =?utf-8?B?OGRqdWw2RVBTZko3N2Z6QXk5WW5FREFCQVdlZFJlVmx1cjJ0Qnk5a29DanNO?= =?utf-8?B?ODBjOTEwWWNZZ21aWFl3bmo1L0plZEliZEVUYUtuWWlSVEJoS2JZOFU2K1d3?= =?utf-8?B?QlJ5cHo5L3N1UndZdkkxWFJobW9RVCtNT3gvaHNkeXBZcEFxWFk1dlBTbjY3?= =?utf-8?B?SGwxb2ZrajIwek1WWWxvSzFRS2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TXRhT3ZnT3Q5NVdqMGUyVHIrczdIM3RxR1dYb1NrN2lWT3FC?= =?utf-8?B?a3o0elA2bkFUdDhWc011YTFJbU5GeExsU0ZWaXJhV3Zqb1Vjb01Mb1RMRm9l?= =?utf-8?B?dnU5eUN2SjRDWUttM25pL3pLcGZJZyswalA1cXFyQWI3cTVNSWxLVm9GbWVZ?= =?utf-8?B?RzRsaGJyaCtCRFZha0l3dXRRUzNoZ1FQUEY2YU5yT1ZkWmNwMDd0SzRWRUh3?= =?utf-8?B?R3pRa3VmQ0NOcVJVM2tXUjdUZGlUWEc3ekVUcG94TjYvTWhUZkZVOTFkL0dm?= =?utf-8?B?T2Z4Qi9OT21MOE9LMGFqWWIyQ3MwdEhiMWg3QU9qVWk3N2lIYzZVSEw4b0Fj?= =?utf-8?B?SXVqTENjc1R5allGbHkvc0YrZ1gwSWdLWnZQYjhGY2tVUWVBbWk1OW5OUm4z?= =?utf-8?B?Q0xaSG9uVEFHbnFaeE1CcVJUT1VOT2hDYWF0NHNSUC9WMHExZlNKOE9LQnJk?= =?utf-8?Q?bhFAdr5VFPCDihn60HhQjhrQY?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6200731a-30ee-4cb8-0510-08dd0276d8d4 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:42.6917 (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: OSi6VE/WyzpstP51Y4Ak4o3Lfp4Sb91NAaga/mAixP4QNeP6EfWmely5adgmvMYNvg8VgSxrmBRiPdWvoXTHqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 Add compatible string 'nxp,p3t1085' since p3t1085's register layout is the same as tmp108. The p3t1085 supports I3C interface. Update document tmp108.rst and Kconfig's help context. Signed-off-by: Frank Li --- change from v2 to v3 - new patch - update documment --- Documentation/hwmon/tmp108.rst | 8 ++++++++ drivers/hwmon/Kconfig | 2 +- drivers/hwmon/tmp108.c | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/hwmon/tmp108.rst b/Documentation/hwmon/tmp108.rst index 6df7cf1b42f49..bc4941d982681 100644 --- a/Documentation/hwmon/tmp108.rst +++ b/Documentation/hwmon/tmp108.rst @@ -3,6 +3,14 @@ Kernel driver tmp108 =20 Supported chips: =20 + * NXP P3T1085 + + Prefix: 'p3t1085' + + Addresses scanned: none + + Datasheet: https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf + * Texas Instruments TMP108 =20 Prefix: 'tmp108' diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index cfb4e9314c62a..d43ca7aa4a548 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -2300,7 +2300,7 @@ config SENSORS_TMP108 select REGMAP_I2C help If you say yes here you get support for Texas Instruments TMP108 - sensor chips. + sensor chips and NXP P3T1085. =20 This driver can also be built as a module. If so, the module will be called tmp108. diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c index a82bbc959eb15..b561b452d8d39 100644 --- a/drivers/hwmon/tmp108.c +++ b/drivers/hwmon/tmp108.c @@ -420,6 +420,7 @@ MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids); =20 #ifdef CONFIG_OF static const struct of_device_id tmp108_of_ids[] =3D { + { .compatible =3D "nxp,p3t1085", }, { .compatible =3D "ti,tmp108", }, {} }; --=20 2.34.1 From nobody Sat Nov 23 20:31:27 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) (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 4E9871A76B7; Mon, 11 Nov 2024 17:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346372; cv=fail; b=aHPjuIR4876ak8Dwmd/8xxDoxqNArHmQFYhF3KQpP7shs1iVZMeef/dHmjr1TviUUsEKhBNe7v4dU3pN/y4Ds+XvsBC6qEMk8YbrLKMObTh/Trpeo1fuh8UghxkBuQYjM7X3LunoJrC6l3lnFoxKZ56tyFLfOXgZg7SkG1tAgeE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346372; c=relaxed/simple; bh=pHdcouA8YK+jThZXHKLq4J7wOSdvJ4TG+3dUQln/lGc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Rv66S4+L4HEzHJKhPG31LUC9Zo/KhnusUndCfU8ny3sByn0qkLL4ITadfaJeyRTMnSa/swlHO0dwsOSNUFses1fSnh7Mhz/UR115fyyGQIewXsxO34GMSBaUjwJRtFaX0bMHw0Nbux5PAt+IQBsRsIxv8CsxRc0U1wd7yI2aLRI= 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=WG1QeB+U; arc=fail smtp.client-ip=40.107.22.48 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="WG1QeB+U" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ojY1LZkljoTykY4b21t90ct9xOcNjNzR3YW2mk+4yA8ux5yuIYng86zBKzW1r3W/qOa4ew+WDkm4XGZg966UykJ+HGErucWBYDXBawXxENo9j31XOUOAZWmK7AVJm0eoxi13x5ZblsUbV1gSmGDlEtrt4usQ2t3xxrvetWtB9O7HAHFU2lyD25ajoVGbaQBefwSF1F9uC/mX71ywEUEsQk7SOh8rhNXjkG+CxcUBsgEr6yCw4FYmVYt1GZ52TmNndJ349r8tGUP4DLmpFV1rqchLYvDAl98ZHiwhfS2mWLX7qgzmuimGadR5fRJFCXCxJQ8YPm8HXHKSCjLyZ+gk/Q== 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=RTxUcGEWHvp7e9+sBMtLPKUzbzbsN2et/K/W1RTGWtc=; b=FRzHwrhOWSc2MvV3vUxPH1kckMeEbfAhxJ2EJmOva0+BMwecne3f1NbhdXuNhzeRImZ2Y9okq2/s4c7AlLns646Q+mjzhFCsH+1Ocm+C+zR0EdHPJHxNPuytue5IynMjtMRjLE/CVPxjUcZ1cM2O1GROoEjF5z+kF6eTLBkE79af8511JUlHtMeS7nhhx7ZGYekaeJTVBgTeVl2ga1rqK69VFiHtvXcfQtnDOUTo7L1EQz8GTsaNOc42SynI1CwlIa7KTpGWE92XvImF89zMq8pBQOF0u7jFoY6qNxj04PVe1KdECtfW2vApHKblfy4M5gGuI5WnZvpmXp+ixmx0Xg== 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=RTxUcGEWHvp7e9+sBMtLPKUzbzbsN2et/K/W1RTGWtc=; b=WG1QeB+UEg1XlxaaWCI/xbQUYlqfUu9NEqg6dfgaziunwdxENhmFGIykLvusZ5wSrbUF8FiuEQEEZc9NGMo9wXc5/DerhX7k2YHaxpKZm160LXVpuSQAZryOULUazSokqaFl2Wqzx7aXykzFN1zO5KMYHL1oXaDyx1SQC02Ng6A0rRGOiO+UKTLPXVenbJqx+ApmzDQeMwDWljdZMKBr8tF4G78Iqhbb8/POVYunI7uuLZTcpyp8Q5X4NPr2Qjde1800W7OIk0XT0lWcB7sLibiopoEg3ctvCZ3E9wwjxqXEe4/IcYcF7ZueYP9/yzSZVFd0u4+5M+57pM/RWty0CA== 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:47 +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:47 +0000 From: Frank Li Date: Mon, 11 Nov 2024 12:32:00 -0500 Subject: [PATCH v3 3/5] hwmon: tmp108: Add helper function tmp108_common_probe() to prepare I3C support Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-p3t1085-v3-3-bff511550aad@nxp.com> References: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> In-Reply-To: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731346348; l=2743; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=pHdcouA8YK+jThZXHKLq4J7wOSdvJ4TG+3dUQln/lGc=; b=bfBhmVCVa2weYkbM23SlmsWKV8wviDQ58GykbkhfkF7BK5o7FeV+W+zLf+XAnAn/1MZhpsDse 3vfSaAEoqS4CudrQBUDTRBAM3YOa8RNH9NNssuY+9Pj5fHRVmW36XY9 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) 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_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: dfa1bc41-9873-4ece-36b7-08dd0276dba7 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?B?cnBHbC9BdXBjSVcvUWYzRU9kYjBlSzVFMTE4U09acHJ2d1lwbXNicnkzWWNW?= =?utf-8?B?QVdrdGluR3ZGcU9Hd0lqTER4UzZ4Mi9LbHF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P?= 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?B?Mjh3MG9qUkdIb1JvenZWZDNZQUxJeGhhWHVLTCtlLzJCM01Nc1U5MTc3NTlP?= =?utf-8?B?RnoxV0h0L3BMRUE0eU51WkF4dldDSjJ4SXpPd3pNd2NDaTBqaGZaSkRXT3Aw?= =?utf-8?B?SUVyNkFBdms3VHVza0JZQVQwVnVYTHEyVGh3ZGZNcWFLU2lxcXVuYi9iZUlV?= =?utf-8?B?QThKM3JJTmRxTUgxYUF4UHA5MDNMdkM3d3R0OFB3Qll2dG1xbFZWR2RhL0hx?= =?utf-8?B?OHFyVEQ5Ym9Gdy9ucmRBaHZqbjYxN0NrT0thWWNyWU9nQzJObng5eGFGWFMx?= =?utf-8?B?OHJZMGY5d2hYQlI5amR4dWN6ZHBGcnRodyt4MFQ4QlcrTkNSRzlDaEE0UnEv?= =?utf-8?B?anVZYjVpS2lQQ2F0QUJCWFVUeitiNTJBSWZsYjFVMDBFVFpWWi9ZRUxuUDRO?= =?utf-8?B?SFo4djZkcFJCcXBjakhkVFJBblU1TllXa09QNUZ5OUpZOURsblV3QUhETUhv?= =?utf-8?B?ZjAyL1lMRnVpU0J6R1hKWTJyckZrNlhBRjh3RGFYd3d1dVYxWkN6UURxU3dF?= =?utf-8?B?amdKUldQei94TXpMRk44NElMR1p6cERIZlRuN0Y2VVJJTENHYXlqeDJ5UmVk?= =?utf-8?B?VEtqRTdKb0xVdCt4TmJPVFA3WDJqSmFuRjYzU3l1elZhYzN4UkkxQm9NcFo5?= =?utf-8?B?d3dmTUZmVXZKUzZlR1ZENW9SWV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kxNcnNIaVpRYThSQ3pLelN3bTBjQVdQL04zL2wzS3UxalZISmt3?= =?utf-8?B?bkJHVU5aYTlNVnBLMFJ2ajl0Qzl5UklmZlprbjcyMXR3eFUyOFNzR1B3ek9J?= =?utf-8?B?K1VkaVNrY1YxTUIvR1lNZytSZS9maHF5MkR4cE44RlFJaVl2Nnl1T1QxNStF?= =?utf-8?B?VzRNVUJaMFNXWGxRaUlPbzdscWhyRUhqVmNva25wWlBVNmZmUU1WRUdnY2pT?= =?utf-8?B?di81MEV2TFFhLzNVMUpMc3BIc3ZuY1kxODlvVTZzditubjdiOE4ycmlXelZJ?= =?utf-8?B?SytVQjVlejVjZkpXT01PdzZ2cnBpSUYyVjV6akJQYnYyeHNsME0rbk5wTmp3?= =?utf-8?B?VmlKSFZhU1V5WUM2YWtxU2tJWlFvb1JaWTh3V0FTQWNYbFVZOVp3eXUyc1Fz?= =?utf-8?B?U2NhU1QzOFlpNFhNMjBYaUxPMTdyUEVXelVRcUJ2L0FFRkVrWEUwWmJoUUll?= =?utf-8?B?UEl6V05qRVYvWGhDMXg5MUZDaDBXcUpZUjArK0luVEUxUXhMcEtxOFR4S3F2?= =?utf-8?Q?rIztA9MQIaz0G+zy3VZxomTO3?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dfa1bc41-9873-4ece-36b7-08dd0276dba7 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:47.4537 (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: AKyzUccjz1Tx9AqMIz2hU6EBeSdfGorlqxUv1MuzgznrGOdmAP+0GAHoDZ5cC1loUJinnBpecQpVknmdx9+fJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 Add help function tmp108_common_probe() to pave road to support i3c for P3T1085(NXP) chip. Use dev_err_probe() to simple code. Signed-off-by: Frank Li --- dev_err_probe() have not involve addition diff change. The difference always list these code block change regardless use dev_err_probe(). --- change from v2 to v3 - update subject by add prepare I3C support" --- drivers/hwmon/tmp108.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c index b561b452d8d39..bfbea6349a95f 100644 --- a/drivers/hwmon/tmp108.c +++ b/drivers/hwmon/tmp108.c @@ -323,33 +323,19 @@ static const struct regmap_config tmp108_regmap_confi= g =3D { .use_single_write =3D true, }; =20 -static int tmp108_probe(struct i2c_client *client) +static int tmp108_common_probe(struct device *dev, struct regmap *regmap, = char *name) { - struct device *dev =3D &client->dev; struct device *hwmon_dev; struct tmp108 *tmp108; - int err; u32 config; - - if (!i2c_check_functionality(client->adapter, - I2C_FUNC_SMBUS_WORD_DATA)) { - dev_err(dev, - "adapter doesn't support SMBus word transactions\n"); - return -ENODEV; - } + int err; =20 tmp108 =3D devm_kzalloc(dev, sizeof(*tmp108), GFP_KERNEL); if (!tmp108) return -ENOMEM; =20 dev_set_drvdata(dev, tmp108); - - tmp108->regmap =3D devm_regmap_init_i2c(client, &tmp108_regmap_config); - if (IS_ERR(tmp108->regmap)) { - err =3D PTR_ERR(tmp108->regmap); - dev_err(dev, "regmap init failed: %d", err); - return err; - } + tmp108->regmap =3D regmap; =20 err =3D regmap_read(tmp108->regmap, TMP108_REG_CONF, &config); if (err < 0) { @@ -383,13 +369,30 @@ static int tmp108_probe(struct i2c_client *client) return err; } =20 - hwmon_dev =3D devm_hwmon_device_register_with_info(dev, client->name, + hwmon_dev =3D devm_hwmon_device_register_with_info(dev, name, tmp108, &tmp108_chip_info, NULL); return PTR_ERR_OR_ZERO(hwmon_dev); } =20 +static int tmp108_probe(struct i2c_client *client) +{ + struct device *dev =3D &client->dev; + struct regmap *regmap; + + if (!i2c_check_functionality(client->adapter, + I2C_FUNC_SMBUS_WORD_DATA)) + return dev_err_probe(dev, -ENODEV, + "adapter doesn't support SMBus word transactions\n"); + + regmap =3D devm_regmap_init_i2c(client, &tmp108_regmap_config); + if (IS_ERR(regmap)) + return dev_err_probe(dev, PTR_ERR(regmap), "regmap init failed"); + + return tmp108_common_probe(dev, regmap, client->name); +} + static int tmp108_suspend(struct device *dev) { struct tmp108 *tmp108 =3D dev_get_drvdata(dev); --=20 2.34.1 From nobody Sat Nov 23 20:31:27 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2070.outbound.protection.outlook.com [40.107.20.70]) (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 52D561BC088; Mon, 11 Nov 2024 17:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346377; cv=fail; b=sKA0BsvnVYMfjaC9zYkBoCiyNdqBXf/wrbtyMZB4eC0wJtUQ6Gkri746nqA5Kyjo+bxf0XiqO8JiZRa65A23XacIiLvAVUpqIVs2UToHyR+CDHgqK4mhUSPqvpEaVMzBIwLCrUiv90PFFG5TVUL82hAE9+8WZQ92zE+gw4Xj5Fg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346377; c=relaxed/simple; bh=SpDIWQ//2vxQS6+qCcRIjEy3XtKoUdTil4zQhY1xDPU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=l812DMrEw/qsLyMZUeYsCVNhIvFtPA5Dq0CiW9WSYImISCa4fPDmtbGCtLEojtpvLdk/CGZrxKpVSuPF38XAJoE4ounA4UkF1ZhM6+L8EwGM3cnABgGrIbC3uxGqaLQ/69B5axWFG3d4UgO5HB40Ja74BUjD2GjdfdURCXNO5Wo= 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=c/Bp9Lzg; arc=fail smtp.client-ip=40.107.20.70 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="c/Bp9Lzg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DC+EaNe/2k0IoC3LkpgiWqSqe0QAT8J0F3bs0lepvspKIqyWqSC7AV4wXvs4Vrhk5CX/kPqz+5r4JORuIHMoSWbOtQ0WBE/KvJcb86xLJUkHbYFu1Nv9KoYIfw0mb3f8p9b4txeqTh33Pk6jsXmnIvcSKplf9bXoSvbFTBzvMAY51s42zw0eEiYB+CUWhXs2N3gS3Vx7Xr4kO1iziKtjwKQcibBmGUK4G6LlTqcbTyh1jh09Eo7xA018i2ylRaprkCgnpjz6mqqSYSGuHSXgTqcgNieLB++I6PrVw1BMXiR0xmzpug/Zf+vp/TCngyYiZvM/IAk+bV7E5SfBJbl1Jg== 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=yT6CdsGvDvMzmPjYkwFsjKh3un4BoK0qxjjXVW4EnQE=; b=D+Hohx72lBuqCymZ7CdkjVsyhJ5EC5DX6L93yd4cLeL8ItlUHBJxyrvWjCueij8g3yNR1nT855PBeOelUGcgmE6O6GE12Kp71xwlpvcxDRgBhEqgNExB+xVOONFRSisyc32WmTYYch1Lg3WSGNcLiAm3mLN4uikGX90uKQo3ZCqeCsW9Ky89wLBBpqunRZkC536vOxNx2G9znHuwEwkc5E3Y4buOXFwJUa4nLu8bkCfqpyKnnp916jH1Tnb0+I5velabS3hW2YuTb/uPjneB2QtJm+8Qkd1P+Tf+zci+tdaB+zRZxoPcP5FUOEOCBB3p8Saq/B1Zxyv8o4L6buVswQ== 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=yT6CdsGvDvMzmPjYkwFsjKh3un4BoK0qxjjXVW4EnQE=; b=c/Bp9LzgGSHlMujWX6qF4Kcc0mIed0V+h5RkvjR7RSBra5vkSwtcv6ThWe8oqixJAzY3HRdnG7/cNLMe0Vu3dJzpX7MfzubdRD1JfBF58gvBWKdK5bZgESx4UWPbtG8FWKAvjcpWtRkUl3Z4HzyTu9th8wytD/K8rTd8C9aN0MIt0ASs0s3UXUGSLte/JAOwafyakt2mmPIYjDP0TWVkLajGTel3uAU2KCE/BxbRT2YdfOCRH0adLvJTf8fGBX83WcGssPKs9qqcvB0dzHjzYZlpqY75sQcrYSrrr56sAE5iMOFD6/pDMuygTlLLx6bnh7BGFKr+oq1eCKjfsEt9Kw== 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:52 +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:52 +0000 From: Frank Li Date: Mon, 11 Nov 2024 12:32:01 -0500 Subject: [PATCH v3 4/5] hwmon: tmp108: Add support for I3C device Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-p3t1085-v3-4-bff511550aad@nxp.com> References: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> In-Reply-To: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731346348; l=2554; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=SpDIWQ//2vxQS6+qCcRIjEy3XtKoUdTil4zQhY1xDPU=; b=oIpjlN20VXx6nYjN61WgpNP1tIR1QU/UWuieY8UlbQO25JrulQUoP9XG0cmluT7dyOPAW0YOJ nB0SNpeYDbLC/f386DFQ0SKe8kKngqrX68F3QpJJlnsJ6D1jKJ502Pv 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) 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_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: 52f05c4c-3b86-4301-5d9d-08dd0276de7c 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?B?ZW9rTnBTa2x6ZVVBR0c5YXZDbkJsSHBqWVBtUHpjMk0zeTVqbTVtR2lJVU1o?= =?utf-8?B?c2lQT3daZkFFcHJNOHhCbnk1SHhNempCRjRRaXkwaG1WQXlkM0VWcEdBYmZj?= =?utf-8?B?OTVrbzJoU0l3T0NJdG5hNDA2bmFZczBCUndia1RoWVFvUGE2VHI4N2IxdlJt?= =?utf-8?B?Zy8rcURMYkN2M242WHovY1QzY2FpaTgzK2ZrQUcrcjN5c0w0dG0rSUNTTEdU?= =?utf-8?B?YmdmL2ZiSTlPRkpFdkU1YS85TWhkYUpMcWVUVXNPOFNYSk9iaUlIQXhSdVQx?= =?utf-8?B?VFpaMFhwNUtTS3JPcjcxZlY3alRxNWdXNWd2ZTVuMHV2SVVwQk1MNkFFeEFj?= =?utf-8?B?OFc5VzhHZGRHNDdHYUtDaFlDMFhDZ2s2YUtjUW50RUJZRi9oY3RoVDhLM1dn?= =?utf-8?B?L0lEM0RkRHNLeTVyYU5UaWJIbUNCWUtzSzU5RE1iQklPWVNydHg3VzN4TkE1?= =?utf-8?B?Y2N4YSt0ZXhmR1ZKMyt4VDBsWlEzcWZrOFZ4aGpPV0twYU5UWUs0M1F5eHFK?= =?utf-8?B?eU5wQTJ4MEoyazZ5SExoWUNkL0h6NldTbUIzZ3h5S2VGcENDNmNZQUZwbzRC?= =?utf-8?B?QkE2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S8zZDZHSHBVVGxZ?= =?utf-8?B?QjlwMTNDSitRWHM1cDBTRjgrQ3l2MFFub2gwYVFwdFhQcDBrL28zT3o1MXJ3?= =?utf-8?B?a1hHWlk0dzdja1A2SDcxa21zMWo4STFldG14bUNZUG0rZnIwUENka1A2YWRQ?= =?utf-8?B?MlM4VHZQTFNxV3lRUGRablVVMDJqcFMrV0laQ2FVSEtOVHhwcysxcGxLL3N4?= =?utf-8?B?bG1paVJVTVNmd0x0ck11RE1vMWwzUnJiTGxQQ3I4OUVtSUF3TEYzWWptTFo3?= =?utf-8?B?bjZGQy85OTh0WEoyaW1odGlaeW4vTi9RRXRjbmVMeGUvVHl3TFpSUDgyWWxr?= =?utf-8?B?MDA5d2JXeURVeitHeTFhR1pJQ1dKVFV2S1pTY2NPUUdRZ2w2ekl6djl6MEkz?= =?utf-8?Q?TS6VfIuF8mGPe?= 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?B?ZTN3VEJnNjJWSHo3UzRRVWNSQXI5WXhWSmVlRVZuN0dqbDdsTVJ5U0s2dXVT?= =?utf-8?B?REhiWjducEQrOENLcktzQzVNOHZNSkgrV2QvbzEzRFdyUTAxbXZxZkZMR0oz?= =?utf-8?B?Qy84YXp3Nk55OGRUcktIaXAzSFVicjdxOEVMaEU4OFkyTXBIVWp0S3k0Z3da?= =?utf-8?B?d0V0NlVzQ3E3SjNlZlhzdUllcWJoQXl6SlVaZTZPZnE0bUZZVFlGUERDODRQ?= =?utf-8?B?VGszTFkyYUJnOUZLTlZZZ1l2Z3dPRTRqNWhpSUowaWJwREwzd1hOZ3FYOFhN?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F6dGJWMlFuaGs2TUx5Y0xBdTB6ZEU5Z1RKc1RK?= =?utf-8?Q?4cYxDN6nvz0YeKBgDIvPCLWM3?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52f05c4c-3b86-4301-5d9d-08dd0276de7c 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:52.1775 (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: AGjZxn2whdG1axEBtNPWu33HEX2oqfJv3lxFSgYkc5+g4GNq6cGk/Vz0rSElFBb3FwSSPdcV2phE/5g4O3CTvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 Add support for I3C device in the tmp108 driver to handle the P3T1085 sensor. Register the I3C device driver to enable I3C functionality for the sensor. Signed-off-by: Frank Li --- change from v2 to v3 - change kconfig to select REGMAP_I3C if enable i3c - remove i3c/master.h - remove , after {} - use #ifdef CONFIG_I3C about i3c register code I2C I3C Y Y support both Y N i3c part code will not be compiled N Y whole TPM108 will not be compiled N N whole TPM108 will not be compiled --- drivers/hwmon/Kconfig | 1 + drivers/hwmon/tmp108.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index d43ca7aa4a548..9579db7849e1f 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -2298,6 +2298,7 @@ config SENSORS_TMP108 tristate "Texas Instruments TMP108" depends on I2C select REGMAP_I2C + select REGMAP_I3C if I3C help If you say yes here you get support for Texas Instruments TMP108 sensor chips and NXP P3T1085. diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c index bfbea6349a95f..deb1505321335 100644 --- a/drivers/hwmon/tmp108.c +++ b/drivers/hwmon/tmp108.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -442,6 +443,36 @@ static struct i2c_driver tmp108_driver =3D { =20 module_i2c_driver(tmp108_driver); =20 +#ifdef CONFIG_I3C +static const struct i3c_device_id p3t1085_i3c_ids[] =3D { + I3C_DEVICE(0x011b, 0x1529, NULL), + {} +}; +MODULE_DEVICE_TABLE(i3c, p3t1085_i3c_ids); + +static int p3t1085_i3c_probe(struct i3c_device *i3cdev) +{ + struct device *dev =3D i3cdev_to_dev(i3cdev); + struct regmap *regmap; + + regmap =3D devm_regmap_init_i3c(i3cdev, &tmp108_regmap_config); + if (IS_ERR(regmap)) + return dev_err_probe(dev, PTR_ERR(regmap), + "Failed to register i3c regmap\n"); + + return tmp108_common_probe(dev, regmap, "p3t1085_i3c"); +} + +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); +#endif + MODULE_AUTHOR("John Muir "); MODULE_DESCRIPTION("Texas Instruments TMP108 temperature sensor driver"); MODULE_LICENSE("GPL"); --=20 2.34.1 From nobody Sat Nov 23 20:31:27 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2070.outbound.protection.outlook.com [40.107.20.70]) (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 2906E1BD9CD; Mon, 11 Nov 2024 17:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346380; cv=fail; b=G9iQGpnGP63WGVF7IE2AK0wypMUy3C+BjJ75ZUVxHPzahwiJkVVNgaTxhKMxY+cT0Xm/RcPRmdJ1ycXbTrCxbozuiLJhcHPd3dchTTuBpZOwEEUcIFCWm6VOZem2T3IRS4I9GlvyF7+GP/EBpo8ldoL/amrLlDy1ju+BYQ950T8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731346380; c=relaxed/simple; bh=OxwlpHDBzx7gu1DR1KZg+LSN76MVcUEG4mWJvWBzHvs=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=berl7i8ZBIQUGJhJlWTUsrHObGIhYFGpjOOUCyzjWb7LRyatn+NoW0BftxEycE8tY36BfPjGOiogXREDLbQwSZzB0MEP01aV7a4d9jpHxpBLtCnn0nBOgKByKEWR6TFWUKR5/SthkiZkTKhr2GKwUvSFlwavt5nUvurQ7I7jpik= 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=SD6oqpix; arc=fail smtp.client-ip=40.107.20.70 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="SD6oqpix" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=phrRgy/xXAMA7pigGTf871C6hUe5+Gh8VU7RbUtRl7ZKAc8a/VAIWuZdQVtQCr3EUYWLLtlNEoxGv3Eo5/crpOmjIUA6qSgBqcyj+djH69sU7WHHc+WcmAlaV5XL3Krb8cLFwXJ6EAwtlL1HjvWz5KzImQtMnzE2tOra3PMlogQ8j2ShijReldUbaO4tv40vfO6Fx3n6b4tX9OH1w1wvGHTySGMSpAFYHzm9cVL8OLzLcabov6ANCfcasVLbCeNJJ/bRZ43koIj02FYw+uZzj2G/cj1aN5Eo/4Yf65EPEKtny+d7sXt2xRJCs/1MDRpQYruJMFPERR0lH5biYzDQAQ== 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=lBR9Rt5iWZ7G+8yQL1hxTSqN0o1thWd8r7kGUqd9Jio=; b=SKg1mbZ3IjJpva+4B/4TefXSHPM6EAq6/KPkmFknnHzbiXFq8QOu/qMOxaJPVM6dSfh/wdxsdRMNHZColG+9JEbfOY6nB90FOCpEBzTuJtVUBak7wqsUnMsNkh7KZ0z9MTsLi0y6cL/R0o1ShvUIwQNylsq5TcrT8skCcioCXlTKcO1FroSqLfO4Vnb5oALZACFVE394BgYzoUeNRU+KUgVltyWHsqS+Iqpk6D4p8rqynuVLKpQ6wqleThiKAr5EG/JD+BSnxb1Y72QUMgdKc+wqf6/SOA8C0zUgTVnQFdZXmt9p16FwLm2/V+HW378x7E6+tKiWoRwAnhhEMB3OUA== 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=lBR9Rt5iWZ7G+8yQL1hxTSqN0o1thWd8r7kGUqd9Jio=; b=SD6oqpix7iRzxsZPhftflIfAjq3wHF0m3XfVMg72fwtmRPOsnNKEN2E4uW63Gv+YXacZCgYdd+cJI39umIQJW0AvCv8b4zXLWFqtH7ZZJs9xh9Ngl1HDlvvSZQNBiJ3ItLyQBjJMMhbwQ1koDx8bpttp6DhaKxEk4KfdmlpWMfs5QzmHJJA2AQOtsLQ8JdDmW+7YlrL0j/cMTPW1DPraFQZVM99tir7tJkWdEEQId2MRg+ydApvTeApAxssT9XIqm92xRVeALhgO1L4wHjQDmll3jj15smILQecKxF0ryEq+vxYCDNWA6dN+5SJlf77kQiXFXohTqbUkRdabGaqxtA== 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:57 +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:56 +0000 From: Frank Li Date: Mon, 11 Nov 2024 12:32:02 -0500 Subject: [PATCH v3 5/5] arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-p3t1085-v3-5-bff511550aad@nxp.com> References: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> In-Reply-To: <20241111-p3t1085-v3-0-bff511550aad@nxp.com> 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731346348; l=756; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=OxwlpHDBzx7gu1DR1KZg+LSN76MVcUEG4mWJvWBzHvs=; b=vW8Um++tn2BzxkcvHjP0n2y0CDzvl8r9BxFTlAyR/DkCyIq9JS2AEu4pwB0xQlwhxAclK+uc/ dmvYPOKuRUQBOBTeGEcYGs94ayFVFLKyUUmazmlcHb78nz77RFZD2yy 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) 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_|PA2PR04MB10086:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b631c75-a92d-453d-3dd0-08dd0276e156 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?B?OXhCL3cxWVJTTnQxWlFlNVFhQmlFeStZSFBhcHBDbHlTNUZNQ2ZkUDFZVkEz?= =?utf-8?B?YXRRcmxtWktRS0ZrZFJHNUN5VzhEaGVBYkxPeXVGMk1LSmxrek1zTUVScEdh?= =?utf-8?B?bnBNZVg5b0V1SmIrM0dkZHJ2QkIyd1FLRWppaUZ6RTNuWm9EQmk4ZmFWNFMr?= =?utf-8?B?aGIvZTN6SHFpYjZNYVJzZlVHYjBnenpXMFRIajRWSzlZOFZLN2VHdGk5SmFn?= =?utf-8?B?RENsWGlPdHNKRGF4MnVkWDlydXBuMzl1bnZsVkF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U1KRGQvREtTeWtPb0xrL0QwSWkz?= =?utf-8?B?T2xwU0FBSjUxSWhTN1lrYlB3aWgwQ3ZEM05laWp3RnR0L0tzcjNwbjNYQ0cx?= =?utf-8?B?SzdIbWgxUUw2UjY5MExTbUd5MURVREp6THlkcWdrd2pocFc4NWRuL21QS0NT?= =?utf-8?B?VjdLZk16anNWb0lxRG9FRTMzUVhhL2NwM0FMeEVxM0VHVDdCdEc4aGljaVJs?= =?utf-8?B?V28ybzdqbnpiUjlJeHlGcnVzOHJHM2NaWmlQMWtxVnQvd0FoOFVWUUQ1ejdt?= =?utf-8?B?bmVHWUsrekNVUnE3MUNnTnduRjEySUpYMFhqczRxeHNsL1BKTllodWU1RUM4?= =?utf-8?B?Q1ZyVFQwbmdZS3ZGL25FSkNkNEtjUitqRnNaalBjbG9vZDdFRU9USFlFdWdT?= =?utf-8?B?MW53bGtUcWs4YjEzRjV3VGY3ODR0Z0k0ZE1jZnpOTStNMmdkeDFYbFArVlVO?= =?utf-8?B?MDcvUEZydTBNMnNYOS80NDBOUWszVHRFSVcwQjVsNjlTRGNTMklLcmlvbmtk?= =?utf-8?B?SlZTNFNkNjZZRW5nK2E4YXJjTjU2cXBZcUUvYk10TmVzM3VyMlliQ2VBTDZN?= =?utf-8?B?Y2xYQkYyMk9iaUpQUmJGUTliMlZVOURIMHh1Q3lJV2krTkMrUVkvaUl6cUZZ?= =?utf-8?B?OC9WQ1ZsUS90djRZRlRkeTRuVldBVDFGdmVOaXpIdmMwL1AxQmZwYW8xK050?= =?utf-8?Q?6qN65yX/71FQ9?= 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-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UbEVLQ3RPSDh6d1o4My9mVzNJVXZjUGI1ZUt0UmN6?= =?utf-8?B?MjRSVjBnK3JYMFV4cmpVdGJrdkhuc0ZxYlZ2NTdhWEFDK09tbDNPQlhjQzl3?= =?utf-8?B?Yko3QXppYkgzN1B0S2s5SHJLTHhDU2tVTjE1UmFDN0E2aEd6Mk1tZzRZYW80?= =?utf-8?B?NUduT2w4Snp0aEl6dHNTNG1MN0ZBSUE0cXVadGV4NjlqQ0l4cGF5M3I4ZXdQ?= =?utf-8?B?ZUJOUmZ4dGZMckdEd3F2Q2FPTXM2V09JcjJ0eEJwQjBUb2V1d1MzeFhKTkg4?= =?utf-8?B?MW1VdlIzaFBtc2x3ajJuV0tGbHpUUitwUXUrbmdkcDdYZlVHME0wamplMFEx?= =?utf-8?Q?NZuqW+OjBfSHrXwWHDJxC5761?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b631c75-a92d-453d-3dd0-08dd0276e156 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:56.9493 (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: WA6Oo6IDqOO/T/AwRZsnCfb9ckLyUJVe2McKPzxVFExVvwjFhcwZEkQtXMSGT2558Crng5S/KNM1erhr6loPpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10086 Add temp-sensor nxp,p3t1085 for imx93-9x9-qsb boards. Signed-off-by: Frank Li --- change from v1 to v3 - none --- 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