[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221112164418.13a446c1@jic23-huawei>
Date: Sat, 12 Nov 2022 16:44:18 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: iio: dac: adi,ad5758: Drop 'contains' from
'adi,dc-dc-mode'
On Fri, 11 Nov 2022 15:28:46 -0600
Rob Herring <robh@...nel.org> wrote:
> 'contains' applies to arrays, but 'adi,dc-dc-mode' is a scalar. So drop
> 'contains' from the 'if' schema.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to poke at it.
Thanks,
Jonathan
> ---
> Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
> index e49e7556175d..4e508bfcc9d8 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
> @@ -102,8 +102,7 @@ allOf:
> - if:
> properties:
> adi,dc-dc-mode:
> - contains:
> - enum: [1, 3]
> + enum: [1, 3]
> then:
> properties:
> adi,range-microvolt: false
Powered by blists - more mailing lists