summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/adc.txt
blob: 4b37575bbddc511ea926ae0e9571dde7ae985987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Common ADCs properties

Optional properties for child nodes:
- bipolar : Boolean, if set the channel is used in bipolar mode.
- diff-channels : Differential channels muxed for this ADC. The first value
		specifies the positive input pin, the second value the negative
		input pin.
- reg: The channel number.
- label: Unique name to identify which channel this is.

Example:
	adc@0 {
		compatible = "some,adc";
		...
		channel@0 {
			reg = <0>;
			label = "channel_0_name";
			bipolar;
			diff-channels = <0 1>;
			...
		};

		channel@1 {
			reg = <1>;
			label = "channel_1_name";
			diff-channels = <2 3>;
			...
		};
	};