diff options
author | Yoshihiro Kaneko <[email protected]> | 2019-05-08 13:08:45 +0200 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2019-05-14 07:00:42 -0700 |
commit | 20386f0d84a22214d1f037dedfffb6709dd0117a (patch) | |
tree | 516f1cfa2790a0ff98c70afa8ee08c6dc0f8af25 /scripts/gdb/linux/utils.py | |
parent | bf45ac18b78038e43af3c1a273cae4ab5704d2ce (diff) |
thermal: rcar_thermal: update calculation formula for R-Car Gen3 SoCs
Update calculation for the R-Car Gen3 and RZ/G2 SoCs which have a
thermal IP block controlled by this driver. That is the:
* R-Car D3 (r8a77995)
* R-Car E2 (r8a77990)
* R-Car V3M (r8a77970)
* RZ/G2E (r8a774c0)
The calculation update is as documented in the R-Car Gen3 User's Manual,
v1.50 Nov 2018:
- When CTEMP is less than 24
T = CTEMP[5:0] * 5.5 - 72
- When CTEMP is equal to/greater than 24
T = CTEMP[5:0] * 5 - 60
This was inspired by a patch in the BSP by Van Do <[email protected]>
Signed-off-by: Yoshihiro Kaneko <[email protected]>
Tested-by: Simon Horman <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions