This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:tools-software:linux-drivers:iio-adc:ad400x [02 Nov 2018 09:47] – [Driver testing] Mircea Caprioru | resources:tools-software:linux-drivers:iio-adc:ad400x [14 Nov 2018 11:26] – [Status] Mircea Caprioru | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== AD4003/ | + | ====== AD4003/ |
===== Supported Devices ===== | ===== Supported Devices ===== | ||
Line 8: | Line 8: | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
+ | * [[adi> | ||
===== Evaluation Boards ===== | ===== Evaluation Boards ===== | ||
Line 20: | Line 21: | ||
^ Source ^ Mainlined? ^ | ^ Source ^ Mainlined? ^ | ||
- | | [[linux.github> | + | | [[linux.github> |
===== Files ===== | ===== Files ===== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | + | | driver |
- | | devicetree bindings | [[linux.github> | + | | devicetree bindings | [[linux.github> |
+ | |||
+ | ====== Driver setup ====== | ||
+ | Since AD4003/ | ||
+ | * [[resources: | ||
+ | * [[resources: | ||
+ | |||
+ | The device will interface with these components and follow the device tree bindings. | ||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | & | ||
+ | | ||
+ | | ||
+ | reg = < | ||
+ | # | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | # | ||
+ | # | ||
+ | |||
+ | | ||
+ | reg = < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | reg = < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | # | ||
+ | # | ||
+ | |||
+ | | ||
+ | | ||
+ | reg = < | ||
+ | | ||
+ | |||
+ | dmas = <& | ||
+ | | ||
+ | |||
+ | | ||
+ | # | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
====== Driver testing ====== | ====== Driver testing ====== | ||
Line 63: | Line 122: | ||
</ | </ | ||
+ | === Show device name === | ||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | root@analog:/ | ||
+ | ad4020 | ||
+ | </ | ||
+ | |||
+ | === Show channel scale === | ||
+ | |||
+ | **Description: | ||
+ | Scale to be applied to in_voltagex_raw in order to obdatin the measured voltage in millivolts | ||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | root@analog:/ | ||
+ | 0.002384185 | ||
+ | </ | ||
+ | |||
+ | ====== More Information ====== | ||
+ | {{page> |