Skip to content

Commit 121abb1

Browse files
amiclausnunojsa
authored andcommitted
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. Link: https://lore.kernel.org/all/20240729095047.25040-2-antoniu.miclaus@analog.com/ Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
1 parent b7484c9 commit 121abb1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ description: |
1717
applications.
1818
1919
https://www.analog.com/en/products/adf4377.html
20+
https://www.analog.com/en/products/adf4378.html
2021
2122
properties:
2223
compatible:
@@ -73,6 +74,15 @@ required:
7374

7475
allOf:
7576
- $ref: /schemas/spi/spi-peripheral-props.yaml#
77+
- if:
78+
properties:
79+
compatible:
80+
contains:
81+
enum:
82+
- adi,adf4378
83+
then:
84+
properties:
85+
clk2-enable-gpios: false
7686

7787
unevaluatedProperties: false
7888

0 commit comments

Comments
 (0)