[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240215-mbly-i2c-v1-3-19a336e91dca@bootlin.com>
Date: Thu, 15 Feb 2024 17:52:10 +0100
From: Théo Lebrun <theo.lebrun@...tlin.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Andi Shyti <andi.shyti@...nel.org>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org, Gregory Clement <gregory.clement@...tlin.com>,
Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Tawfik Bayouk <tawfik.bayouk@...ileye.com>,
Théo Lebrun <theo.lebrun@...tlin.com>,
Jean Delvare <jdelvare@...e.com>, Guenter Roeck <linux@...ck-us.net>,
linux-hwmon@...r.kernel.org
Subject: [PATCH 03/13] dt-bindings: hwmon: lm75: add label property
Declare optional label devicetree property. Show usage in one example
with dummy name.
To: Jean Delvare <jdelvare@...e.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: <linux-hwmon@...r.kernel.org>
Signed-off-by: Théo Lebrun <theo.lebrun@...tlin.com>
---
Documentation/devicetree/bindings/hwmon/lm75.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
index ed269e428a3d..5ca2c83b413d 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
+++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
@@ -52,6 +52,9 @@ properties:
interrupts:
maxItems: 1
+ label:
+ description: user-facing name of the hardware monitor
+
required:
- compatible
- reg
@@ -83,6 +86,7 @@ examples:
compatible = "st,stlm75";
reg = <0x48>;
vs-supply = <&vs>;
+ label = "CPU temp";
};
};
- |
--
2.43.1
Powered by blists - more mailing lists