diff options
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/mcp320x.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/mcp320x.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/mcp320x.txt b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt new file mode 100644 index 000000000000..b85184391b78 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/mcp320x.txt | |||
@@ -0,0 +1,30 @@ | |||
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" | ||
21 | |||
22 | |||
23 | Examples: | ||
24 | spi_controller { | ||
25 | mcp3x0x@0 { | ||
26 | compatible = "mcp3002"; | ||
27 | reg = <0>; | ||
28 | spi-max-frequency = <1000000>; | ||
29 | }; | ||
30 | }; | ||