the following patch was just integrated into master: commit 8be6759f79b033f4f87c49d340ee935e38b55f20 Author: Duncan Laurie dlaurie@chromium.org Date: Thu Jan 9 10:01:05 2014 -0800
chrome ec: Fix temperature calcualtion in PATx methods
The PATx methods will be passed a temperature in deci-kelvin, so it needs to be converted back to kelvin before being sent to the EC.
The PAT disable method is changed to take the temperature ID as an argument so individual sensors can be disabled.
BUG=chrome-os-partner:17279 BRANCH=rambi TEST=build and boot on rambi, load esif_lf kernel drivers and esif_uf userspace application. Start and stop DPTF and see that temperature thresholds are set to sane values.
Change-Id: Ieeff5a5d2d833042923c059caf3e5abaf392da95 Signed-off-by: Duncan Laurie dlaurie@chromium.org Reviewed-on: https://chromium-review.googlesource.com/182023 Reviewed-by: Aaron Durbin adurbin@chromium.org Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/5036 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki kyosti.malkki@gmail.com
See http://review.coreboot.org/5036 for details.
-gerrit