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" (DEPRECATED)
14 "mcp3002" (DEPRECATED)
15 "mcp3004" (DEPRECATED)
16 "mcp3008" (DEPRECATED)
17 "mcp3201" (DEPRECATED)
18 "mcp3202" (DEPRECATED)
19 "mcp3204" (DEPRECATED)
20 "mcp3208" (DEPRECATED)
21 "mcp3301" (DEPRECATED)
22
23 "microchip,mcp3001"
24 "microchip,mcp3002"
25 "microchip,mcp3004"
26 "microchip,mcp3008"
27 "microchip,mcp3201"
28 "microchip,mcp3202"
29 "microchip,mcp3204"
30 "microchip,mcp3208"
31 "microchip,mcp3301"
32 "microchip,mcp3550-50"
33 "microchip,mcp3550-60"
34 "microchip,mcp3551"
35 "microchip,mcp3553"
36
37 NOTE: The use of the compatibles with no vendor prefix
38 is deprecated and only listed because old DT use them.
39
40 - spi-cpha, spi-cpol (boolean):
41 Either SPI mode (0,0) or (1,1) must be used, so specify
42 none or both of spi-cpha, spi-cpol. The MCP3550/1/3
43 is more efficient in mode (1,1) as only 3 instead of
44 4 bytes need to be read from the ADC, but not all SPI
45 masters support it.
46
47 - vref-supply: Phandle to the external reference voltage supply.
48
49 Examples:
50 spi_controller {
51 mcp3x0x@0 {
52 compatible = "microchip,mcp3002";
53 reg = <0>;
54 spi-max-frequency = <1000000>;
55 vref-supply = <&vref_reg>;
56 };
57 };
Cache object: 2bdd3c7f4939ffb77a81991ca566c808
|