repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/starlabs/starbook/{adl_n,mtl}: Don't configure GPE routes
[coreboot.git]
/
src
/
ec
/
starlabs
/
merlin
/
acpi
/
ac.asl
blob
b689dd55489c61c7ff85f4cce321158763e831f1
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#if CONFIG(EC_STARLABS_MERLIN)
4
Method (_Q0A, 0, NotSerialized) // Event: Charger Status Update
5
{
6
Notify (ADP1, 0x80)
7
}
8
#endif
9
10
Device (ADP1)
11
{
12
Name (_HID, "ACPI0003")
13
Method (_STA)
14
{
15
Return (0x0F)
16
}
17
Method (_PSR, 0)
18
{
19
PWRS = (ECRD (RefOf(ECPS)) & 0x01)
20
Return (PWRS)
21
}
22
Method (_PCL, 0)
23
{
24
Return (
25
Package() { _SB }
26
)
27
}
28
}