[PATCH 1/1] dt-bindings: hwmon: tmp102: move ti,tmp103 out of trivial-devices.yaml
From: Frank . Li
Date: Wed Aug 26 2026 - 17:14:46 EST
From: Frank Li <Frank.Li@xxxxxxx>
Move ti,tmp103 binding from trivial-devices.yaml to ti,tmp102.yaml. Both
devices are single temperature sensors and update "#thermal-sensor-cells"
property to accept values 0 and 1 (passing no argument is equivalent to
passing 0 as the first argument)
Fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-plym2m.dtb: temperature-sensor@70 (ti,tmp103): '#thermal-sensor-cells' does not match any of the regexes: '^pinctrl-[0-9]+$'
Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml | 5 +++--
Documentation/devicetree/bindings/trivial-devices.yaml | 2 --
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
index 96b2e4969f78a..cd96b1d8a2d5e 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 temperature sensor
+title: TMP102/TMP103 temperature sensor
maintainers:
- Krzysztof Kozlowski <krzk@xxxxxxxxxx>
@@ -13,6 +13,7 @@ properties:
compatible:
enum:
- ti,tmp102
+ - ti,tmp103
interrupts:
maxItems: 1
@@ -25,7 +26,7 @@ properties:
A descriptive name for this channel, like "ambient" or "psu".
"#thermal-sensor-cells":
- const: 1
+ enum: [0, 1]
vcc-supply:
description: Power supply for tmp102
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 05f88cf81d6c6..3cdf9e0d8322d 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -506,8 +506,6 @@ properties:
- ti,lm74
# Temperature sensor with integrated fan control
- ti,lm96000
- # Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
- - ti,tmp103
# Thermometer with SPI interface
- ti,tmp121
- ti,tmp122
--
2.43.0