vf610-adc.txt 777 B

12345678910111213141516171819202122
  1. Freescale vf610 Analog to Digital Converter bindings
  2. The devicetree bindings are for the new ADC driver written for
  3. vf610/i.MX6slx and upward SoCs from Freescale.
  4. Required properties:
  5. - compatible: Should contain "fsl,vf610-adc"
  6. - reg: Offset and length of the register set for the device
  7. - interrupts: Should contain the interrupt for the device
  8. - clocks: The clock is needed by the ADC controller, ADC clock source is ipg clock.
  9. - clock-names: Must contain "adc", matching entry in the clocks property.
  10. - vref-supply: The regulator supply ADC reference voltage.
  11. Example:
  12. adc0: adc@4003b000 {
  13. compatible = "fsl,vf610-adc";
  14. reg = <0x4003b000 0x1000>;
  15. interrupts = <0 53 0x04>;
  16. clocks = <&clks VF610_CLK_ADC0>;
  17. clock-names = "adc";
  18. vref-supply = <&reg_vcc_3v3_mcu>;
  19. };