diff options
| author | Phil Reid <[email protected]> | 2019-09-19 22:36:07 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-10-05 15:56:27 +0100 |
| commit | dc7fe512d9667bce878797cd2fd39acec08232bb (patch) | |
| tree | 06d3302420d8c9527cfd5a638a1642fa941a9403 | |
| parent | 9318a9e547438078104b0e8557f76f0cb524c12e (diff) | |
dt-binding: iio: Add optional label property
This optional property defines a symbolic name for the device.
This helps to distinguish between more than one iio device
of the same type.
Suggested-by: Michal Simek <[email protected]>
Signed-off-by: Phil Reid <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/iio/iio-bindings.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/iio-bindings.txt b/Documentation/devicetree/bindings/iio/iio-bindings.txt index 68d6f8ce063b..af33267727f4 100644 --- a/Documentation/devicetree/bindings/iio/iio-bindings.txt +++ b/Documentation/devicetree/bindings/iio/iio-bindings.txt @@ -18,12 +18,17 @@ Required properties: with a single IIO output and 1 for nodes with multiple IIO outputs. +Optional properties: +label: A symbolic name for the device. + + Example for a simple configuration with no trigger: adc: voltage-sensor@35 { compatible = "maxim,max1139"; reg = <0x35>; #io-channel-cells = <1>; + label = "voltage_feedback_group1"; }; Example for a configuration with trigger: |