aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2019-05-08 18:46:35 +0000
committerSudeep Holla <[email protected]>2019-06-12 11:29:51 +0000
commitac778e62634eee0685b622605b063a49edf2f2d1 (patch)
treee18d2d770df4a45f580d70dfb03ab4352bf4292b /tools/perf/scripts/python/mem-phys-addr.py
parentfirmware: arm_scmi: fetch and store sensor scale (diff)
downloadkernel-ac778e62634eee0685b622605b063a49edf2f2d1.tar.gz
kernel-ac778e62634eee0685b622605b063a49edf2f2d1.zip
hwmon: scmi: Scale values to target desired HWMON units
If the SCMI firmware implementation is reporting values in a scale that is different from the HWMON units, we need to scale up or down the value according to how far apart they are. Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> [sudeep.holla: added check of scale = 0 for early exit in scmi_hwmon_scale] Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions