[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230513191208.10ec3cf2@jic23-huawei>
Date: Sat, 13 May 2023 19:12:08 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [dt-schema PATCH] schemas: iio: add label
On Sun, 7 May 2023 19:12:19 +0200
Krzysztof Kozlowski <krzk@...nel.org> wrote:
> Linux IIO core code parses label property which is already used in
> several IIO devices.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.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.
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@...wei.com>
> +
> mount-matrix:
> $ref: /schemas/types.yaml#/definitions/non-unique-string-array
> minItems: 9
Powered by blists - more mailing lists