0001 Kernel driver twl4030-madc
0002 ==========================
0003
0004 Supported chips:
0005
0006 * Texas Instruments TWL4030
0007
0008 Prefix: 'twl4030-madc'
0009
0010
0011 Authors:
0012 J Keerthy <j-keerthy@ti.com>
0013
0014 Description
0015 -----------
0016
0017 The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
0018 other things it contains a 10-bit A/D converter MADC. The converter has 16
0019 channels which can be used in different modes.
0020
0021
0022 See this table for the meaning of the different channels
0023
0024 ======= ==========================================================
0025 Channel Signal
0026 ======= ==========================================================
0027 0 Battery type(BTYPE)
0028 1 BCI: Battery temperature (BTEMP)
0029 2 GP analog input
0030 3 GP analog input
0031 4 GP analog input
0032 5 GP analog input
0033 6 GP analog input
0034 7 GP analog input
0035 8 BCI: VBUS voltage(VBUS)
0036 9 Backup Battery voltage (VBKP)
0037 10 BCI: Battery charger current (ICHG)
0038 11 BCI: Battery charger voltage (VCHG)
0039 12 BCI: Main battery voltage (VBAT)
0040 13 Reserved
0041 14 Reserved
0042 15 VRUSB Supply/Speaker left/Speaker right polarization level
0043 ======= ==========================================================
0044
0045
0046 The Sysfs nodes will represent the voltage in the units of mV,
0047 the temperature channel shows the converted temperature in
0048 degree Celsius. The Battery charging current channel represents
0049 battery charging current in mA.