1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, EISAID("PNP0C09"))
8 // _REG method requires that an operation region is defined.
9 OperationRegion (ERAM, EmbeddedControl, 0x00, 0xff)
10 Field (ERAM, ByteAcc, Lock, Preserve)
14 Method (_CRS, 0, Serialized)
16 Name (ECMD, ResourceTemplate()
18 IO (Decode16, 0x62, 0x62, 0, 1)
19 IO (Decode16, 0x66, 0x66, 0, 1)
27 // This method is needed by Windows XP/2000
28 // for EC initialization before a driver
32 Name (_GPE, 23) // GPI07 / GPE23 -> Runtime SCI
34 // TODO EC Query methods
36 // TODO Scope _SB devices for AC power, LID, Power button