2009-07-28 08:52:22 -06:00
|
|
|
Kernel driver wm831x-hwmon
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Supported chips:
|
|
|
|
* Wolfson Microelectronics WM831x PMICs
|
2019-04-17 03:46:23 -06:00
|
|
|
|
2009-07-28 08:52:22 -06:00
|
|
|
Prefix: 'wm831x'
|
2019-04-17 03:46:23 -06:00
|
|
|
|
2009-07-28 08:52:22 -06:00
|
|
|
Datasheet:
|
2019-04-17 03:46:23 -06:00
|
|
|
|
|
|
|
- http://www.wolfsonmicro.com/products/WM8310
|
|
|
|
- http://www.wolfsonmicro.com/products/WM8311
|
|
|
|
- http://www.wolfsonmicro.com/products/WM8312
|
2009-07-28 08:52:22 -06:00
|
|
|
|
|
|
|
Authors: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The WM831x series of PMICs include an AUXADC which can be used to
|
|
|
|
monitor a range of system operating parameters, including the voltages
|
|
|
|
of the major supplies within the system. Currently the driver provides
|
|
|
|
reporting of all the input values but does not provide any alarms.
|
|
|
|
|
|
|
|
Voltage Monitoring
|
|
|
|
------------------
|
|
|
|
|
2012-02-17 09:46:21 -07:00
|
|
|
Voltages are sampled by a 12 bit ADC. Voltages in millivolts are 1.465
|
2009-07-28 08:52:22 -06:00
|
|
|
times the ADC value.
|
|
|
|
|
|
|
|
Temperature Monitoring
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
Temperatures are sampled by a 12 bit ADC. Chip and battery temperatures
|
|
|
|
are available. The chip temperature is calculated as:
|
|
|
|
|
|
|
|
Degrees celsius = (512.18 - data) / 1.0983
|
|
|
|
|
|
|
|
while the battery temperature calculation will depend on the NTC
|
|
|
|
thermistor component.
|