mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / gigabyte / ga-b75m-d3h / acpi / thermal.asl
blobae4ef301195e4d1719a2aea2c75717f3bfa28400
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Thermal Zone
5 External (\PPKG, MethodObj)
7 Scope (\_TZ)
9         ThermalZone (THRM)
10         {
11                 Name (_TC1, 0x02)
12                 Name (_TC2, 0x03)
14                 // Thermal zone polling frequency: 10 seconds
15                 Name (_TZP, 100)
17                 // Thermal sampling period for passive cooling: 10 seconds
18                 Name (_TSP, 100)
20                 // Convert from Degrees C to 1/10 Kelvin for ACPI
21                 Method (CTOK, 1)
22                 {
23                         // 10th of Degrees C
24                         Local0 = Arg0 * 10
26                         // Convert to Kelvin
27                         Local0 += 2732
29                         Return (Local0)
30                 }
32                 // Threshold for OS to shutdown
33                 Method (_CRT, 0, Serialized)
34                 {
35                         Return (CTOK (\TCRT))
36                 }
38                 // Threshold for passive cooling
39                 Method (_PSV, 0, Serialized)
40                 {
41                         Return (CTOK (\TPSV))
42                 }
44                 // Processors used for passive cooling
45                 Method (_PSL, 0, Serialized)
46                 {
47                         Return (\PPKG ())
48                 }
49         }