diff options
Diffstat (limited to 'src/mainboard/purism/librem_jsl/acpi/ac.asl')
-rw-r--r-- | src/mainboard/purism/librem_jsl/acpi/ac.asl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_jsl/acpi/ac.asl b/src/mainboard/purism/librem_jsl/acpi/ac.asl new file mode 100644 index 000000000000..86267e8eba6a --- /dev/null +++ b/src/mainboard/purism/librem_jsl/acpi/ac.asl @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +Device (AC) +{ + Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID + Name (_PCL, Package (0x01) // _PCL: Power Consumer List + { + _SB + }) + + Name (ACEX, One) + + Method (_PSR, 0, NotSerialized) // _PSR: Power Source + { + Printf ("AC: _PSR: %o", ACEX) + Return (ACEX) + } + + Method (_STA, 0, NotSerialized) // _STA: Status + { + Return (0x0F) + } +} |