@@ -48,6 +48,16 @@ properties:
48
48
description :
49
49
ADC reference voltage supply
50
50
51
+ adi,gain-milli :
52
+ description : |
53
+ Specifies the analog anti-aliasing filter (AAF) gain applied
54
+ to the ADC input, in milli-units. Required for ADAQ7767-1 and
55
+ ADAQ7769-1 devices, the gain is determined by the pin selection
56
+ (IN1, IN2, IN3) on the ADAQ7767-1 or the connections of OUT_PGA
57
+ with IN1_AAF, IN2_AAF, or IN3_AAF on the ADAQ7769-1.
58
+ $ref : /schemas/types.yaml#/definitions/uint16
59
+ enum : [143, 364, 1000]
60
+
51
61
adi,sync-in-gpios :
52
62
maxItems : 1
53
63
description :
@@ -56,6 +66,14 @@ properties:
56
66
in any way, for example if the filter decimation rate changes.
57
67
As the line is active low, it should be marked GPIO_ACTIVE_LOW.
58
68
69
+ adi,sync-in-spi :
70
+ description :
71
+ Enables synchronization of multiple devices over SPI. This property is
72
+ used when a signal synchronous to the base MCLK signal cannot be provided
73
+ via GPIO. It requires the SYNC_OUT pin to be connected to the SYNC_IN pin
74
+ on the ADC. In the case of multiple devices, the SYNC_OUT pin of one device
75
+ should be routed to the SYNC_IN pins of the other devices.
76
+
59
77
reset-gpios :
60
78
maxItems : 1
61
79
@@ -66,6 +84,20 @@ properties:
66
84
" #io-channel-cells " :
67
85
const : 1
68
86
87
+ allOf :
88
+ # Gain property only applies to ADAQ7767-1 and ADAQ7769-1 devices
89
+ - if :
90
+ properties :
91
+ compatible :
92
+ not :
93
+ contains :
94
+ enum :
95
+ - adi,adaq7767-1
96
+ - adi,adaq7769-1
97
+ then :
98
+ properties :
99
+ adi,gain-milli : false
100
+
69
101
required :
70
102
- compatible
71
103
- reg
@@ -74,7 +106,21 @@ required:
74
106
- vref-supply
75
107
- spi-cpol
76
108
- spi-cpha
77
- - adi,sync-in-gpios
109
+
110
+ allOf :
111
+ # adi,sync-in-gpios and adi,sync-in-spi are mutually exclusive (neither is also valid)
112
+ - if :
113
+ required :
114
+ - adi,sync-in-gpios
115
+ then :
116
+ properties :
117
+ adi,sync-in-spi : false
118
+ - if :
119
+ required :
120
+ - adi,sync-in-spi
121
+ then :
122
+ properties :
123
+ adi,sync-in-gpios : false
78
124
79
125
patternProperties :
80
126
" ^channel@([0-9]|1[0-5])$ " :
0 commit comments