Message ID | 20230125221404.3057806-1-robh@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | dt-bindings: iio/proximity: semtech,sx9360: Fix 'semtech,resolution' type | expand |
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 --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
'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(-)