summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/hwmon.c
diff options
context:
space:
mode:
authorAdamski, Krzysztof (Nokia - PL/Wroclaw) <krzysztof.adamski@nokia.com>2019-04-14 21:59:19 +0000
committerGuenter Roeck <linux@roeck-us.net>2019-04-15 17:19:53 -0700
commit5d9e8b3f809f1c12e32fea7061ad2319d2848600 (patch)
tree0e26a07d7d8cb5398f210ec9b95e4029772995ad /drivers/hwmon/hwmon.c
parentbfe033a048f7ce486e01f3ef5a7a24618088af44 (diff)
downloadlinux-stable-5d9e8b3f809f1c12e32fea7061ad2319d2848600.tar.gz
linux-stable-5d9e8b3f809f1c12e32fea7061ad2319d2848600.tar.bz2
linux-stable-5d9e8b3f809f1c12e32fea7061ad2319d2848600.zip
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>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions