public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: hwmon: lm75: Add label property
@ 2026-03-11 10:58 Flaviu Nistor
  2026-03-11 10:58 ` [PATCH 2/2] hwmon: lm75: Add support for label Flaviu Nistor
  2026-03-13 13:26 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add label property Krzysztof Kozlowski
  0 siblings, 2 replies; 7+ messages in thread
From: Flaviu Nistor @ 2026-03-11 10:58 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-hwmon, devicetree, linux-kernel, Flaviu Nistor

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@gmail.com>
---
 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


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

end of thread, other threads:[~2026-03-18 20:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 10:58 [PATCH 1/2] dt-bindings: hwmon: lm75: Add label property Flaviu Nistor
2026-03-11 10:58 ` [PATCH 2/2] hwmon: lm75: Add support for label Flaviu Nistor
2026-03-13 18:37   ` Guenter Roeck
2026-03-13 13:26 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add label property Krzysztof Kozlowski
2026-03-14  7:48   ` Flaviu Nistor
2026-03-14  8:50     ` Krzysztof Kozlowski
2026-03-18 20:03       ` Flaviu Nistor

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