Re: [PATCH v3] thermal: qoriq: Update the settings for TMUv2

2020-05-25 Thread Daniel Lezcano
On 25/05/2020 09:21, Yuantian Tang wrote: > For TMU v2, TMSAR registers need to be set properly to get the > accurate temperature values. > Also the temperature read needs to be converted to degree Celsius > since it is in degrees Kelvin. > Signed-off-by: Yuantian Tang > --- [ ... ] > @@ -202,6

[PATCH v3] thermal: qoriq: Update the settings for TMUv2

2020-05-25 Thread Yuantian Tang
For TMU v2, TMSAR registers need to be set properly to get the accurate temperature values. Also the temperature read needs to be converted to degree Celsius since it is in degrees Kelvin. Signed-off-by: Yuantian Tang --- v3: - use kelvin_to_millicelsius() to convert the degree Kelvin d