linux/Documentation/hwmon/twl4030-madc-hwmon.rst
<<
>>
Prefs
   1Kernel driver twl4030-madc
   2==========================
   3
   4Supported chips:
   5
   6        * Texas Instruments TWL4030
   7
   8        Prefix: 'twl4030-madc'
   9
  10
  11Authors:
  12        J Keerthy <j-keerthy@ti.com>
  13
  14Description
  15-----------
  16
  17The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
  18other things it contains a 10-bit A/D converter MADC. The converter has 16
  19channels which can be used in different modes.
  20
  21
  22See this table for the meaning of the different channels
  23
  24======= ==========================================================
  25Channel Signal
  26======= ==========================================================
  270       Battery type(BTYPE)
  281       BCI: Battery temperature (BTEMP)
  292       GP analog input
  303       GP analog input
  314       GP analog input
  325       GP analog input
  336       GP analog input
  347       GP analog input
  358       BCI: VBUS voltage(VBUS)
  369       Backup Battery voltage (VBKP)
  3710      BCI: Battery charger current (ICHG)
  3811      BCI: Battery charger voltage (VCHG)
  3912      BCI: Main battery voltage (VBAT)
  4013      Reserved
  4114      Reserved
  4215      VRUSB Supply/Speaker left/Speaker right polarization level
  43======= ==========================================================
  44
  45
  46The Sysfs nodes will represent the voltage in the units of mV,
  47the temperature channel shows the converted temperature in
  48degree Celsius. The Battery charging current channel represents
  49battery charging current in mA.
  50