axp20x_adc.txt 690 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. * X-Powers AXP ADC bindings
  2. Required properties:
  3. - compatible: should be one of:
  4. - "x-powers,axp209-adc",
  5. - "x-powers,axp221-adc",
  6. - "x-powers,axp813-adc",
  7. - #io-channel-cells: should be 1,
  8. Example:
  9. &axp22x {
  10. adc {
  11. compatible = "x-powers,axp221-adc";
  12. #io-channel-cells = <1>;
  13. };
  14. };
  15. ADC channels and their indexes per variant:
  16. AXP209
  17. ------
  18. 0 | acin_v
  19. 1 | acin_i
  20. 2 | vbus_v
  21. 3 | vbus_i
  22. 4 | pmic_temp
  23. 5 | gpio0_v
  24. 6 | gpio1_v
  25. 7 | ipsout_v
  26. 8 | batt_v
  27. 9 | batt_chrg_i
  28. 10 | batt_dischrg_i
  29. AXP22x
  30. ------
  31. 0 | pmic_temp
  32. 1 | batt_v
  33. 2 | batt_chrg_i
  34. 3 | batt_dischrg_i
  35. AXP813
  36. ------
  37. 0 | pmic_temp
  38. 1 | gpio0_v
  39. 2 | batt_v
  40. 3 | batt_chrg_i
  41. 4 | batt_dischrg_i