From 825089673d03224c87544b340ad7ccd71f3933e1 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 23 Aug 2023 09:52:11 +0100 Subject: [PATCH] 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 Change-Id: I3300be5254549fe5cd3b3490d9191240c6d36b6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/77405 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/ec/starlabs/merlin/variants/merlin/events.asl | 6 ++---- 1 file 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 acfb6befbe..38a4971790 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) }