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

Rob Herring posted 1 patch 2 years, 7 months ago
.../devicetree/bindings/iio/proximity/semtech,sx9360.yaml       | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type
Posted by Rob Herring 2 years, 7 months ago
'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(-)

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
-- 
2.39.0
Re: [PATCH] dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type
Posted by Jonathan Cameron 2 years, 7 months ago
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