Skip to content

Commit c0f4cd6

Browse files
committed
dt-bindings: iio: adc: adi,ad9083: fix property types
Fix property types not matching the example or the kernel driver. Also fix a wrong name in required and remove an unspecified property in the example. Signed-off-by: David Lechner <[email protected]>
1 parent 87869f7 commit c0f4cd6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/devicetree/bindings/iio/adc/adi,ad9083.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ properties:
4040

4141
jesd204-inputs:
4242
description: JESD204-fsm devices phandles and specifiers (used to build the link topology)
43-
$ref: /schemas/types.yaml#/definitions/phandle
43+
$ref: /schemas/types.yaml#/definitions/phandle-array
44+
maxItems: 1
4445

4546
spi-max-frequency:
4647
const: 1000000
@@ -143,41 +144,41 @@ properties:
143144

144145
adi,octets-per-frame:
145146
description: Number of octets per frame (F)
146-
$ref: /schemas/types.yaml#/definitions/uint8
147+
$ref: /schemas/types.yaml#/definitions/uint32
147148

148149
adi,frames-per-multiframe:
149150
description: Number of frames per multi-frame (K)
150-
$ref: /schemas/types.yaml#/definitions/uint16
151+
$ref: /schemas/types.yaml#/definitions/uint32
151152

152153
adi,converter-resolution:
153154
description: Converter resolution (N)
154-
$ref: /schemas/types.yaml#/definitions/uint8
155+
$ref: /schemas/types.yaml#/definitions/uint32
155156

156157
adi,bits-per-sample:
157158
description: Number of bits per sample (N')
158-
$ref: /schemas/types.yaml#/definitions/uint8
159+
$ref: /schemas/types.yaml#/definitions/uint32
159160

160161
adi,converters-per-device:
161162
description: Number of converter per device (M)
162-
$ref: /schemas/types.yaml#/definitions/uint8
163+
$ref: /schemas/types.yaml#/definitions/uint32
163164

164165
adi,control-bits-per-sample:
165166
description: Number of control bits per conversion sample (CS)
166-
$ref: /schemas/types.yaml#/definitions/uint8
167+
$ref: /schemas/types.yaml#/definitions/uint32
167168

168169
adi,lanes-per-device:
169170
description: Number of lanes per link (L)
170-
$ref: /schemas/types.yaml#/definitions/uint8
171+
$ref: /schemas/types.yaml#/definitions/uint32
171172

172173
adi,subclass:
173174
description: The JESD204B sublcass
174-
$ref: /schemas/types.yaml#/definitions/uint8
175+
$ref: /schemas/types.yaml#/definitions/uint32
175176

176177
required:
177178
- compatible
178179
- reg
179180
- jesd204-device
180-
- '#jesd-cells'
181+
- '#jesd204-cells'
181182
- jesd204-top-device
182183
- jesd204-link-ids
183184
- jesd204-inputs
@@ -206,7 +207,6 @@ examples:
206207
spi-max-frequency = <1000000>;
207208
clocks = <&ad9528 13>;
208209
clock-names = "adc_ref_clk";
209-
adi,sampling-frequency-hz = /bits/ 64 <125000000>;
210210
211211
/* adi_ad9083 config */
212212

0 commit comments

Comments
 (0)