Skip to content

Commit c3e80d6

Browse files
dlechgastmaier
authored andcommitted
dt-bindings: iio: frequency: adf4371: fix dt_binding_check warnings
- Fix channel matching pattern. - Fix adi,power-up-frequency data type. - Remove unnecessary maxItems constraints. Signed-off-by: David Lechner <[email protected]> (cherry picked from commit d58704c)
1 parent d3aa53e commit c3e80d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/devicetree/bindings/iio/frequency/adf4371.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ properties:
112112
const: 1
113113

114114
patternProperties:
115-
"^channel@[01]$":
115+
"^channel@[0-3]$":
116116
type: object
117117
description: Represents the external channels which are connected to the device.
118118

@@ -129,15 +129,14 @@ patternProperties:
129129
If this property is specified, the output channel will be enabled.
130130
If left empty, the driver will initialize the defaults (RF8x, channel 0
131131
will be the only one enabled).
132-
maxItems: 1
133132
134133
adi,power-up-frequency:
134+
$ref: /schemas/types.yaml#/definitions/uint64
135135
description: |
136136
Set the frequency after power up for the channel. If this property is
137137
specified, it has to be in sync with the power up frequency set on the
138138
other channels. This limitation is due to the fact that all the channel
139139
frequencies are derived from the VCO fundamental frequency.
140-
maxItems: 1
141140
142141
required:
143142
- reg

0 commit comments

Comments
 (0)