max1027-adc.txt 622 B

1234567891011121314151617181920
  1. * Maxim 1027/1029/1031 Analog to Digital Converter (ADC)
  2. Required properties:
  3. - compatible: Should be "maxim,max1027" or "maxim,max1029" or "maxim,max1031"
  4. - reg: SPI chip select number for the device
  5. - interrupts: IRQ line for the ADC
  6. see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  7. Recommended properties:
  8. - spi-max-frequency: Definition as per
  9. Documentation/devicetree/bindings/spi/spi-bus.txt
  10. Example:
  11. adc@0 {
  12. compatible = "maxim,max1027";
  13. reg = <0>;
  14. interrupt-parent = <&gpio5>;
  15. interrupts = <15 IRQ_TYPE_EDGE_RISING>;
  16. spi-max-frequency = <1000000>;
  17. };