Skip to contentSkip to conversation

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

PATCH Applied Rob Herring 2 participants 2 messages Jan 25, 2023 – Jan 28, 2023

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

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

'semtech,resolution' is a single value, not an array.

Note that it is also defined as a string in semtech,sx9310.yaml. Sigh.

---
 .../devicetree/bindings/iio/proximity/semtech,sx9360.yaml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml +1 -1
index f088c5d2be99..ad0bb44f41b6 100644
@@ -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
Signature · 1 line
2.39.0
maintainer Applied
#1 lore raw
Quoted 5 lines · On Wed, 25 Jan 2023 16:14:04 -0600 Rob Herring <[email protected]> wrote:

'semtech,resolution' is a single value, not an array.

Note that it is also defined as a string in semtech,sx9310.yaml. Sigh.

Applied to the togreg branch of iio.git.

Thanks,

Jonathan

Quoted 17 lines
---
 .../devicetree/bindings/iio/proximity/semtech,sx9360.yaml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml +1 -1
index f088c5d2be99..ad0bb44f41b6 100644
@@ -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