Merge tag 'sched-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / Documentation / hwmon / twl4030-madc-hwmon.rst
CommitLineData
0070bddf 1Kernel driver twl4030-madc
b04f2f7d 2==========================
0070bddf
K
3
4Supported chips:
b04f2f7d 5
0070bddf 6 * Texas Instruments TWL4030
b04f2f7d 7
0070bddf
K
8 Prefix: 'twl4030-madc'
9
10
11Authors:
12 J Keerthy <j-keerthy@ti.com>
13
14Description
15-----------
16
17The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
18other things it contains a 10-bit A/D converter MADC. The converter has 16
19channels which can be used in different modes.
20
21
22See this table for the meaning of the different channels
23
b04f2f7d 24======= ==========================================================
0070bddf 25Channel Signal
b04f2f7d 26======= ==========================================================
0070bddf
K
270 Battery type(BTYPE)
281 BCI: Battery temperature (BTEMP)
292 GP analog input
303 GP analog input
314 GP analog input
325 GP analog input
336 GP analog input
347 GP analog input
358 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 Reserved
4114 Reserved
4215 VRUSB Supply/Speaker left/Speaker right polarization level
b04f2f7d 43======= ==========================================================
0070bddf
K
44
45
46The Sysfs nodes will represent the voltage in the units of mV,
47the temperature channel shows the converted temperature in
4d7e47bc 48degree Celsius. The Battery charging current channel represents
0070bddf 49battery charging current in mA.