helios: Add TEMP_SENSOR4 to DPTF

Helios adds TEMP_SENSOR4 to the EC ADC2 pin. Add this to
the DPTF.

BRANCH=None
BUG=b:142266102
TEST=`emerge-hatch coreboot`
Verify that Helios builds correctly.

Change-Id: I3bc19f9b9bd644e134987749ad9a4d875ad8b40a
Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35920
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
Paul Fagerburg 2019-10-09 10:28:05 -06:00 committed by Shelley Chen
parent 1425441ce4
commit ae1e14e438
1 changed files with 18 additions and 0 deletions

View File

@ -54,6 +54,17 @@
#define DPTF_TSR2_ACTIVE_AC4 40
#define DPTF_TSR2_ACTIVE_AC5 38
#define DPTF_TSR3_SENSOR_ID 3
#define DPTF_TSR3_SENSOR_NAME "CPU"
#define DPTF_TSR3_PASSIVE 85
#define DPTF_TSR3_CRITICAL 100
#define DPTF_TSR3_ACTIVE_AC0 0
#define DPTF_TSR3_ACTIVE_AC1 0
#define DPTF_TSR3_ACTIVE_AC2 0
#define DPTF_TSR3_ACTIVE_AC3 0
#define DPTF_TSR3_ACTIVE_AC4 0
#define DPTF_TSR3_ACTIVE_AC5 0
#define DPTF_ENABLE_CHARGER
#define DPTF_ENABLE_FAN_CONTROL
@ -107,6 +118,10 @@ Name (DART, Package () {
Package () {
\_SB.DPTF.TFN1, \_SB.DPTF.TSR2, 100, 90, 69, 56, 46, 36, 30, 0,
0, 0, 0
},
Package () {
\_SB.DPTF.TFN1, \_SB.DPTF.TSR3, 100, 90, 69, 56, 46, 36, 30, 0,
0, 0, 0
}
})
@ -122,6 +137,9 @@ Name (DTRT, Package () {
/* CPU Throttle Effect on TSR2 */
Package () { \_SB.PCI0.TCPU, \_SB.DPTF.TSR2, 100, 60, 0, 0, 0, 0 },
/* CPU Throttle Effect on TSR3 */
Package () { \_SB.PCI0.TCPU, \_SB.DPTF.TSR3, 100, 60, 0, 0, 0, 0 },
})
Name (MPPC, Package ()