rockchip-saradc.txt 970 B

12345678910111213141516171819202122232425
  1. Rockchip Successive Approximation Register (SAR) A/D Converter bindings
  2. Required properties:
  3. - compatible: Should be "rockchip,saradc" or "rockchip,rk3066-tsadc"
  4. - reg: physical base address of the controller and length of memory mapped
  5. region.
  6. - interrupts: The interrupt number to the cpu. The interrupt specifier format
  7. depends on the interrupt controller.
  8. - clocks: Must contain an entry for each entry in clock-names.
  9. - clock-names: Shall be "saradc" for the converter-clock, and "apb_pclk" for
  10. the peripheral clock.
  11. - vref-supply: The regulator supply ADC reference voltage.
  12. - #io-channel-cells: Should be 1, see ../iio-bindings.txt
  13. Example:
  14. saradc: saradc@2006c000 {
  15. compatible = "rockchip,saradc";
  16. reg = <0x2006c000 0x100>;
  17. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  18. clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
  19. clock-names = "saradc", "apb_pclk";
  20. #io-channel-cells = <1>;
  21. vref-supply = <&vcc18>;
  22. };