diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2021-10-14 12:38:16 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-10-15 09:15:52 +0200 |
commit | c3131bd5586d3e8b67dc69516e1734a7a03e19d7 (patch) | |
tree | 0e6c5ec023cfc9f578c28fcc9c27bfa6c5cb55cc /tools/perf/scripts/python/libxed.py | |
parent | b8aaf1415a1bc3a61f870366b3f989b3bc3e2824 (diff) |
thermal: rcar_gen3_thermal: Read calibration from hardware
In production hardware the calibration values used to convert register
values to temperatures can be read from hardware. While pre-production
hardware still depends on pseudo values hard-coded in the driver.
Add support for reading out calibration values from hardware if it's
fused. The presence of fused calibration is indicated in the THSCP
register.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211014103816.1939782-3-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions