sprd,sc27xx-adc.txt 944 B

123456789101112131415161718192021222324252627282930313233343536
  1. Spreadtrum SC27XX series PMICs ADC binding
  2. Required properties:
  3. - compatible: Should be one of the following.
  4. "sprd,sc2720-adc"
  5. "sprd,sc2721-adc"
  6. "sprd,sc2723-adc"
  7. "sprd,sc2730-adc"
  8. "sprd,sc2731-adc"
  9. - reg: The address offset of ADC controller.
  10. - interrupt-parent: The interrupt controller.
  11. - interrupts: The interrupt number for the ADC device.
  12. - #io-channel-cells: Number of cells in an IIO specifier.
  13. - hwlocks: Reference to a phandle of a hwlock provider node.
  14. Example:
  15. sc2731_pmic: pmic@0 {
  16. compatible = "sprd,sc2731";
  17. reg = <0>;
  18. spi-max-frequency = <26000000>;
  19. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  20. interrupt-controller;
  21. #interrupt-cells = <2>;
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. pmic_adc: adc@480 {
  25. compatible = "sprd,sc2731-adc";
  26. reg = <0x480>;
  27. interrupt-parent = <&sc2731_pmic>;
  28. interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
  29. #io-channel-cells = <1>;
  30. hwlocks = <&hwlock 4>;
  31. };
  32. };