commit | 5d9e8b3f809f1c12e32fea7061ad2319d2848600 | [log] [tgz] |
---|---|---|
author | Adamski, Krzysztof (Nokia - PL/Wroclaw) <krzysztof.adamski@nokia.com> | Sun Apr 14 21:59:19 2019 +0000 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Apr 15 17:19:53 2019 -0700 |
tree | 0e26a07d7d8cb5398f210ec9b95e4029772995ad | |
parent | bfe033a048f7ce486e01f3ef5a7a24618088af44 [diff] |
hwmon: (lm25066) Support SAMPLES_FOR_AVG register Manufacturer specific SAMPLES_FOR_AVG register allows setting the number of samples used in computing the average values (PMBUS_VIRT_READ_*_AVG). The number we write is an exponent of base 2 of the number of samples so for example writing 3 will result in 8 samples average. Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>