summaryrefslogtreecommitdiff
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorAdamski, Krzysztof (Nokia - PL/Wroclaw) <krzysztof.adamski@nokia.com>2019-04-15 00:58:40 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-04-16 03:19:53 +0300
commitbfe033a048f7ce486e01f3ef5a7a24618088af44 (patch)
tree767082215f03b7d0d677e286146ba54cf0b6734b /Documentation/hwmon
parent49c4455dccf241f537758a057861243f81e3ca5d (diff)
downloadlinux-bfe033a048f7ce486e01f3ef5a7a24618088af44.tar.xz
hwmon: Document the samples attributes
Document new ABI attributes: {in,power,curr,temp}_samples and samples. Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/sysfs-interface18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index 2b9e1005d88b..7b91706d01c8 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -756,6 +756,24 @@ intrusion[0-*]_beep
1: enable
RW
+********************************
+* Average sample configuration *
+********************************
+
+Devices allowing for reading {in,power,curr,temp}_average values may export
+attributes for controlling number of samples used to compute average.
+
+samples Sets number of average samples for all types of measurements.
+ RW
+
+in_samples
+power_samples
+curr_samples
+temp_samples Sets number of average samples for specific type of measurements.
+ Note that on some devices it won't be possible to set all of them
+ to different values so changing one might also change some others.
+ RW
+
sysfs attribute writes interpretation
-------------------------------------