soc/intel/common/dptf: Add method for temp conversion
commit84227611d5c06d1482097df6f954b03fa3043a74
authorDuncan Laurie <dlaurie@google.com>
Wed, 21 Nov 2018 01:22:24 +0000 (20 17:22 -0800)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 4 Dec 2018 10:19:57 +0000 (4 10:19 +0000)
tree664af0cbbecb774283bb1a5a8fe23a530521a50f
parentb94c867bb1dfcb0ec511e1cbe1f9bd5186e81385
soc/intel/common/dptf: Add method for temp conversion

Add a method to convert from 1/10 Kelvin to Celsius.  This
is useful for EC devices where the sensor temperature are
stored in Celsius instead of Kelvin.

Change-Id: I6b1154f5ba13416131a029966d6d5c1598904881
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/29758
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/common/acpi/dptf/dptf.asl