[dt-schema PATCH] schemas: iio: add label

Krzysztof Kozlowski
2023-05-07T17:12:30Z

Linux IIO core code parses label property which is already used in
several IIO devices.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
dtschema/schemas/iio/iio.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/dtschema/schemas/iio/iio.yaml b/dtschema/schemas/iio/iio.yaml
index 5ce5e147aef1..727ca0f9afec 100644
--- a/dtschema/schemas/iio/iio.yaml
+++ b/dtschema/schemas/iio/iio.yaml
@@ -30,6 +30,10 @@ properties:
with a single IIO output and 1 for nodes with multiple IIO outputs.
A few unusual devices have a 2 level mapping.

+ label:
+ description:
+ Unique name to identify which IIO channel or device this is.
+
mount-matrix:
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
minItems: 9
--
2.34.1