2011-03-01 13:42:36 +00:00
|
|
|
Kernel driver twl4030-madc
|
2019-04-17 09:46:28 +00:00
|
|
|
==========================
|
2011-03-01 13:42:36 +00:00
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 09:46:28 +00:00
|
|
|
|
2011-03-01 13:42:36 +00:00
|
|
|
* Texas Instruments TWL4030
|
2019-04-17 09:46:28 +00:00
|
|
|
|
2011-03-01 13:42:36 +00:00
|
|
|
Prefix: 'twl4030-madc'
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
J Keerthy <j-keerthy@ti.com>
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
|
|
|
|
other things it contains a 10-bit A/D converter MADC. The converter has 16
|
|
|
|
channels which can be used in different modes.
|
|
|
|
|
|
|
|
|
|
|
|
See this table for the meaning of the different channels
|
|
|
|
|
2019-04-17 09:46:28 +00:00
|
|
|
======= ==========================================================
|
2011-03-01 13:42:36 +00:00
|
|
|
Channel Signal
|
2019-04-17 09:46:28 +00:00
|
|
|
======= ==========================================================
|
2011-03-01 13:42:36 +00:00
|
|
|
0 Battery type(BTYPE)
|
|
|
|
1 BCI: Battery temperature (BTEMP)
|
|
|
|
2 GP analog input
|
|
|
|
3 GP analog input
|
|
|
|
4 GP analog input
|
|
|
|
5 GP analog input
|
|
|
|
6 GP analog input
|
|
|
|
7 GP analog input
|
|
|
|
8 BCI: VBUS voltage(VBUS)
|
|
|
|
9 Backup Battery voltage (VBKP)
|
|
|
|
10 BCI: Battery charger current (ICHG)
|
|
|
|
11 BCI: Battery charger voltage (VCHG)
|
|
|
|
12 BCI: Main battery voltage (VBAT)
|
|
|
|
13 Reserved
|
|
|
|
14 Reserved
|
|
|
|
15 VRUSB Supply/Speaker left/Speaker right polarization level
|
2019-04-17 09:46:28 +00:00
|
|
|
======= ==========================================================
|
2011-03-01 13:42:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
The Sysfs nodes will represent the voltage in the units of mV,
|
|
|
|
the temperature channel shows the converted temperature in
|
2012-10-10 13:25:56 +00:00
|
|
|
degree Celsius. The Battery charging current channel represents
|
2011-03-01 13:42:36 +00:00
|
|
|
battery charging current in mA.
|