devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type
@ 2023-01-25 22:14 Rob Herring
  2023-01-28 16:27 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2023-01-25 22:14 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Krzysztof Kozlowski,
	Gwendal Grignou, Daniel Campello
  Cc: linux-iio, devicetree, linux-kernel

'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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-28 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-25 22:14 [PATCH] dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type Rob Herring
2023-01-28 16:27 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).