Commit bfe033a0 authored by Adamski, Krzysztof (Nokia - PL/Wroclaw)'s avatar Adamski, Krzysztof (Nokia - PL/Wroclaw) Committed by Guenter Roeck
Browse files

hwmon: Document the samples attributes



Document new ABI attributes: {in,power,curr,temp}_samples and samples.

Signed-off-by: default avatarKrzysztof Adamski <krzysztof.adamski@nokia.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 49c4455d
Loading
Loading
Loading
Loading
+18 −0
Original line number Original line Diff line number Diff line
@@ -756,6 +756,24 @@ intrusion[0-*]_beep
		1: enable
		1: enable
		RW
		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
sysfs attribute writes interpretation
-------------------------------------
-------------------------------------