aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorFrank Wunderlich <[email protected]>2023-09-22 07:50:19 +0200
committerDaniel Lezcano <[email protected]>2023-10-15 23:40:09 +0200
commit6725a29321e48b1dece66fc1ba7b458f0c1d6d77 (patch)
treea22bf206470fcdc44df0ab219f9108a8c0e2fa81 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentbe2cc09bd5b46f13629d4fcdeac7ad1b18bb1a0b (diff)
thermal/drivers/mediatek/lvts_thermal: Make coeff configurable
The upcoming mt7988 has different temperature coefficients so we cannot use constants in the functions lvts_golden_temp_init, lvts_golden_temp_init and lvts_raw_to_temp anymore. Add a field in the lvts_ctrl pointing to the lvts_data which now contains the soc-specific temperature coefficents. To make the code better readable, rename static int coeff_b to golden_temp_offset, COEFF_A to temp_factor and COEFF_B to temp_offset. Signed-off-by: Frank Wunderlich <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Tested-by: Daniel Golle <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions