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>
This commit is contained in:
parent
4ab1db82bb
commit
825089673d
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue