1Kernel driver twl4030-madc 2========================= 3 4Supported chips: 5 * Texas Instruments TWL4030 6 Prefix: 'twl4030-madc' 7 8 9Authors: 10 J Keerthy <j-keerthy@ti.com> 11 12Description 13----------- 14 15The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among 16other things it contains a 10-bit A/D converter MADC. The converter has 16 17channels which can be used in different modes. 18 19 20See this table for the meaning of the different channels 21 22Channel Signal 23------------------------------------------ 240 Battery type(BTYPE) 251 BCI: Battery temperature (BTEMP) 262 GP analog input 273 GP analog input 284 GP analog input 295 GP analog input 306 GP analog input 317 GP analog input 328 BCI: VBUS voltage(VBUS) 339 Backup Battery voltage (VBKP) 3410 BCI: Battery charger current (ICHG) 3511 BCI: Battery charger voltage (VCHG) 3612 BCI: Main battery voltage (VBAT) 3713 Reserved 3814 Reserved 3915 VRUSB Supply/Speaker left/Speaker right polarization level 40 41 42The Sysfs nodes will represent the voltage in the units of mV, 43the temperature channel shows the converted temperature in 44degree Celsius. The Battery charging current channel represents 45battery charging current in mA. 46