RE: [PATCH] thermal: rcar_gen3_thermal: Fix coefficient calculations
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: 2021-06-07 01:27:36
Also in:
linux-renesas-soc
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: 2021-06-07 01:27:36
Also in:
linux-renesas-soc
Hi Niklas-san, Thank you for the patch!
From: Niklas Söderlund, Sent: Saturday, June 5, 2021 5:52 PM 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. Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
I think adding Fixes tag like below is useful for backporting to LTS.
Fixes: 4eb39f79ef44 ("thermal: rcar_gen3_thermal: Update value of Tj_1")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
After adding the Fixes tag, Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Best regards, Yoshihiro Shimoda