diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2021-06-05 10:52:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:05:57 +0200 |
commit | 804aabb509908f42d660e1dd02f973e8efd1b226 (patch) | |
tree | a7c1e06f7ffb1ba14223a310f42a75d01171a1b7 /samples/Kconfig | |
parent | dae777523234bc8ccd317a85c9ee634df659081d (diff) | |
download | kernel_replicant_linux-804aabb509908f42d660e1dd02f973e8efd1b226.tar.gz kernel_replicant_linux-804aabb509908f42d660e1dd02f973e8efd1b226.tar.bz2 kernel_replicant_linux-804aabb509908f42d660e1dd02f973e8efd1b226.zip |
thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
[ Upstream commit 8946187ab57ffd02088e50256c73dd31f49db06d ]
The fixed value of 157 used in the calculations are only correct for
M3-W, on other Gen3 SoC it should be 167. The constant can be derived
correctly from the static TJ_3 constant and the SoC specific TJ_1 value.
Update the calculation be correct on all Gen3 SoCs.
Fixes: 4eb39f79ef44 ("thermal: rcar_gen3_thermal: Update value of Tj_1")
Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210605085211.564909-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions