twl4030-madc-hwmon.rst 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Kernel driver twl4030-madc
  2. ==========================
  3. Supported chips:
  4. * Texas Instruments TWL4030
  5. Prefix: 'twl4030-madc'
  6. Authors:
  7. J Keerthy <[email protected]>
  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. ======= ==========================================================
  15. Channel Signal
  16. ======= ==========================================================
  17. 0 Battery type(BTYPE)
  18. 1 BCI: Battery temperature (BTEMP)
  19. 2 GP analog input
  20. 3 GP analog input
  21. 4 GP analog input
  22. 5 GP analog input
  23. 6 GP analog input
  24. 7 GP analog input
  25. 8 BCI: VBUS voltage(VBUS)
  26. 9 Backup Battery voltage (VBKP)
  27. 10 BCI: Battery charger current (ICHG)
  28. 11 BCI: Battery charger voltage (VCHG)
  29. 12 BCI: Main battery voltage (VBAT)
  30. 13 Reserved
  31. 14 Reserved
  32. 15 VRUSB Supply/Speaker left/Speaker right polarization level
  33. ======= ==========================================================
  34. The Sysfs nodes will represent the voltage in the units of mV,
  35. the temperature channel shows the converted temperature in
  36. degree Celsius. The Battery charging current channel represents
  37. battery charging current in mA.