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

2020-05-26 Thread Daniel Lezcano
On 26/05/2020 08:02, 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 Applied, thanks! --

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

2020-05-26 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 --- v4: - replace the hard-coded number with constant variables