Based on kernel version 4.16.1. Page generated on 2018-04-09 11:53 EST.
1 Kernel driver twl4030-madc 2 ========================= 3 4 Supported chips: 5 * Texas Instruments TWL4030 6 Prefix: 'twl4030-madc' 7 8 9 Authors: 10 J Keerthy <j-keerthy@ti.com> 11 12 Description 13 ----------- 14 15 The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among 16 other things it contains a 10-bit A/D converter MADC. The converter has 16 17 channels which can be used in different modes. 18 19 20 See this table for the meaning of the different channels 21 22 Channel Signal 23 ------------------------------------------ 24 0 Battery type(BTYPE) 25 1 BCI: Battery temperature (BTEMP) 26 2 GP analog input 27 3 GP analog input 28 4 GP analog input 29 5 GP analog input 30 6 GP analog input 31 7 GP analog input 32 8 BCI: VBUS voltage(VBUS) 33 9 Backup Battery voltage (VBKP) 34 10 BCI: Battery charger current (ICHG) 35 11 BCI: Battery charger voltage (VCHG) 36 12 BCI: Main battery voltage (VBAT) 37 13 Reserved 38 14 Reserved 39 15 VRUSB Supply/Speaker left/Speaker right polarization level 40 41 42 The Sysfs nodes will represent the voltage in the units of mV, 43 the temperature channel shows the converted temperature in 44 degree Celsius. The Battery charging current channel represents 45 battery charging current in mA.