1 /* SPDX-License-Identifier: GPL-2.0-only */
7 Name (_HID, "ELAN0001")
8 Name (_DDN, "Elan Touchscreen ")
10 Name (ISTP, 0) /* TouchScreen */
12 Method(_CRS, 0x0, NotSerialized)
14 Name(BUF0,ResourceTemplate ()
17 0x10, /* SlaveAddress */
18 ControllerInitiated, /* SlaveMode */
19 400000, /* ConnectionSpeed */
20 AddressingMode7Bit, /* AddressingMode */
21 "\\_SB.PCI0.I2C1", /* ResourceSource */
23 GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
24 "\\_SB.GPNC") { BOARD_TOUCH_GPIO_INDEX }
39 Name (_PRW, Package() { BOARD_TOUCHSCREEN_WAKE_GPIO, 0x3 })
41 /* Allow device to power off in S0 */