twl4030-madc-hwmon 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Kernel driver twl4030-madc
  2. =========================
  3. Supported chips:
  4. * Texas Instruments TWL4030
  5. Prefix: 'twl4030-madc'
  6. Authors:
  7. J Keerthy <j-keerthy@ti.com>
  8. Description
  9. -----------
  10. The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
  11. other things it contains a 10-bit A/D converter MADC. The converter has 16
  12. channels which can be used in different modes.
  13. See this table for the meaning of the different channels
  14. Channel Signal
  15. ------------------------------------------
  16. 0 Battery type(BTYPE)
  17. 1 BCI: Battery temperature (BTEMP)
  18. 2 GP analog input
  19. 3 GP analog input
  20. 4 GP analog input
  21. 5 GP analog input
  22. 6 GP analog input
  23. 7 GP analog input
  24. 8 BCI: VBUS voltage(VBUS)
  25. 9 Backup Battery voltage (VBKP)
  26. 10 BCI: Battery charger current (ICHG)
  27. 11 BCI: Battery charger voltage (VCHG)
  28. 12 BCI: Main battery voltage (VBAT)
  29. 13 Reserved
  30. 14 Reserved
  31. 15 VRUSB Supply/Speaker left/Speaker right polarization level
  32. The Sysfs nodes will represent the voltage in the units of mV,
  33. the temperature channel shows the converted temperature in
  34. degree Celsius. The Battery charging current channel represents
  35. battery charging current in mA.