From 1d6aeb85fd1af64d5f7c564c6709a1cf6daad5ee Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 27 Jan 2014 15:33:48 -0800 Subject: [PATCH] rambi: Set TSRx passive threshold to 60C To avoid throttling at low temps raise the passive threshold to 60C until things are better calibrated. Also add a dependency for the charger participant to the thermal relationship table so when it is enabled it will be used properly. BUG=chrome-os-partner:17279 BRANCH=rambi TEST=build and boot on rambi, start DPTF application Change-Id: I4b50eff6a019b1cab0c781962a94c069ddbf0727 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/184008 --- src/mainboard/google/rambi/acpi/dptf.asl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/rambi/acpi/dptf.asl b/src/mainboard/google/rambi/acpi/dptf.asl index afb20de14b..dd8ff76f67 100644 --- a/src/mainboard/google/rambi/acpi/dptf.asl +++ b/src/mainboard/google/rambi/acpi/dptf.asl @@ -1,16 +1,16 @@ #define DPTF_TSR0_SENSOR_ID 1 #define DPTF_TSR0_SENSOR_NAME "TMP432_Internal" -#define DPTF_TSR0_PASSIVE 40 +#define DPTF_TSR0_PASSIVE 60 #define DPTF_TSR0_CRITICAL 70 #define DPTF_TSR1_SENSOR_ID 2 #define DPTF_TSR1_SENSOR_NAME "TMP432_Power_top" -#define DPTF_TSR1_PASSIVE 45 +#define DPTF_TSR1_PASSIVE 60 #define DPTF_TSR1_CRITICAL 70 #define DPTF_TSR2_SENSOR_ID 3 #define DPTF_TSR2_SENSOR_NAME "TMP432_CPU_bottom" -#define DPTF_TSR2_PASSIVE 35 +#define DPTF_TSR2_PASSIVE 60 #define DPTF_TSR2_CRITICAL 70 #undef DPTF_ENABLE_CHARGER @@ -22,6 +22,11 @@ Name (DTRT, Package () { /* CPU Effect on Temp Sensor 0 */ Package () { \_SB.DPTF.TCPU, \_SB.DPTF.TSR0, 100, 50, 0, 0, 0, 0 }, +#ifdef DPTF_ENABLE_CHARGER + /* Charger Effect on Temp Sensor 1 */ + Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR1, 200, 50, 0, 0, 0, 0 }, +#endif + /* CPU Effect on Temp Sensor 1 */ Package () { \_SB.DPTF.TCPU, \_SB.DPTF.TSR1, 100, 50, 0, 0, 0, 0 },