mcp320x.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. * Microchip Analog to Digital Converter (ADC)
  2. The node for this driver must be a child node of a SPI controller, hence
  3. all mandatory properties described in
  4. Documentation/devicetree/bindings/spi/spi-bus.txt
  5. must be specified.
  6. Required properties:
  7. - compatible: Must be one of the following, depending on the
  8. model:
  9. "mcp3001" (DEPRECATED)
  10. "mcp3002" (DEPRECATED)
  11. "mcp3004" (DEPRECATED)
  12. "mcp3008" (DEPRECATED)
  13. "mcp3201" (DEPRECATED)
  14. "mcp3202" (DEPRECATED)
  15. "mcp3204" (DEPRECATED)
  16. "mcp3208" (DEPRECATED)
  17. "mcp3301" (DEPRECATED)
  18. "microchip,mcp3001"
  19. "microchip,mcp3002"
  20. "microchip,mcp3004"
  21. "microchip,mcp3008"
  22. "microchip,mcp3201"
  23. "microchip,mcp3202"
  24. "microchip,mcp3204"
  25. "microchip,mcp3208"
  26. "microchip,mcp3301"
  27. NOTE: The use of the compatibles with no vendor prefix
  28. is deprecated and only listed because old DT use them.
  29. Examples:
  30. spi_controller {
  31. mcp3x0x@0 {
  32. compatible = "mcp3002";
  33. reg = <0>;
  34. spi-max-frequency = <1000000>;
  35. };
  36. };