Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / adc / mcp320x.txt
blobb85184391b7839df4425a9888a3acc448a9c4d0a
1 * Microchip Analog to Digital Converter (ADC)
3 The node for this driver must be a child node of a SPI controller, hence
4 all mandatory properties described in
6         Documentation/devicetree/bindings/spi/spi-bus.txt
8 must be specified.
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"
23 Examples:
24 spi_controller {
25         mcp3x0x@0 {
26                 compatible = "mcp3002";
27                 reg = <0>;
28                 spi-max-frequency = <1000000>;
29         };