1 /* SPDX-License-Identifier: GPL-2.0-only */
7 Name (_HID, "SYTS7508")
10 Name (ISTP, 0) /* TouchScreen */
12 /* Fetch HidDescriptorAddress, Register offset in the
13 * I2C device at which the HID descriptor can be read
15 Method (_DSM, 4, NotSerialized)
17 If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de"))
54 Method(_CRS, 0x0, NotSerialized)
56 Name (BUF0, ResourceTemplate ()
59 0x20, /* SlaveAddress */
60 ControllerInitiated, /* SlaveMode */
61 400000, /* ConnectionSpeed */
62 AddressingMode7Bit, /* AddressingMode */
63 "\\_SB.PCI0.I2C1", /* ResourceSource */
65 GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
66 "\\_SB.GPNC") { BOARD_TOUCH_GPIO_INDEX }
80 Name (_PRW, Package() { BOARD_TOUCHSCREEN_WAKE_GPIO, 0x3 })
82 /* Allow device to power off in S0 */