1
1
# SPDX-License-Identifier: GPL-2.0
2
+ # Copyright 2024 Analog Devices Inc.
2
3
%YAML 1.2
3
4
---
4
5
$id : http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml#
5
6
$schema : http://devicetree.org/meta-schemas/core.yaml#
6
7
7
- title : Analog Devices AD7768-1 ADC device driver
8
+ title : Analog Devices AD7768-1 ADC family device driver
8
9
9
10
maintainers :
10
11
-
Michael Hennerich <[email protected] >
12
+ -
Jonathan Santos <[email protected] >
11
13
12
14
description : |
13
- Datasheet at:
14
- https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
15
+ Analog Devices AD7768-1 24-Bit Single Channel Low Power sigma-delta ADC family
16
+
17
+ https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
18
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7767-1.pdf
19
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7768-1.pdf
20
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7769-1.pdf
15
21
16
22
properties :
17
23
compatible :
18
- const : adi,ad7768-1
24
+ enum :
25
+ - adi,ad7768-1
26
+ - adi,adaq7767-1
27
+ - adi,adaq7768-1
28
+ - adi,adaq7769-1
19
29
20
30
reg :
21
31
maxItems : 1
@@ -39,6 +49,27 @@ properties:
39
49
description :
40
50
ADC reference voltage supply
41
51
52
+ adi,low-latency :
53
+ description : |
54
+ Enables reaching the maximum data rate, using Sinc5 Dec8 filter.
55
+
56
+ 0 - Maximum sample rate of 512 KSPS. The user can select different filters,
57
+ except for the Sinc5 Dec8. Samples have 24-bit precision.
58
+ 1 - Sample rate is fixed at 1.024 MSPS. The filter is locked to Sinc5 Dec8,
59
+ and the user cannot choose another filter. Samples have 16-bit precision,
60
+ necessary for achieving the maximum sample rate.
61
+ enum : [0, 1]
62
+
63
+ adi,gain-milli :
64
+ description : |
65
+ Specifies the analog anti-aliasing filter (AAF) gain applied
66
+ to the ADC input, in milli-units. Required for ADAQ7767-1 and
67
+ ADAQ7769-1 devices, the gain is determined by the pin selection
68
+ (IN1, IN2, IN3) on the ADAQ7767-1 or the connections of OUT_PGA
69
+ with IN1_AAF, IN2_AAF, or IN3_AAF on the ADAQ7769-1.
70
+ $ref : /schemas/types.yaml#/definitions/uint16
71
+ enum : [143, 364, 1000]
72
+
42
73
adi,sync-in-gpios :
43
74
maxItems : 1
44
75
description :
@@ -66,6 +97,7 @@ required:
66
97
- spi-cpol
67
98
- spi-cpha
68
99
- adi,sync-in-gpios
100
+ - adi,low-latency
69
101
70
102
patternProperties :
71
103
" ^channel@([0-9]|1[0-5])$ " :
@@ -105,6 +137,7 @@ examples:
105
137
spi-max-frequency = <2000000>;
106
138
spi-cpol;
107
139
spi-cpha;
140
+ adi,low-latency = <0>
108
141
vref-supply = <&adc_vref>;
109
142
interrupts = <25 IRQ_TYPE_EDGE_RISING>;
110
143
interrupt-parent = <&gpio>;
0 commit comments