diff mbox series

[v4,1/3] dt-bindings: iio: adf4371: add refin mode

Message ID 20250109133707.3845-2-antoniu.miclaus@analog.com (mailing list archive)
State New
Headers show
Series ADF4371 refin mode and doubler support | expand

Commit Message

Antoniu Miclaus Jan. 9, 2025, 1:37 p.m. UTC
Add support for selecting between single-ended and differential
reference input.

By default the single-ended input is enabled.

Input frequency boundaries are change based on the mode selected
(single-ended/differential).

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
changes in v4:
 - add enum in clock-names to support both se and diff input.
 .../devicetree/bindings/iio/frequency/adf4371.yaml         | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
index 1cb2adaf66f9..9ad5b22c59d7 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
@@ -30,8 +30,11 @@  properties:
 
   clock-names:
     description:
-      Must be "clkin"
-    maxItems: 1
+      Must be "clkin" if the input reference is single ended or "clkin-diff"
+      if the input reference is differential. By default single ended input is
+      applied.
+    enum: [clkin, clkin-diff]
+    default: clkin
 
   adi,mute-till-lock-en:
     type: boolean