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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun,  7 May 2023 19:12:19 +0200
Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:

> Linux IIO core code parses label property which is already used in
> several IIO devices.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> ---
>  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.

Ah. I thought this as covered by the entry in dt-core.yaml

If not fair enough, though is this flexible enough to cover that it can
exist at device level and in a channel node?

If so lgtm

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> +
>    mount-matrix:
>      $ref: /schemas/types.yaml#/definitions/non-unique-string-array
>      minItems: 9




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux