[PATCH v4 1/3] dt-bindings: iio: adf4371: add refin mode
From: Antoniu Miclaus
Date: Thu Jan 09 2025 - 08:41:56 EST
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@xxxxxxxxxx>
---
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 --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
--
2.47.1