@@ -24,7 +24,7 @@ Supported features
24
24
SPI wiring modes
25
25
----------------
26
26
27
- The driver currently supports two of the many possible SPI wiring configurations.
27
+ The driver currently supports three of the many possible SPI wiring configurations.
28
28
29
29
CS mode, 3-wire, without busy indicator
30
30
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -68,6 +68,27 @@ CS mode, 4-wire, without busy indicator
68
68
To select this mode in the device tree, omit the ``adi,spi-mode `` property and
69
69
provide the ``cnv-gpios `` property.
70
70
71
+ Chain mode, without busy indicator
72
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73
+
74
+ .. code-block ::
75
+
76
+ +-------------+
77
+ +-------------------------+--------------------| CS |
78
+ v v | |
79
+ +--------------------+ +--------------------+ | HOST |
80
+ | CNV | | CNV | | |
81
+ +--->| SDI AD7944 SDO |--->| SDI AD7944 SDO |-------->| SDI |
82
+ | | SCK | | SCK | | |
83
+ GND +--------------------+ +--------------------+ | |
84
+ ^ ^ | |
85
+ +-------------------------+--------------------| SCLK |
86
+ +-------------+
87
+
88
+ To select this mode in the device tree, set the ``adi,spi-mode `` property to
89
+ ``"chain" ``, add the ``spi-cs-high `` flag, add the ``#daisy-chained-devices ``
90
+ property, and omit the ``cnv-gpios `` property.
91
+
71
92
Reference voltage
72
93
-----------------
73
94
@@ -86,7 +107,6 @@ Unimplemented features
86
107
87
108
- ``BUSY `` indication
88
109
- ``TURBO `` mode
89
- - Daisy chain mode
90
110
91
111
92
112
Device attributes
@@ -108,6 +128,9 @@ AD7944 and AD7985 are pseudo-differential ADCs and have the following attributes
108
128
| ``in_voltage0_scale `` | Scale factor to convert raw value to mV. |
109
129
+---------------------------------------+--------------------------------------------------------------+
110
130
131
+ In "chain" mode, additional chips will appear as additional voltage input
132
+ channels, e.g. ``in_voltage1_raw ``.
133
+
111
134
Fully-differential ADCs
112
135
-----------------------
113
136
@@ -121,6 +144,9 @@ AD7986 is a fully-differential ADC and has the following attributes:
121
144
| ``in_voltage0-voltage1_scale `` | Scale factor to convert raw value to mV. |
122
145
+---------------------------------------+--------------------------------------------------------------+
123
146
147
+ In "chain" mode, additional chips will appear as additional voltage input
148
+ channels, e.g. ``in_voltage2-voltage3_raw ``.
149
+
124
150
125
151
Device buffers
126
152
==============
0 commit comments