Message ID | 20241111-p3t1085-v3-2-bff511550aad@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 4C407D3ABD6 for <linux-arm-kernel@archiver.kernel.org>; Mon, 11 Nov 2024 17:39:51 +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: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8PL3sfBABFMHxWVX8328EQ2AURBXo4YGLVX6+XvSrAo=; b=ASaQau1GV3/wj+TPCdQkC/CoKc x3G/Bx2vdH87VwaBlS3K6E25geDC9foRQBckV/kapnGwcPfZirmJY2xNjh3ZC60vAvFEMpnnOhpoG wieqwX0S8kvEo7xFXwFlGmqKJ4CHs/mm5VmeA3NLh5z7RoxyEFcqHt//d1Dgb4s2FTe69VXeGdmsd YgJT1b8HjsFEE0YHBqtAsBrYDW2CZ2aW8afqcLtQ8D0Rk4Pq+DgoQXWJ1dM33788+XzPVNECmh1pk s/GqTNqYEOf8/tSt9EqGt852TVxd9qJTRhrvy+9uO4QASiFDWi9Sbu4kzzlNWHQN91eqLHTr+6F89 7Roib/iQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAYO0-00000000kZZ-1TXI; Mon, 11 Nov 2024 17:39:36 +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 1tAYHL-00000000jCr-3t3u for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 17:32:45 +0000 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 <Frank.Li@nxp.com> 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: 7bit 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 <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net> 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 <krzk@kernel.org>, linux-hwmon@vger.kernel.org, Frank Li <Frank.Li@nxp.com> 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) 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?q?TKXj7D2qmD1TebfAQXMnsds0wSswanf?= =?utf-8?q?xLgjdRW7Qed1i4NVlJYqFr1V0qIuML3gZwafLRfSB+ZsBssX5jnzBGEdV6oJyaiGB?= =?utf-8?q?/zoNmneW8g+rhiHNnHVijGaGSPObfaxeKZ2Sl1iaMqK8UT7u94kV0SIAF/dhrmumE?= =?utf-8?q?x2qeAm0szcYxuMv7WZ4PnOK158EUmN5FzshaZunLipr88D6XOp1wO5RGo+JZbwgnf?= =?utf-8?q?3ejpZhHGhRj10Mlb+xdz7VVQUPp+Vj9NCE7wtff6XAul85j66No4qUCjLm3iY/Ppx?= =?utf-8?q?xY5d5cc8oX1kIIjmo4CLKX8J9B/ylUA4mjHHuGEW9j38U4SbkwUCuN2lIs6TsSbeO?= =?utf-8?q?Ub13TJm4+bAUNWzP34aZ9P3fzJk1PF8NbTMOuUNP5iOS4CZ1qurSql6gjwAph09si?= =?utf-8?q?JSoxffd+sekyD0GMtgWt5Y8fHiZLpskcoYQ3dAIGzUjl4t7C6IEuJRXZJj71wF9+3?= =?utf-8?q?OuhpuJL5DWw9O7mnekPqUxAT7sbV8iVXp5mezNaSrH6GqErzjpEKq0f0zBXIOB+kQ?= =?utf-8?q?/ik7lDElELIfn+mtZnAz0dohJz9PQ0gJ1ji7W/Kyv4PecimqfYhxK0zpLkFXUNcG4?= =?utf-8?q?m3ffdmInddeKxwR0Vw72r4547a6U7+tSQu/7JC0JMNpkzZsyg80pxP/7IY5MErYGS?= =?utf-8?q?fxH0HLocL8RUOQ3+XtkjqCGSr6Kv/nk5doxHkL+NYpc01ygWr1jeLpz2/K2hBjGNC?= =?utf-8?q?BwvZJVGDou3A+lxC5wyowHhusVkPD9QpZHonSIBvA5+y7152qO9zOaDPpy5wcJlmX?= =?utf-8?q?XtZRw/CDXA1TjxKVk0jkpWWN+Cg4HfboPYlBg7xuhijiiACW6+6g1V67dKgyJ1Y8g?= =?utf-8?q?FuoXAjCTzfhfPAemQgaHIEWn0EaRu73dlXrNdE4u5f29PUwVj7d0sDnUQuRLo8UNl?= =?utf-8?q?RV9dDp2AIC9amJRVEIP+RNEhq66jtQCcoXPm8TZIKK0dAXAjIEPvGjFSTCsKOQZdx?= =?utf-8?q?uzMtsUxQbBaY1ZWcgAEsZJW0UitCLQ5iqaRcrIyL6nhlcuoObJxt0WOprAwqn54He?= =?utf-8?q?VqJD/+h2s9Xzo6lPrF9M1gP2WZm5zp/EWd6F3IjiBUiQN4Mu1z3yK3Js31AJsJmbZ?= =?utf-8?q?FbapxmCGG/r8aRCnQxCPAB+vh723ljs2A/904LsuyuWtev2tv1RW9ll9PxotLD2uf?= =?utf-8?q?6+QJdbJXeAiY1/vGoVG7PKI2qY3Ugg5t2NV5Dc1z9tQ34Js9rU/aB+LpfenCuva7S?= =?utf-8?q?9qJg2S9OehbSyh++zR3Kcy4RhK0IvhIyjnwvlT+Rrw8dot+ULA3zLKAw8PY7I0HyY?= =?utf-8?q?GczWqFoXCSLo62T8bb6OcGn/eLoFQaSKcFgDPPNX+qBSjTyffH1CQqtofkW6ny96C?= =?utf-8?q?QO+ZYkAQFF80olP6QkT82BLF4l087ouATw=3D=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)(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?jrYOYBcSPZ88yf1FpYGdoonKKHc5?= =?utf-8?q?mO8MesSymXRet+aLhok5UBk1SfqkkDucn3Ne/ka3gM7dZZbQLizhQRYffHdMn6RAj?= =?utf-8?q?D52S1uxjou1K8IJzubRjaYPjqCyc8BO1Z2Zw2bZCvw2opMXa8BE6BcFA2HKqEwleT?= =?utf-8?q?+bcTF9s5PYmZFkdQZrnRGsFxeBvGAdbmZFLR1KJynPd/G2fvGFEIyrU1SkqluYwiF?= =?utf-8?q?jd6/R1ZXqEFXhUqBvTwO6pzlc3/L7KyzgDYme6haMXC8FsvDPArVSC+uMANLt+bI+?= =?utf-8?q?ATXIglfmdLbMp26HNegnWltfegC0MxIUfsh1/kf3YFUrkVLmMyrrC1QKP/XJjvlrP?= =?utf-8?q?wnUffSpJAl2li7W3UDY08ETyuxnPw84zzQ7OG1ykEGCW+5OQFRXT8djul6EPSfJ77?= =?utf-8?q?fzAy9YnEDABAWedReVlur2tBy9koCjsN80c910YcYgmZXYwnj5/JedIbdETaKnYiR?= =?utf-8?q?TBhKbY8U6+WwBRypz9/suRwYvI1XRhmoQT+MOx/hsdypYpAqXY5vPSn67Hl1ofkj2?= =?utf-8?q?0zMVYloK1QKfMPrIckukt9WfRWd4URKzboS6Q/5FyDltWyXzlkT50LJyJTprV2XaD?= =?utf-8?q?TtxdVGh6BTCbCaUqQ4DUYPVEfdlOGrzaQCJAVqBHN8CzvAxaXR+qX6k9rgYtGs0E2?= =?utf-8?q?dQFmEYGyc2PlVj6zlNfitASOiR90gUfUw02mvweAmgvKRGQrnVniR+F/MFiP6oo7j?= =?utf-8?q?NdeT6VerdDWjk8zRU1iUdV1YC0n78u3Ip33mijPlPlzTbzcpQ5TOzlc16JCHf5ZFj?= =?utf-8?q?/Gvd8pMigKS5EcZjr13IUalAgkn6hnElN0/gUQ5H0+F3lw5pusoRdZzA6We0uBpqE?= =?utf-8?q?dO48kN8dcZb5Stzht09216Kb6JD+ySBX2OLiOB8lSgdKjIgbHNa/Hl1Qrv+gF3RP2?= =?utf-8?q?5rm7NRmaq2b4GoJ8Ua3rzc2QQXgjnqcCBvFsECmADFycewwLk2DA9X0U/UESztVBQ?= =?utf-8?q?inbfCGErH87pA/XWdR1hEr6toAdio4CPAx61gAlqjfJCo7RMsBcW4aA8awEr97xlr?= =?utf-8?q?cCEQGUY7PBgas33zQlpwTVSfLu83ifpAbzEEu2a/NQ6dVFibQEaBbqFDgd1LHEVDN?= =?utf-8?q?leQbv//2hoorbI1ZOO0CIJl/mnYCS7AfKg87wF6Lln00n9VyjBWln2/x5fHg1TvAI?= =?utf-8?q?nrHgozlyFnP054RUSx/XvRKn34MtaOvgOt95Wj0e2Tr+s7H3tqGWXoSk7iVOqBkz4?= =?utf-8?q?zP6nATt8VsMua1ImNFxLlSFViraWvjoUcoMLoTLFoevu9yCvJ4CYKm3ni/zKpfIg+?= =?utf-8?q?0jP5qqrAb7q5MIlKVoFmeYG4lhbrh+BDVakIwutQS3hgQPPF6aNrOVdZcp07tK4VE?= =?utf-8?q?HwGzQkufCCNqRU3kWR7TdiTXG7zETpoxN6/MhTfFU91d/GfOfxB/NOmL8OK0ajYb2?= =?utf-8?q?Cs0tHb1h7AOjUi77iHc6UHL8oAcIujLCcsTyjYFly/sF+gX0IgKZvPb8FckUQeAmi?= =?utf-8?q?59nNRn3CLZHonTAGnqZxMBqRTOUNOhCaat4sRP/V0q1fSJ8OKBrdbhFAdr5VFPCDi?= =?utf-8?q?hn60HhQjhrQY?= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_093244_112511_6EB4B899 X-CRM114-Status: GOOD ( 14.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
hwmon: tmp108: Add support for P3T1085
|
expand
|
On Mon, Nov 11, 2024 at 12:31:59PM -0500, Frank Li wrote: > 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 <Frank.Li@nxp.com> Applied. Thanks, Guenter
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 Supported chips: + * NXP P3T1085 + + Prefix: 'p3t1085' + + Addresses scanned: none + + Datasheet: https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf + * Texas Instruments TMP108 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. 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); #ifdef CONFIG_OF static const struct of_device_id tmp108_of_ids[] = { + { .compatible = "nxp,p3t1085", }, { .compatible = "ti,tmp108", }, {} };
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 <Frank.Li@nxp.com> --- 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(-)