max1027-adc.txt 764 B

1234567891011121314151617181920212223
  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. - interrupt-parent: phandle to the parent interrupt controller
  6. see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  7. - interrupts: IRQ line for the ADC
  8. see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  9. Recommended properties:
  10. - spi-max-frequency: Definition as per
  11. Documentation/devicetree/bindings/spi/spi-bus.txt
  12. Example:
  13. adc@0 {
  14. compatible = "maxim,max1027";
  15. reg = <0>;
  16. interrupt-parent = <&gpio5>;
  17. interrupts = <15 IRQ_TYPE_EDGE_RISING>;
  18. spi-max-frequency = <1000000>;
  19. };