1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, "GOOG0004")
7 Name (_DDN, "EC Command Device")
8 #ifdef EC_ENABLE_WAKE_PIN
9 Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 })
12 #ifdef EC_ENABLE_SYNC_IRQ
13 Name (_CRS, ResourceTemplate ()
15 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive)
22 #ifdef EC_ENABLE_SYNC_IRQ_GPIO
23 Name (_CRS, ResourceTemplate ()
25 GpioInt (Level, ActiveLow, Exclusive, PullDefault, 0x0000,
26 "\\_SB.GPIO", 0x00, ResourceConsumer, ,)
33 #ifdef EC_ENABLE_MKBP_DEVICE
36 Name (_HID, "GOOG0007")
38 Name (_DDN, "EC MKBP Device")
42 #ifdef EC_ENABLE_CBAS_DEVICE
45 Name (_HID, "GOOG000B")
47 Name (_DDN, "EC Base Switch Device")
51 #ifdef EC_ENABLE_PD_MCU_DEVICE
59 #if CONFIG(DRIVERS_ACPI_THERMAL_ZONE)