Re: [PATCH] dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type

From: Jonathan Cameron
Date: Sat Jan 28 2023 - 11:13:31 EST


On Wed, 25 Jan 2023 16:14:04 -0600
Rob Herring <robh@xxxxxxxxxx> wrote:

> 'semtech,resolution' is a single value, not an array.
>
> Note that it is also defined as a string in semtech,sx9310.yaml. Sigh.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Applied to the togreg branch of iio.git.

Thanks,

Jonathan

> ---
> .../devicetree/bindings/iio/proximity/semtech,sx9360.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> index f088c5d2be99..ad0bb44f41b6 100644
> --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> @@ -36,7 +36,7 @@ properties:
> const: 1
>
> semtech,resolution:
> - $ref: /schemas/types.yaml#/definitions/uint32-array
> + $ref: /schemas/types.yaml#/definitions/uint32
> enum: [8, 16, 32, 64, 128, 256, 512, 1024]
> description:
> Capacitance measurement resolution. For both phases, "reference" and