payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / roda / rk886ex / acpi / thermal.asl
blob29d501f6bcec7a3480ac7133dcdd7557bb15b7ff
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Thermal Zone
5 Scope (\_TZ)
7         ThermalZone (THRM)
8         {
10                 // FIXME these could/should be read from the
11                 // GNVS area, so they can be controlled by
12                 // coreboot
13                 Name(TC1V, 0x04)
14                 Name(TC2V, 0x03)
15                 Name(TSPV, 0x64)
17                 // At which temperature should the OS start
18                 // active cooling?
19                 Method (_AC0, 0, Serialized)
20                 {
21                         Return (0xf5c) // Value for Rocky
22                 }
24                 // Method (_AC1, 0, Serialized)
25                 // {
26                 //      Return (0xf5c)
27                 // }
29                 // Critical shutdown temperature
30                 Method (_CRT, 0, Serialized)
31                 {
32                         Return (0x0aac + 0x50) // FIXME
33                 }
35                 // CPU throttling start temperature
36                 Method (_PSV, 0, Serialized)
37                 {
38                         Return (0xaaf) // FIXME
39                 }
41                 // Get DTS Temperature
42                 Method (_TMP, 0, Serialized)
43                 {
44                         Return (0xaac) // FIXME
45                 }
47                 // Processors used for active cooling
48                 Method (_PSL, 0, Serialized)
49                 {
50                         If (MPEN) {
51                                 Return (Package() {\_SB.CP00, \_SB.CP01})
52                         }
53                         Return (Package() {\_SB.CP00})
54                 }
56                 // TC1 value for passive cooling
57                 Method (_TC1, 0, Serialized)
58                 {
59                         Return (TC1V)
60                 }
62                 // TC2 value for passive cooling
63                 Method (_TC2, 0, Serialized)
64                 {
65                         Return (TC2V)
66                 }
68                 // Sampling period for passive cooling
69                 Method (_TSP, 0, Serialized)
70                 {
71                         Return (TSPV)
72                 }
75         }