hwmon: recognize frequencies

Discovered thanks to an RX 570, which can show sclk and mclk via /sys/class/hwmon.
This commit is contained in:
Anton Shestakov 2020-07-17 01:36:10 +08:00 committed by Lars Kruse
parent bd1302c3f2
commit ce29a0f7ae
1 changed files with 7 additions and 0 deletions

View File

@ -94,6 +94,13 @@ my %sensors = (
graph_args => "--base 1000 -l 0",
denominator => 1000000 # microWatts -> Watts
},
freq => {
inputs => [],
title => "Frequencies",
vlabel => "Hz",
graph_args => "--base 1000 -l 0",
denominator => 1
},
humidity => {
inputs => [],
title => "Humidity",