ec/starlabs/merlin/glk: Add Trackpad enable/disable Q events
Add Q60 and Q61 events to disable or enable the trackpad. The support for this Q event was added in Star Labs EC version 1.11 Add Q events Q60 and Q61 which are bound to the F10 key. The event is select based on the value of 0x14, 0x11 will send Q60 and 0x22 will send Q61. Q60 will pull GPIO_177 to low, consequently disabling the trackpad and Q61 will reset it to the default configuration. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I091b0eb268d4d6d2109559765be71e2746b85f54 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64465 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
83d341061e
commit
07d3668d97
|
@ -73,6 +73,18 @@ Method (_Q54, 0, NotSerialized) // Event: Power Button Press
|
|||
Printf ("EC: PWRBTN")
|
||||
}
|
||||
|
||||
Method (_Q60, 0, NotSerialized) // Event: Trackpad Enable
|
||||
{
|
||||
Printf ("EC: Trackpad Enable")
|
||||
SPC0 (0xD0C80610, 0x40800102)
|
||||
}
|
||||
|
||||
Method (_Q61, 0, NotSerialized) // Event: Trackpad Disable
|
||||
{
|
||||
Printf ("EC: Trackpad Disable")
|
||||
SPC0 (0xD0C80610, 0x40800200)
|
||||
}
|
||||
|
||||
Method (_QF0, 0, NotSerialized) // Event: Temperature Report
|
||||
{
|
||||
Printf ("EC: Temperature Report")
|
||||
|
|
Loading…
Reference in New Issue