1 /* SPDX-License-Identifier: GPL-2.0-only */
7 Name (_HID, "ALPS0001")
9 Name (_DDN, "ALPS Touchpad")
11 Name (ISTP, 1) /* Touchpad */
12 Name (_CRS, ResourceTemplate()
16 ControllerInitiated, // SlaveMode
17 400000, // ConnectionSpeed
18 AddressingMode7Bit, // AddressingMode
19 "\\_SB.PCI0.I2C4", // ResourceSource
21 Interrupt (ResourceConsumer, Level, ActiveLow)
25 GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000, "\\_SB.GPO1", 0x00, ResourceConsumer, ,)
35 Method(_DSM, 0x4, NotSerialized)
37 // DSM UUID for HIDI2C - HID driver does not load without DSM
38 If(LEqual(Arg0, ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE")))
40 // Function 0 : Query Function
41 If(LEqual(Arg2, Zero))
46 Return (Buffer (One) {0x03})
50 Return (Buffer (One) {0x00})
52 } ElseIf (LEqual(Arg2, One)) { // Function 1 : HID Function
53 // HID Descriptor Address (IHV Specific)
56 Return (Buffer (One) {0x00})
59 Return (Buffer (One) {0x00})