1 /* SPDX-License-Identifier: GPL-2.0-only */
7 Name (_HID, "STAR0001")
8 Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */)
10 Name (_DDN, "Touchpad") // _DDN: DOS Device Name
11 Name (_DEP, Package (0x02) // _DEP: Dependencies
17 Method (_STA, 0, NotSerialized)
22 Name (_CRS, ResourceTemplate ()
24 I2cSerialBusV2 (0x002C, ControllerInitiated, 0x000186A0,
25 AddressingMode7Bit, "\\_SB.PCI0.I2C7",
26 0x00, ResourceConsumer, , Exclusive,)
27 GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000,
28 "\\_SB.GPO3", 0x00, ResourceConsumer, ,)
30 CONFIG_TRACKPAD_INTERRUPT
34 Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
36 ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301") /* Device Properties for _DSD */,
46 Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
48 ToBuffer (Arg0, Local0)
49 If ((Local0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
51 ToInteger (Arg2, Local1)
54 ToInteger (Arg1, Local2)