summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/adc/mcp320x.txt
blob: 2a1f3af30155d0f3a88d0c20ab4fc6711ded2ad1 (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
30
31
* Microchip Analog to Digital Converter (ADC)

The node for this driver must be a child node of a SPI controller, hence
all mandatory properties described in

        Documentation/devicetree/bindings/spi/spi-bus.txt

must be specified.

Required properties:
	- compatible:  	Must be one of the following, depending on the
			model:
				"mcp3001"
				"mcp3002"
				"mcp3004"
				"mcp3008"
				"mcp3201"
				"mcp3202"
				"mcp3204"
				"mcp3208"
				"mcp3301"


Examples:
spi_controller {
	mcp3x0x@0 {
		compatible = "mcp3002";
		reg = <0>;
		spi-max-frequency = <1000000>;
	};
};