1 /* SPDX-License-Identifier: GPL-2.0-only */
9 // TODO These could/should be read from the
10 // GNVS area, so they can be controlled by
17 // Convert from °C to 1/10 Kelvin
18 Method(DEGR, 1, NotSerialized)
23 // 0°C is 273.15 K, we need to round it.
28 // At which temperature should the OS start
30 Method (_AC0, 0, Serialized)
32 Return (0xf5c) // Value for Rocky
35 // Critical shutdown temperature
36 Method (_CRT, 0, Serialized)
38 Local0 = \_SB.PCI0.LPCB.EC0.CRTT
39 Local0 = DEGR (Local0)
43 // CPU throttling start temperature
44 Method (_PSV, 0, Serialized)
46 Local0 = \_SB.PCI0.LPCB.EC0.CTRO
47 Local0 = DEGR (Local0)
51 // Get DTS Temperature
52 Method (_TMP, 0, Serialized)
54 Local0 = \_SB.PCI0.LPCB.EC0.CTMP
55 Local0 = DEGR (Local0)
59 // Processors used for active cooling
60 Method (_PSL, 0, Serialized)
63 Return (Package() {\_SB.CP00, \_SB.CP01})
65 Return (Package() {\_SB.CP00})
68 // TC1 value for passive cooling
69 Method (_TC1, 0, Serialized)
74 // TC2 value for passive cooling
75 Method (_TC2, 0, Serialized)
80 // Sampling period for passive cooling
81 Method (_TSP, 0, Serialized)