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