aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoniu Miclaus <[email protected]>2024-07-29 12:50:43 +0300
committerJonathan Cameron <[email protected]>2024-08-03 10:13:44 +0100
commit87bcd0f949e33faeaaba6351db594c2feb6f2f00 (patch)
tree4d3be683cf440a7879faabd4b36815bda3cded6b
parentf38d4650b505d8cbe292e6a98b8653622a22ac2c (diff)
dt-bindings: iio: adf4377: add adf4378 support
The adf4378 provides only one output channel. Therefore there is only one gpio available to enable the output. Reflect that into the bindings using property conditions. Add product link for the adf4378. Signed-off-by: Antoniu Miclaus <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
index aa6a3193b4e0..5f950ee9aec7 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
@@ -17,6 +17,7 @@ description: |
applications.
https://www.analog.com/en/products/adf4377.html
+ https://www.analog.com/en/products/adf4378.html
properties:
compatible:
@@ -73,6 +74,15 @@ required:
allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - adi,adf4378
+ then:
+ properties:
+ clk2-enable-gpios: false
unevaluatedProperties: false