Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: iio: Document "label" property
@ 2021-12-21 13:33 Paul Cercueil
  2021-12-22 18:37 ` Rob Herring
  2021-12-23 10:51 ` Paul Cercueil
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Cercueil @ 2021-12-21 13:33 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Guido Günther
  Cc: linux-iio, devicetree, linux-kernel, Paul Cercueil

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@crapouillou.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-23 10:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21 13:33 [PATCH v2] dt-bindings: iio: Document "label" property Paul Cercueil
2021-12-22 18:37 ` Rob Herring
2021-12-23 10:51 ` Paul Cercueil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox