2 /* SPDX-License-Identifier: GPL-2.0-only */
4 Scope(\_SB.PCI0.I2C7) {
5 // Touch Panels on I2C7
6 // GPIO_212:TCH_PNL_INTR_LS_N North Community, IRQ number 0x75.
7 //------------------------
10 Name (_HID, "WCOM508E") // _HID: Hardware ID
11 Name (_CID, "PNP0C50") // _CID: Compatible ID
12 Name (_S0W, 0x04) // _S0W: S0 Device Wake State
13 Name (SBFB, ResourceTemplate () {
26 // GLK: Touchpanel Interrupt: GPIO_212: Northwest
30 Name (SBFG, ResourceTemplate () {
31 GpioInt (Level, ActiveLow, Exclusive, PullUp, 0x0000,
32 "\\_SB.GPO0", 0x00, ResourceConsumer, ,
38 Name (SBFI, ResourceTemplate () {
39 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
45 Method (_INI, 0, NotSerialized) // _INI: Initialize
49 Method (_STA, 0, NotSerialized) // _STA: Status
54 Method (_CRS, 0, NotSerialized) {
55 Return (ConcatenateResTemplate(SBFB, SBFG))