treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / adc / adc.txt
blob5bbaa330a2506f021b09db6e58462bd6adf2994b
1 Common ADCs properties
3 Optional properties for child nodes:
4 - bipolar : Boolean, if set the channel is used in bipolar mode.
5 - diff-channels : Differential channels muxed for this ADC. The first value
6                 specifies the positive input pin, the second value the negative
7                 input pin.
9 Example:
10         adc@0 {
11                 compatible = "some,adc";
12                 ...
13                 channel@0 {
14                         bipolar;
15                         diff-channels = <0 1>;
16                         ...
17                 };
19                 channel@1 {
20                         diff-channels = <2 3>;
21                         ...
22                 };
23         };