diff mbox series

dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts'

Message ID 20220719215152.1877776-1-robh@kernel.org
State Accepted, archived
Headers show
Series dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts' | 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 July 19, 2022, 9:51 p.m. UTC
'output-range-microvolts' is missing a type definition. '-microvolts' is
not a standard unit (should be '-microvolt'). As the property is already
in use, add a type reference.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring July 27, 2022, 2:51 p.m. UTC | #1
On Tue, 19 Jul 2022 15:51:52 -0600, Rob Herring wrote:
> 'output-range-microvolts' is missing a type definition. '-microvolts' is
> not a standard unit (should be '-microvolt'). As the property is already
> in use, add a type reference.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
index a8f7720d1e3e..29bd16dab546 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
@@ -22,6 +22,8 @@  properties:
       - adi,ad5767
 
   output-range-microvolts:
+    $ref: /schemas/types.yaml#/definitions/int32-array
+    maxItems: 2
     description: Select converter output range.
 
   reg: