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>
This commit is contained in:
Adamski, Krzysztof (Nokia - PL/Wroclaw) 2019-04-14 21:58:18 +00:00 • committed by Guenter Roeck
commit 49c4455dcc
2 changed files with 125 additions and 0 deletions