Skip to content
Commit bdc4480a authored by Yoshihiro Kaneko's avatar Yoshihiro Kaneko Committed by Eduardo Valentin
Browse files

thermal: rcar_gen3_thermal: Update calculation formula of IRQTEMP



Update the formula to calculate CTEMP:
Currently, the CTEMP is average of val1 (is calculated by
formula 1) and val2 (is calculated by formula 2). But,
as description in HWM (chapter 10A.3.1.1 Setting of Normal Mode)

If (STEMP < Tj_T) CTEMP value should be val1.
If (STEMP > Tj_T) CTEMP value should be val2.

Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 4eb39f79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment