hwmon: (pmbus) Introduce PMBUS_VIRT_*_SAMPLES registers
authorAdamski, Krzysztof (Nokia - PL/Wroclaw) <krzysztof.adamski@nokia.com>
Sun, 14 Apr 2019 21:58:18 +0000 (21:58 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit49c4455dccf241f537758a057861243f81e3ca5d
tree5bd7cc0e02a5e7ed8d093fd37bc57335b53548a9
parent8e742fc2e25ae6c2d2734a4656107ae745263794
hwmon: (pmbus) Introduce PMBUS_VIRT_*_SAMPLES registers

Those virtual registers can be used to export manufacturer specific
functionality for controlling the number of samples for average values
reported by the device.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus.h
drivers/hwmon/pmbus/pmbus_core.c