1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * We only use the ERAM region to retrieve the CPU temperature. Otherwise the EC is not enabled
5 * The _GPE is pointing to the correct pin but the EC events are not enabled in coreboot or the
11 Name (_HID, EisaId ("PNP0C09"))
13 Name (_GPE, GPE0_DW0_22)
15 Name (_CRS, ResourceTemplate () {
16 IO (Decode16, 0x62, 0x62, 0, 1)
17 IO (Decode16, 0x66, 0x66, 0, 1)
20 Method (_STA, 0, NotSerialized)
25 Method (_REG, 2, NotSerialized)
29 OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF)
30 Field (ERAM, ByteAcc, NoLock, Preserve)
35 Method (TSRD, 1, Serialized)
37 /* Prevent iasl remarks about unused parameters */
40 Return (\_SB.DPTF.CTOK (CPUT))
43 /* Set Aux Trip Point 0 */
44 Method (PAT0, 2, Serialized)
46 /* Prevent iasl remarks about unused parameters */
53 /* Set Aux Trip Point 1 */
54 Method (PAT1, 2, Serialized)
56 /* Prevent iasl remarks about unused parameters */
63 /* Disable Aux Trip Point */
64 Method (PATD, 1, Serialized)
66 /* Prevent iasl remarks about unused parameters */