Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (amd_energy) Update driver documentation

Update the documentation with the newly added features
* Set the accumulation interval based on resolution

Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Link: https://lore.kernel.org/r/20200929105322.8919-5-nchatrad@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Naveen Krishna Chatradhi and committed by
Guenter Roeck
045ad733 b75394c1

+5
+5
Documentation/hwmon/amd_energy.rst
··· 84 84 running during probe, wakes up every 100secs and stops running 85 85 when driver is removed. 86 86 87 + Frequency of the accumulator thread is set during the probe 88 + based on the chosen energy unit resolution. For example 89 + A. fine grain (1.625 micro J) 90 + B. course grain (0.125 milli J) 91 + 87 92 A socket and core energy read would return the current register 88 93 value added to the respective energy accumulator. 89 94