Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110
@ 2026-08-12 19:09 Marek Vasut
  2026-08-12 19:09 ` [PATCH 2/2] hwmon: (tmp102) Add TMP110 device ID Marek Vasut
  2026-08-12 19:22 ` [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 sashiko-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2026-08-12 19:09 UTC (permalink / raw)
  To: linux-hwmon
  Cc: Marek Vasut, Conor Dooley, Flaviu Nistor, Guenter Roeck,
	Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel

The TMP110 is register compatible with TMP102, document it using
a fallback compatible.

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
---
 .../devicetree/bindings/hwmon/ti,tmp102.yaml         | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
index 96b2e4969f78a..f0dbe9f07b939 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
@@ -4,15 +4,19 @@
 $id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: TMP102 temperature sensor
+title: TMP102 and TMP110 temperature sensor
 
 maintainers:
   - Krzysztof Kozlowski <krzk@kernel.org>
 
 properties:
   compatible:
-    enum:
-      - ti,tmp102
+    oneOf:
+      - items:
+          - const: ti,tmp110
+          - const: ti,tmp102
+      - enum:
+          - ti,tmp102
 
   interrupts:
     maxItems: 1
@@ -28,7 +32,7 @@ properties:
     const: 1
 
   vcc-supply:
-    description: Power supply for tmp102
+    description: Power supply for the sensor
 
 required:
   - compatible
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] hwmon: (tmp102) Add TMP110 device ID
  2026-08-12 19:09 [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 Marek Vasut
@ 2026-08-12 19:09 ` Marek Vasut
  2026-08-12 19:21   ` sashiko-bot
  2026-08-12 19:22 ` [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 sashiko-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2026-08-12 19:09 UTC (permalink / raw)
  To: linux-hwmon
  Cc: Marek Vasut, Conor Dooley, Flaviu Nistor, Guenter Roeck,
	Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel

The TMP110 is register compatible with TMP102, add non-DT I2C device ID.

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 95fb912a1f7ed..26c461e95175b 100644
--- a/drivers/hwmon/tmp102.c
+++ b/drivers/hwmon/tmp102.c
@@ -396,6 +396,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" },
 	{ }
 };
 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 TMP110 device ID
  2026-08-12 19:09 ` [PATCH 2/2] hwmon: (tmp102) Add TMP110 device ID Marek Vasut
@ 2026-08-12 19:21   ` sashiko-bot
  0 siblings, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-08-12 19:21 UTC (permalink / raw)
  To: Marek Vasut; +Cc: devicetree, robh, linux-hwmon, conor+dt

> The TMP110 is register compatible with TMP102, add non-DT I2C device ID.
> 
> Signed-off-by: Marek Vasut <marex@nabladev.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260812191021.65304-1-marex@nabladev.com?part=2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110
  2026-08-12 19:09 [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 Marek Vasut
  2026-08-12 19:09 ` [PATCH 2/2] hwmon: (tmp102) Add TMP110 device ID Marek Vasut
@ 2026-08-12 19:22 ` sashiko-bot
  1 sibling, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-08-12 19:22 UTC (permalink / raw)
  To: Marek Vasut; +Cc: devicetree, conor+dt, robh, linux-hwmon

> The TMP110 is register compatible with TMP102, document it using
> a fallback compatible.
> 
> Signed-off-by: Marek Vasut <marex@nabladev.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260812191021.65304-1-marex@nabladev.com?part=1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-12 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 19:09 [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 Marek Vasut
2026-08-12 19:09 ` [PATCH 2/2] hwmon: (tmp102) Add TMP110 device ID Marek Vasut
2026-08-12 19:21   ` sashiko-bot
2026-08-12 19:22 ` [PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110 sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox