linux-kernel.vger.kernel.org archive mirror
 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

* Re: [PATCH v2] dt-bindings: iio: Document "label" property
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2021-12-22 18:37 UTC (permalink / raw)
  To: Paul Cercueil
  Cc: Jonathan Cameron, linux-kernel, Guido Günther,
	Lars-Peter Clausen, linux-iio, devicetree, Rob Herring

On Tue, 21 Dec 2021 13:33:39 +0000, Paul Cercueil wrote:
> 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(+)
> 

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

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

* Re: [PATCH v2] dt-bindings: iio: Document "label" property
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Cercueil @ 2021-12-23 10:51 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring, Guido Günther
  Cc: linux-iio, devicetree, linux-kernel

Jonathan:

Please ignore this patch for now - I will add a global definition in 
dtschema instead.

Cheers,
-Paul

Le mar., déc. 21 2021 at 13:33:39 +0000, Paul Cercueil 
<paul@crapouillou.net> a écrit :
> 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	[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;
as well as URLs for NNTP newsgroup(s).