Commit 045ad733 authored by Naveen Krishna Chatradhi's avatar Naveen Krishna Chatradhi Committed by Guenter Roeck

hwmon: (amd_energy) Update driver documentation

Update the documentation with the newly added features
* Set the accumulation interval based on resolution
Signed-off-by: default avatarNaveen Krishna Chatradhi <nchatrad@amd.com>
Link: https://lore.kernel.org/r/20200929105322.8919-5-nchatrad@amd.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b75394c1
...@@ -84,6 +84,11 @@ per run to a respective 64-bit counter. The kernel thread starts ...@@ -84,6 +84,11 @@ per run to a respective 64-bit counter. The kernel thread starts
running during probe, wakes up every 100secs and stops running running during probe, wakes up every 100secs and stops running
when driver is removed. when driver is removed.
Frequency of the accumulator thread is set during the probe
based on the chosen energy unit resolution. For example
A. fine grain (1.625 micro J)
B. course grain (0.125 milli J)
A socket and core energy read would return the current register A socket and core energy read would return the current register
value added to the respective energy accumulator. value added to the respective energy accumulator.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment