* [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP113
@ 2026-08-13 9:04 Marek Vasut
2026-08-13 9:04 ` [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID Marek Vasut
0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2026-08-13 9:04 UTC (permalink / raw)
To: linux-hwmon
Cc: Marek Vasut, Conor Dooley, Flaviu Nistor, Guenter Roeck,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel
The TMP113 temperature sensor part is register compatible with TMP102,
document it using a fallback compatible. Unlike TMP102 and TMP110, the
TMP113 does have additional unique ID registers, it is up to the driver
to handle those.
Signed-off-by: Marek Vasut <marex@nabladev.com>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Flaviu Nistor <flaviu.nistor@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
index f0dbe9f07b939..6bc10c73d2e2b 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: TMP102 and TMP110 temperature sensor
+title: TMP102, TMP110 and TMP113 temperature sensor
maintainers:
- Krzysztof Kozlowski <krzk@kernel.org>
@@ -13,7 +13,9 @@ properties:
compatible:
oneOf:
- items:
- - const: ti,tmp110
+ - enum:
+ - ti,tmp110
+ - ti,tmp113
- const: ti,tmp102
- enum:
- ti,tmp102
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID
2026-08-13 9:04 [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP113 Marek Vasut
@ 2026-08-13 9:04 ` Marek Vasut
2026-08-13 11:51 ` Guenter Roeck
0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2026-08-13 9:04 UTC (permalink / raw)
To: linux-hwmon
Cc: Marek Vasut, Conor Dooley, Flaviu Nistor, Guenter Roeck,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel
The TMP113 temperature sensor part is register compatible with TMP102,
add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does
have additional unique ID registers, those are currently unused.
Signed-off-by: Marek Vasut <marex@nabladev.com>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Flaviu Nistor <flaviu.nistor@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/hwmon/tmp102.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c
index 26c461e95175b..50a8b050d8da1 100644
--- a/drivers/hwmon/tmp102.c
+++ b/drivers/hwmon/tmp102.c
@@ -397,6 +397,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resume
static const struct i2c_device_id tmp102_id[] = {
{ .name = "tmp102" },
{ .name = "tmp110" },
+ { .name = "tmp113" },
{ }
};
MODULE_DEVICE_TABLE(i2c, tmp102_id);
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID
2026-08-13 9:04 ` [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID Marek Vasut
@ 2026-08-13 11:51 ` Guenter Roeck
2026-08-13 12:00 ` Marek Vasut
0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2026-08-13 11:51 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-hwmon, Conor Dooley, Flaviu Nistor, Krzysztof Kozlowski,
Rob Herring, devicetree, linux-kernel
On Thu, Aug 13, 2026 at 11:04:24AM +0200, Marek Vasut wrote:
> The TMP113 temperature sensor part is register compatible with TMP102,
> add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does
> have additional unique ID registers, those are currently unused.
>
> Signed-off-by: Marek Vasut <marex@nabladev.com>
Applied.
Thanks,
Guenter
> ---
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: Flaviu Nistor <flaviu.nistor@gmail.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-hwmon@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/hwmon/tmp102.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c
> index 26c461e95175b..50a8b050d8da1 100644
> --- a/drivers/hwmon/tmp102.c
> +++ b/drivers/hwmon/tmp102.c
> @@ -397,6 +397,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resume
> static const struct i2c_device_id tmp102_id[] = {
> { .name = "tmp102" },
> { .name = "tmp110" },
> + { .name = "tmp113" },
> { }
> };
> MODULE_DEVICE_TABLE(i2c, tmp102_id);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID
2026-08-13 11:51 ` Guenter Roeck
@ 2026-08-13 12:00 ` Marek Vasut
0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2026-08-13 12:00 UTC (permalink / raw)
To: Guenter Roeck
Cc: linux-hwmon, Conor Dooley, Flaviu Nistor, Krzysztof Kozlowski,
Rob Herring, devicetree, linux-kernel
On 8/13/26 1:51 PM, Guenter Roeck wrote:
> On Thu, Aug 13, 2026 at 11:04:24AM +0200, Marek Vasut wrote:
>> The TMP113 temperature sensor part is register compatible with TMP102,
>> add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does
>> have additional unique ID registers, those are currently unused.
>>
>> Signed-off-by: Marek Vasut <marex@nabladev.com>
>
> Applied.
Thank you. I think this solves the TMP110 and TMP113 documentation
concerns too.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-13 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 9:04 [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP113 Marek Vasut
2026-08-13 9:04 ` [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID Marek Vasut
2026-08-13 11:51 ` Guenter Roeck
2026-08-13 12:00 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox