brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · c56fb35 Raw
41 lines · plain
1Kernel driver wm831x-hwmon2==========================3 4Supported chips:5  * Wolfson Microelectronics WM831x PMICs6 7    Prefix: 'wm831x'8 9    Datasheet:10 11	- http://www.wolfsonmicro.com/products/WM831012	- http://www.wolfsonmicro.com/products/WM831113	- http://www.wolfsonmicro.com/products/WM831214 15Authors: Mark Brown <broonie@opensource.wolfsonmicro.com>16 17Description18-----------19 20The WM831x series of PMICs include an AUXADC which can be used to21monitor a range of system operating parameters, including the voltages22of the major supplies within the system.  Currently the driver provides23reporting of all the input values but does not provide any alarms.24 25Voltage Monitoring26------------------27 28Voltages are sampled by a 12 bit ADC.  Voltages in millivolts are 1.46529times the ADC value.30 31Temperature Monitoring32----------------------33 34Temperatures are sampled by a 12 bit ADC.  Chip and battery temperatures35are available.  The chip temperature is calculated as:36 37	Degrees celsius = (512.18 - data) / 1.098338 39while the battery temperature calculation will depend on the NTC40thermistor component.41