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