devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts'
@ 2022-07-19 21:51 Rob Herring
  2022-07-27 14:51 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-07-19 21:51 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Krzysztof Kozlowski, Cristian Pop
  Cc: linux-iio, devicetree, linux-kernel

'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(+)

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:
-- 
2.34.1


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

* Re: [PATCH] dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts'
  2022-07-19 21:51 [PATCH] dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts' Rob Herring
@ 2022-07-27 14:51 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-07-27 14:51 UTC (permalink / raw)
  To: Rob Herring
  Cc: Cristian Pop, Michael Hennerich, devicetree, linux-iio,
	Jonathan Cameron, Krzysztof Kozlowski, Lars-Peter Clausen,
	linux-kernel

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!

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

end of thread, other threads:[~2022-07-27 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19 21:51 [PATCH] dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts' Rob Herring
2022-07-27 14:51 ` Rob Herring

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).