diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-05-18 13:32:39 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-05-28 04:31:20 +0000 |
commit | 07d3668d9729e1fda079f0770aa9d9d10a0746b9 (patch) | |
tree | de3ac4938673aaf3f0f6bf0d5406bde42cca2e00 /src/ec/starlabs | |
parent | 83d341061e14bea04d64386e97c7e22b9a2c9727 (diff) |
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>
Diffstat (limited to 'src/ec/starlabs')
-rw-r--r-- | src/ec/starlabs/merlin/variants/glk/events.asl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/variants/glk/events.asl b/src/ec/starlabs/merlin/variants/glk/events.asl index 2929421170..46aebe46bb 100644 --- a/src/ec/starlabs/merlin/variants/glk/events.asl +++ b/src/ec/starlabs/merlin/variants/glk/events.asl @@ -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") |