summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/hatch')
-rw-r--r--src/mainboard/google/hatch/variants/dratini/include/variant/acpi/dptf.asl35
-rw-r--r--src/mainboard/google/hatch/variants/dratini/overridetree.cb2
2 files changed, 26 insertions, 11 deletions
diff --git a/src/mainboard/google/hatch/variants/dratini/include/variant/acpi/dptf.asl b/src/mainboard/google/hatch/variants/dratini/include/variant/acpi/dptf.asl
index 0281913ee1..21498b9d73 100644
--- a/src/mainboard/google/hatch/variants/dratini/include/variant/acpi/dptf.asl
+++ b/src/mainboard/google/hatch/variants/dratini/include/variant/acpi/dptf.asl
@@ -38,6 +38,11 @@
#define DPTF_TSR1_ACTIVE_AC5 36
#define DPTF_TSR1_ACTIVE_AC6 33
+#define DPTF_TSR2_SENSOR_ID 2
+#define DPTF_TSR2_SENSOR_NAME "Thermal Sensor - CPU"
+#define DPTF_TSR2_PASSIVE 105
+#define DPTF_TSR2_CRITICAL 105
+
#define DPTF_ENABLE_CHARGER
#define DPTF_ENABLE_FAN_CONTROL
@@ -57,15 +62,15 @@ Name (DFPS, Package () {
* These are initial reference values.
*/
/* Control, Trip Point, Speed, NoiseLevel, Power */
- Package () {90, 0xFFFFFFFF, 6700, 220, 2200},
- Package () {80, 0xFFFFFFFF, 5800, 180, 1800},
- Package () {70, 0xFFFFFFFF, 5000, 145, 1450},
- Package () {60, 0xFFFFFFFF, 4900, 115, 1150},
- Package () {50, 0xFFFFFFFF, 3838, 90, 900},
- Package () {40, 0xFFFFFFFF, 2904, 55, 550},
- Package () {30, 0xFFFFFFFF, 2337, 30, 300},
- Package () {20, 0xFFFFFFFF, 1608, 15, 150},
- Package () {10, 0xFFFFFFFF, 800, 10, 100},
+ Package () {100, 0xFFFFFFFF, 6700, 220, 2200},
+ Package () {90, 0xFFFFFFFF, 5800, 180, 1800},
+ Package () {80, 0xFFFFFFFF, 5000, 145, 1450},
+ Package () {70, 0xFFFFFFFF, 4900, 115, 1150},
+ Package () {63, 0xFFFFFFFF, 3838, 90, 900},
+ Package () {58, 0xFFFFFFFF, 2904, 55, 550},
+ Package () {54, 0xFFFFFFFF, 2337, 30, 300},
+ Package () {50, 0xFFFFFFFF, 1608, 15, 150},
+ Package () {45, 0xFFFFFFFF, 800, 10, 100},
Package () {0, 0xFFFFFFFF, 0, 0, 50}
})
@@ -84,6 +89,11 @@ Name (DART, Package () {
\_SB.DPTF.TFN1, \_SB.DPTF.TSR1, 100, 100, 80, 70, 60, 50, 40, 30,
0, 0, 0
},
+ Package () {
+ \_SB.DPTF.TFN1, \_SB.DPTF.TSR2, 100, 100, 80, 70, 60, 50, 40, 30,
+ 0, 0, 0
+ },
+
})
Name (DTRT, Package () {
@@ -96,6 +106,9 @@ Name (DTRT, Package () {
/* CPU Throttle Effect on CPU (TSR1) */
Package () { \_SB.PCI0.TCPU, \_SB.DPTF.TSR1, 100, 60, 0, 0, 0, 0 },
+ /* CPU Throttle Effect on CPU (TSR2) */
+ Package () { \_SB.PCI0.TCPU, \_SB.DPTF.TSR2, 100, 60, 0, 0, 0, 0 },
+
})
Name (MPPC, Package ()
@@ -112,8 +125,8 @@ Name (MPPC, Package ()
Package () { /* Power Limit 2 */
1, /* PowerLimitIndex, 1 for Power Limit 2 */
15000, /* PowerLimitMinimum */
- 25000, /* PowerLimitMaximum */
- 28000, /* TimeWindowMinimum */
+ 51000, /* PowerLimitMaximum */
+ 51000, /* TimeWindowMinimum */
32000, /* TimeWindowMaximum */
1000 /* StepSize */
}
diff --git a/src/mainboard/google/hatch/variants/dratini/overridetree.cb b/src/mainboard/google/hatch/variants/dratini/overridetree.cb
index c6a9ed70e3..f820629198 100644
--- a/src/mainboard/google/hatch/variants/dratini/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/dratini/overridetree.cb
@@ -1,4 +1,6 @@
chip soc/intel/cannonlake
+ register "tdp_pl1_override" = "15"
+ register "tdp_pl2_override" = "51"
register "SerialIoDevMode" = "{
[PchSerialIoIndexI2C0] = PchSerialIoPci,