2 * This file is part of the coreboot project.
4 * Copyright (C) 2012 Google Inc.
5 * Copyright (C) 2105 Intel Corp.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #define DPTF_TSR0_SENSOR_ID 0
18 #define DPTF_TSR0_SENSOR_NAME "TMP432_Internal"
19 #define DPTF_TSR0_PASSIVE 48
20 #define DPTF_TSR0_CRITICAL 70
23 #define DPTF_TSR1_SENSOR_ID 1
24 #define DPTF_TSR1_SENSOR_NAME "TMP432_Power_top"
25 #define DPTF_TSR1_PASSIVE 60
26 #define DPTF_TSR1_CRITICAL 70
28 #define DPTF_TSR2_SENSOR_ID 2
29 #define DPTF_TSR2_SENSOR_NAME "TMP432_CPU_bottom"
30 #define DPTF_TSR2_PASSIVE 55
31 #define DPTF_TSR2_CRITICAL 70
34 #define DPTF_ENABLE_CHARGER
36 /* Charger performance states, board-specific values from charger and EC */
37 Name (CHPS, Package () {
38 Package () { 0, 0, 0, 0, 255, 0x400, "mA", 0 }, /* 1.0A (MAX) */
39 Package () { 0, 0, 0, 0, 12, 0x300, "mA", 0 }, /* 0.77A */
40 Package () { 0, 0, 0, 0, 8, 0x200, "mA", 0 }, /* 0.5A */
41 Package () { 0, 0, 0, 0, 4, 0x100, "mA", 0 }, /* 0.25A */
42 Package () { 0, 0, 0, 0, 0, 0x000, "mA", 0 }, /* 0.0A */
45 /* Mainboard specific _PDL is 1GHz */
48 Name (DTRT, Package () {
49 /* CPU Throttle Effect on CPU */
50 Package () { \_SB.PCI0.B0DB, \_SB.PCI0.B0DB, 100, 50, 0, 0, 0, 0 },
52 /* CPU Effect on Temp Sensor 0 */
53 Package () { \_SB.PCI0.B0DB, \_SB.DPTF.TSR0, 100, 600, 0, 0, 0, 0 },
55 #ifdef DPTF_ENABLE_CHARGER
56 /* Charger Effect on Temp Sensor 1 */
57 Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR1, 200, 600, 0, 0, 0, 0 },
60 /* CPU Effect on Temp Sensor 1 */
61 Package () { \_SB.PCI0.B0DB, \_SB.DPTF.TSR1, 100, 600, 0, 0, 0, 0 },
63 /* CPU Effect on Temp Sensor 2 */
64 Package () { \_SB.PCI0.B0DB, \_SB.DPTF.TSR2, 100, 600, 0, 0, 0, 0 },
67 Name (MPPC, Package ()
70 Package () { /* Power Limit 1 */
71 0, /* PowerLimitIndex, 0 for Power Limit 1 */
72 1600, /* PowerLimitMinimum */
73 6200, /* PowerLimitMaximum */
74 1000, /* TimeWindowMinimum */
75 1000, /* TimeWindowMaximum */
78 Package () { /* Power Limit 2 */
79 1, /* PowerLimitIndex, 1 for Power Limit 2 */
80 8000, /* PowerLimitMinimum */
81 8000, /* PowerLimitMaximum */
82 1000, /* TimeWindowMinimum */
83 1000, /* TimeWindowMaximum */
89 #include <acpi/dptf/dptf.asl>