[3/4] dt-bindings: Add optional label property for ina2xx
diff mbox series

Message ID 3c56deb8cc1842d2915b203e622be1eb442414de.1566310292.git.michal.simek@xilinx.com
State Not Applicable
Headers show
Series
  • iio: adc: ina2xx: Improve device identification
Related show

Checks

Context Check Description
robh/checkpatch success

Commit Message

Michal Simek Aug. 20, 2019, 2:11 p.m. UTC
Using optional "label" property is adding an option to user to use better
name for device identification.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 Documentation/devicetree/bindings/hwmon/ina2xx.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Aug. 27, 2019, 5:06 p.m. UTC | #1
On Tue, 20 Aug 2019 16:11:40 +0200, Michal Simek wrote:
> Using optional "label" property is adding an option to user to use better
> name for device identification.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
> 
>  Documentation/devicetree/bindings/hwmon/ina2xx.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/hwmon/ina2xx.txt b/Documentation/devicetree/bindings/hwmon/ina2xx.txt
index 02af0d94e921..d15bf7e46fd7 100644
--- a/Documentation/devicetree/bindings/hwmon/ina2xx.txt
+++ b/Documentation/devicetree/bindings/hwmon/ina2xx.txt
@@ -14,6 +14,8 @@  Optional properties:
 
 - shunt-resistor
 	Shunt resistor value in micro-Ohm
+- label
+	Symbolic name for a power monitor
 
 Example: