[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211221133339.66766-1-paul@crapouillou.net>
Date: Tue, 21 Dec 2021 13:33:39 +0000
From: Paul Cercueil <paul@...pouillou.net>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Guido Günther <agx@...xcpu.org>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Paul Cercueil <paul@...pouillou.net>
Subject: [PATCH v2] dt-bindings: iio: Document "label" property
Document the "label" property, which can contain a descriptive label
that allows to uniquely identify a device within the system.
Signed-off-by: Paul Cercueil <paul@...pouillou.net>
---
Notes:
v2: - Reword description and commit message
- Use > instead of | for proper multiline handling
Documentation/devicetree/bindings/iio/common.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/common.yaml b/Documentation/devicetree/bindings/iio/common.yaml
index f845b41d74c4..49f9f62dbb3e 100644
--- a/Documentation/devicetree/bindings/iio/common.yaml
+++ b/Documentation/devicetree/bindings/iio/common.yaml
@@ -32,6 +32,12 @@ properties:
considered 'near' to the device (an object is near to the
sensor).
+ label:
+ $ref: /schemas/types.yaml#/definitions/string
+ description: >
+ Optional descriptive label that allows to uniquely identify a device
+ within the system.
+
additionalProperties: true
...
--
2.34.1
Powered by blists - more mailing lists