commit | a9fae794e4c581bbe460106609ce88dec8b00973 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Mon Jul 16 16:41:49 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Fri Jul 27 14:43:06 2018 -0700 |
tree | 274d2c95a9bd9a24dabbd00ea5530c020f893380 | |
parent | 5b5e17a182e14316ab4369fd9e8173207cf42130 [diff] |
thermal: armada: average over samples to avoid glitches Configure the sample frequency and number of averaged samples. This is needed for two reasons: 1/ To be bootloader independent. 2/ To prepare the introduction of multi-sensors support by preventing inconsistencies when reading temperatures that could be a mean of samples took from different sensors. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>