[PATCH 1/2] dt-bindings: hwmon: lm75: Add label property
From: Flaviu Nistor
Date: Wed Mar 11 2026 - 06:58:27 EST
Add support for an optional label property similar to other hwmon devices.
This allows, in case of boards with multiple LM75 sensors, to assign
distinct names to each instance.
Signed-off-by: Flaviu Nistor <flaviu.nistor@xxxxxxxxx>
---
Documentation/devicetree/bindings/hwmon/lm75.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
index 0b9fda81e3ec..cde6299c9b4f 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
+++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
@@ -87,6 +87,7 @@ examples:
compatible = "st,stlm75";
reg = <0x48>;
vs-supply = <&vs>;
+ label = "somelabel";
};
};
- |
@@ -101,5 +102,6 @@ examples:
vs-supply = <&vs>;
interrupt-parent = <&gpio1>;
interrupts = <17 IRQ_TYPE_EDGE_BOTH>;
+ label = "somelabel";
};
};
--
2.43.0