blob: c56fb35a2fb37246d4c0862a4e021deb7b53d7e2 [file] [log] [blame]
Mark Brown08bad5a2009-07-28 15:52:22 +01001Kernel driver wm831x-hwmon
2==========================
3
4Supported chips:
5 * Wolfson Microelectronics WM831x PMICs
Mauro Carvalho Chehab4f1158b2019-04-17 06:46:23 -03006
Mark Brown08bad5a2009-07-28 15:52:22 +01007 Prefix: 'wm831x'
Mauro Carvalho Chehab4f1158b2019-04-17 06:46:23 -03008
Mark Brown08bad5a2009-07-28 15:52:22 +01009 Datasheet:
Mauro Carvalho Chehab4f1158b2019-04-17 06:46:23 -030010
11 - http://www.wolfsonmicro.com/products/WM8310
12 - http://www.wolfsonmicro.com/products/WM8311
13 - http://www.wolfsonmicro.com/products/WM8312
Mark Brown08bad5a2009-07-28 15:52:22 +010014
15Authors: Mark Brown <broonie@opensource.wolfsonmicro.com>
16
17Description
18-----------
19
20The WM831x series of PMICs include an AUXADC which can be used to
21monitor a range of system operating parameters, including the voltages
22of the major supplies within the system. Currently the driver provides
23reporting of all the input values but does not provide any alarms.
24
25Voltage Monitoring
26------------------
27
Thomas Weber91fe4d52012-02-17 17:46:21 +010028Voltages are sampled by a 12 bit ADC. Voltages in millivolts are 1.465
Mark Brown08bad5a2009-07-28 15:52:22 +010029times the ADC value.
30
31Temperature Monitoring
32----------------------
33
34Temperatures are sampled by a 12 bit ADC. Chip and battery temperatures
35are available. The chip temperature is calculated as:
36
37 Degrees celsius = (512.18 - data) / 1.0983
38
39while the battery temperature calculation will depend on the NTC
40thermistor component.