1 /* SPDX-License-Identifier: GPL-2.0-only */
5 External (\PPKG, MethodObj)
7 #define HAVE_THERMALZONE
15 // Thermal zone polling frequency: 10 seconds
18 // Thermal sampling period for passive cooling: 2 seconds
21 // Convert from Degrees C to 1/10 Kelvin for ACPI
32 // Threshold for OS to shutdown
33 Method (_CRT, 0, Serialized)
38 // Threshold for passive cooling
39 Method (_PSV, 0, Serialized)
44 // Processors used for passive cooling
45 Method (_PSL, 0, Serialized)
50 Method (_TMP, 0, Serialized)
52 // Get CPU Temperature from EC
53 Local0 = \_SB.PCI0.LPCB.EC0.CTMP
55 // Convert to 1/10 Kelvin
58 // Adjust by offset to get Kelvin
64 // The EC does all fan control. There is no Active Cooling Fan control (_ACx).