Commit | Line | Data |
---|---|---|
ef64d3f7 SA |
1 | * Microchip Analog to Digital Converter (ADC) |
2 | ||
3 | The node for this driver must be a child node of a SPI controller, hence | |
4 | all mandatory properties described in | |
5 | ||
6 | Documentation/devicetree/bindings/spi/spi-bus.txt | |
7 | ||
8 | must be specified. | |
9 | ||
10 | Required properties: | |
11 | - compatible: Must be one of the following, depending on the | |
12 | model: | |
13 | "mcp3001" | |
14 | "mcp3002" | |
15 | "mcp3004" | |
16 | "mcp3008" | |
17 | "mcp3201" | |
18 | "mcp3202" | |
19 | "mcp3204" | |
20 | "mcp3208" | |
f686a36b | 21 | "mcp3301" |
ef64d3f7 SA |
22 | |
23 | ||
24 | Examples: | |
25 | spi_controller { | |
26 | mcp3x0x@0 { | |
27 | compatible = "mcp3002"; | |
28 | reg = <0>; | |
29 | spi-max-frequency = <1000000>; | |
30 | }; | |
31 | }; |