diff mbox series

dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type

Message ID 20230125221404.3057806-1-robh@kernel.org
State Not Applicable, archived
Headers show
Series dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Rob Herring Jan. 25, 2023, 10:14 p.m. UTC
'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@kernel.org>
---
 .../devicetree/bindings/iio/proximity/semtech,sx9360.yaml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron Jan. 28, 2023, 4:27 p.m. UTC | #1
On Wed, 25 Jan 2023 16:14:04 -0600
Rob Herring <robh@kernel.org> 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@kernel.org>

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
diff mbox series

Patch

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