]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - Documentation/hwmon/mc13783-adc.rst
Merge tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-jammy-kernel.git] / Documentation / hwmon / mc13783-adc.rst
CommitLineData
93ee0a75
LF
1Kernel driver mc13783-adc
2=========================
3
4Supported chips:
b04f2f7d 5
3d13aa37 6 * Freescale MC13783
b04f2f7d 7
0c273215 8 Prefix: 'mc13783'
b04f2f7d 9
23d3f131 10 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13783.pdf
b04f2f7d 11
3d13aa37 12 * Freescale MC13892
b04f2f7d 13
0c273215 14 Prefix: 'mc13892'
b04f2f7d 15
23d3f131 16 Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13892.pdf
93ee0a75 17
b04f2f7d
MCC
18
19
93ee0a75 20Authors:
b04f2f7d
MCC
21
22 - Sascha Hauer <s.hauer@pengutronix.de>
23 - Luotao Fu <l.fu@pengutronix.de>
93ee0a75
LF
24
25Description
26-----------
27
0c273215
UKK
28The Freescale MC13783 and MC13892 are Power Management and Audio Circuits.
29Among other things they contain a 10-bit A/D converter. The converter has 16
30(MC13783) resp. 12 (MC13892) channels which can be used in different modes. The
31A/D converter has a resolution of 2.25mV.
93ee0a75 32
0c273215
UKK
33Some channels can be used as General Purpose inputs or in a dedicated mode with
34a chip internal scaling applied .
93ee0a75 35
0c273215
UKK
36Currently the driver only supports the Application Supply channel (BP / BPSNS),
37the General Purpose inputs and touchscreen.
93ee0a75 38
0c273215
UKK
39See the following tables for the meaning of the different channels and their
40chip internal scaling:
41
b04f2f7d
MCC
42- MC13783:
43
44======= =============================================== =============== =======
93ee0a75 45Channel Signal Input Range Scaling
b04f2f7d 46======= =============================================== =============== =======
93ee0a75
LF
470 Battery Voltage (BATT) 2.50 - 4.65V -2.40V
481 Battery Current (BATT - BATTISNS) -50 - 50 mV x20
492 Application Supply (BP) 2.50 - 4.65V -2.40V
503 Charger Voltage (CHRGRAW) 0 - 10V / /5
51 0 - 20V /10
0c273215 524 Charger Current (CHRGISNSP-CHRGISNSN) -0.25 - 0.25V x4
93ee0a75
LF
535 General Purpose ADIN5 / Battery Pack Thermistor 0 - 2.30V No
546 General Purpose ADIN6 / Backup Voltage (LICELL) 0 - 2.30V / No /
55 1.50 - 3.50V -1.20V
567 General Purpose ADIN7 / UID / Die Temperature 0 - 2.30V / No /
57 0 - 2.55V / x0.9 / No
588 General Purpose ADIN8 0 - 2.30V No
599 General Purpose ADIN9 0 - 2.30V No
6010 General Purpose ADIN10 0 - 2.30V No
6111 General Purpose ADIN11 0 - 2.30V No
6212 General Purpose TSX1 / Touchscreen X-plate 1 0 - 2.30V No
6313 General Purpose TSX2 / Touchscreen X-plate 2 0 - 2.30V No
6414 General Purpose TSY1 / Touchscreen Y-plate 1 0 - 2.30V No
6515 General Purpose TSY2 / Touchscreen Y-plate 2 0 - 2.30V No
b04f2f7d
MCC
66======= =============================================== =============== =======
67
68- MC13892:
0c273215 69
b04f2f7d 70======= =============================================== =============== =======
0c273215 71Channel Signal Input Range Scaling
b04f2f7d 72======= =============================================== =============== =======
0c273215
UKK
730 Battery Voltage (BATT) 0 - 4.8V /2
741 Battery Current (BATT - BATTISNSCC) -60 - 60 mV x20
752 Application Supply (BPSNS) 0 - 4.8V /2
763 Charger Voltage (CHRGRAW) 0 - 12V / /5
77 0 - 20V /10
784 Charger Current (CHRGISNS-BPSNS) / -0.3 - 0.3V / x4 /
79 Touchscreen X-plate 1 0 - 2.4V No
805 General Purpose ADIN5 / Battery Pack Thermistor 0 - 2.4V No
816 General Purpose ADIN6 / Backup Voltage (LICELL) 0 - 2.4V / No
82 Backup Voltage (LICELL) 0 - 3.6V x2/3
837 General Purpose ADIN7 / UID / Die Temperature 0 - 2.4V / No /
84 0 - 4.8V /2
8512 General Purpose TSX1 / Touchscreen X-plate 1 0 - 2.4V No
8613 General Purpose TSX2 / Touchscreen X-plate 2 0 - 2.4V No
8714 General Purpose TSY1 / Touchscreen Y-plate 1 0 - 2.4V No
8815 General Purpose TSY2 / Touchscreen Y-plate 2 0 - 2.4V No
b04f2f7d 89======= =============================================== =============== =======