50 lines · plain
1Kernel driver twl4030-madc2==========================3 4Supported chips:5 6 * Texas Instruments TWL40307 8 Prefix: 'twl4030-madc'9 10 11Authors:12 J Keerthy <j-keerthy@ti.com>13 14Description15-----------16 17The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among18other things it contains a 10-bit A/D converter MADC. The converter has 1619channels which can be used in different modes.20 21 22See this table for the meaning of the different channels23 24======= ==========================================================25Channel Signal26======= ==========================================================270 Battery type(BTYPE)281 BCI: Battery temperature (BTEMP)292 GP analog input303 GP analog input314 GP analog input325 GP analog input336 GP analog input347 GP analog input358 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 Reserved4114 Reserved4215 VRUSB Supply/Speaker left/Speaker right polarization level43======= ==========================================================44 45 46The Sysfs nodes will represent the voltage in the units of mV,47the temperature channel shows the converted temperature in48degree Celsius. The Battery charging current channel represents49battery charging current in mA.50