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
11 - compatible: Must be one of the following, depending on the
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)
32 "microchip,mcp3550-50"
33 "microchip,mcp3550-60"
37 NOTE: The use of the compatibles with no vendor prefix
38 is deprecated and only listed because old DT use them.
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
47 - vref-supply: Phandle to the external reference voltage supply.
52 compatible = "microchip,mcp3002";
54 spi-max-frequency = <1000000>;
55 vref-supply = <&vref_reg>;