Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver wm831x-hwmon
0002 ==========================
0003 
0004 Supported chips:
0005   * Wolfson Microelectronics WM831x PMICs
0006 
0007     Prefix: 'wm831x'
0008 
0009     Datasheet:
0010 
0011         - http://www.wolfsonmicro.com/products/WM8310
0012         - http://www.wolfsonmicro.com/products/WM8311
0013         - http://www.wolfsonmicro.com/products/WM8312
0014 
0015 Authors: Mark Brown <broonie@opensource.wolfsonmicro.com>
0016 
0017 Description
0018 -----------
0019 
0020 The WM831x series of PMICs include an AUXADC which can be used to
0021 monitor a range of system operating parameters, including the voltages
0022 of the major supplies within the system.  Currently the driver provides
0023 reporting of all the input values but does not provide any alarms.
0024 
0025 Voltage Monitoring
0026 ------------------
0027 
0028 Voltages are sampled by a 12 bit ADC.  Voltages in millivolts are 1.465
0029 times the ADC value.
0030 
0031 Temperature Monitoring
0032 ----------------------
0033 
0034 Temperatures are sampled by a 12 bit ADC.  Chip and battery temperatures
0035 are available.  The chip temperature is calculated as:
0036 
0037         Degrees celsius = (512.18 - data) / 1.0983
0038 
0039 while the battery temperature calculation will depend on the NTC
0040 thermistor component.