From: Anshika Gupta <guptaanshika.ag@gmail.com>
To: linux@roeck-us.net, corbet@lwn.net, skhan@linuxfoundation.org,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org
Cc: lakshaypiplani77@gmail.com, Anshika Gupta <guptaanshika.ag@gmail.com>
Subject: [PATCH 3/3] hwmon: (tmp108) Add support for NXP P3T1084UK
Date: Mon, 23 Mar 2026 21:52:52 +0530 [thread overview]
Message-ID: <20260323162252.15508-3-guptaanshika.ag@gmail.com> (raw)
In-Reply-To: <20260323162252.15508-1-guptaanshika.ag@gmail.com>
The NXP P3T1084UK is a ±0.4°C accurate digital temperature sensor with
a 12-bit temperature register, configuration register, and alert
functionality over I²C/I3C. Its register interface matches the TMP108
programming model, so the existing tmp108 driver can bind it without
functional changes.
Add "nxp,p3t1084uk" to the OF match table and "p3t1084" to the I²C
device-id table so the driver probes the device via both devicetree and
board data.
Datasheet: https://www.nxp.com/part/P3T1084UK
https://www.nxp.com/docs/en/data-sheet/P3T1084UK.pdf
Signed-off-by: Lakshay Piplani <lakshaypiplani77@gmail.com>
Signed-off-by: Anshika Gupta <guptaanshika.ag@gmail.com>
---
drivers/hwmon/tmp108.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c
index 3ea5f6485744..db46961a31d3 100644
--- a/drivers/hwmon/tmp108.c
+++ b/drivers/hwmon/tmp108.c
@@ -538,6 +538,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp108_dev_pm_ops, tmp108_suspend, tmp108_resume
static const struct i2c_device_id tmp108_i2c_ids[] = {
{ "p3t1035", (unsigned long)&p3t1035_data },
+ { "p3t1084", (unsigned long)&tmp108_data },
{ "p3t1085", (unsigned long)&tmp108_data },
{ "tmp108", (unsigned long)&tmp108_data },
{}
@@ -546,6 +547,7 @@ MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids);
static const struct of_device_id tmp108_of_ids[] = {
{ .compatible = "nxp,p3t1035", .data = &p3t1035_data },
+ { .compatible = "nxp,p3t1084", .data = &tmp108_data },
{ .compatible = "nxp,p3t1085", .data = &tmp108_data },
{ .compatible = "ti,tmp108", .data = &tmp108_data },
{}
--
2.34.1
next prev parent reply other threads:[~2026-03-23 16:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 16:22 [PATCH 1/3] dt-bindings: hwmon: Add support for NXP P3T1084UK temperature sensor Anshika Gupta
2026-03-23 16:22 ` [PATCH 2/3] docs: hwmon: Update TMP108 documentation for NXP P3T1084UK support Anshika Gupta
2026-03-24 11:39 ` Guenter Roeck
2026-03-23 16:22 ` Anshika Gupta [this message]
2026-03-24 12:01 ` [PATCH 3/3] hwmon: (tmp108) Add support for NXP P3T1084UK Guenter Roeck
2026-03-23 19:33 ` [PATCH 1/3] dt-bindings: hwmon: Add support for NXP P3T1084UK temperature sensor Conor Dooley
2026-03-24 12:07 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260323162252.15508-3-guptaanshika.ag@gmail.com \
--to=guptaanshika.ag@gmail.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lakshaypiplani77@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®