From: Romain Gantois <romain.gantois@bootlin.com>
To: "Puranjay Mohan" <puranjay@kernel.org>,
"Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Wil Stark <wil_stark@keysight.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Romain Gantois <romain.gantois@bootlin.com>
Subject: [PATCH 2/2] iio: temperature: tmp117: add TI TMP119 support
Date: Fri, 05 Jun 2026 11:01:36 +0200 [thread overview]
Message-ID: <20260605-tmp119-v1-2-349f45f17d12@bootlin.com> (raw)
In-Reply-To: <20260605-tmp119-v1-0-349f45f17d12@bootlin.com>
From: Wil Stark <wil_stark@keysight.com>
Add support for the TMP119 temperature sensor, which has the same
programming model as the TMP117.
Signed-off-by: Wil Stark <wil_stark@keysight.com>
[rgantois: Rebased from v6.6.58 to v7.1.0-rc6]
[rgantois: Commit log]
Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
---
drivers/iio/temperature/tmp117.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/iio/temperature/tmp117.c b/drivers/iio/temperature/tmp117.c
index 8972083d903a2..8e9621171c516 100644
--- a/drivers/iio/temperature/tmp117.c
+++ b/drivers/iio/temperature/tmp117.c
@@ -38,6 +38,7 @@
#define TMP116_DEVICE_ID 0x1116
#define TMP117_DEVICE_ID 0x0117
+#define TMP119_DEVICE_ID 0x2117
struct tmp117_data {
struct i2c_client *client;
@@ -170,6 +171,7 @@ static int tmp117_probe(struct i2c_client *client)
match_data = &tmp116_channels_info;
break;
case TMP117_DEVICE_ID:
+ case TMP119_DEVICE_ID:
match_data = &tmp117_channels_info;
break;
default:
@@ -204,6 +206,7 @@ static int tmp117_probe(struct i2c_client *client)
static const struct of_device_id tmp117_of_match[] = {
{ .compatible = "ti,tmp116", .data = &tmp116_channels_info },
{ .compatible = "ti,tmp117", .data = &tmp117_channels_info },
+ { .compatible = "ti,tmp119", .data = &tmp117_channels_info },
{ }
};
MODULE_DEVICE_TABLE(of, tmp117_of_match);
@@ -211,6 +214,7 @@ MODULE_DEVICE_TABLE(of, tmp117_of_match);
static const struct i2c_device_id tmp117_id[] = {
{ "tmp116", (kernel_ulong_t)&tmp116_channels_info },
{ "tmp117", (kernel_ulong_t)&tmp117_channels_info },
+ { "tmp119", (kernel_ulong_t)&tmp117_channels_info },
{ }
};
MODULE_DEVICE_TABLE(i2c, tmp117_id);
--
2.54.0
next prev parent reply other threads:[~2026-06-05 9:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 9:01 [PATCH 0/2] iio: temperature: tmp117: Support the TMP119 sensor Romain Gantois
2026-06-05 9:01 ` [PATCH 1/2] dt-bindings: iio: ti,tmp117: add binding for the TMP119 Romain Gantois
2026-06-05 11:53 ` Jonathan Cameron
2026-06-05 12:24 ` Romain Gantois
2026-06-05 14:20 ` Jonathan Cameron
2026-06-05 16:08 ` Conor Dooley
2026-06-05 9:01 ` Romain Gantois [this message]
2026-06-05 11:08 ` [PATCH 2/2] iio: temperature: tmp117: add TI TMP119 support sashiko-bot
2026-06-05 11:38 ` Romain Gantois
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=20260605-tmp119-v1-2-349f45f17d12@bootlin.com \
--to=romain.gantois@bootlin.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=puranjay@kernel.org \
--cc=robh@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wil_stark@keysight.com \
/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