summaryrefslogtreecommitdiffstats
path: root/src/ec/starlabs
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-08-23 09:52:11 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-10-04 09:35:53 +0000
commit825089673d03224c87544b340ad7ccd71f3933e1 (patch)
tree336809ffc092734ebfb1d918102f2d1e73ebbc85 /src/ec/starlabs
parent4ab1db82bb30dcf374f143467b3a3b1250a4ab95 (diff)
downloadcoreboot-825089673d03224c87544b340ad7ccd71f3933e1.tar.gz
coreboot-825089673d03224c87544b340ad7ccd71f3933e1.tar.bz2
coreboot-825089673d03224c87544b340ad7ccd71f3933e1.zip
ec/starlabs/merlin: Update the Q Events
Simplify the Q events for the battery and charger to just notify when a status has changed. The EC will trigger these events when either has changed. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I3300be5254549fe5cd3b3490d9191240c6d36b6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/77405 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/starlabs')
-rw-r--r--src/ec/starlabs/merlin/variants/merlin/events.asl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ec/starlabs/merlin/variants/merlin/events.asl b/src/ec/starlabs/merlin/variants/merlin/events.asl
index acfb6befbe9c..38a49717903f 100644
--- a/src/ec/starlabs/merlin/variants/merlin/events.asl
+++ b/src/ec/starlabs/merlin/variants/merlin/events.asl
@@ -10,15 +10,13 @@ Method (_Q06, 0, NotSerialized) // Event: Backlight Brightness Up
^^^^HIDD.HPEM (19)
}
-Method (_Q0A, 0, NotSerialized) // Event: AC Power Connected
+Method (_Q0A, 0, NotSerialized) // Event: Charger Status Update
{
- Notify (BAT0, 0x81)
Notify (ADP1, 0x80)
}
-Method (_Q0B, 0, NotSerialized) // Event: AC Power Disconnected
+Method (_Q0B, 0, NotSerialized) // Event: Battery Information Update
{
- Notify (BAT0, 0x81)
Notify (BAT0, 0x80)
}