diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2020-03-13 17:42:03 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-15 13:01:34 +0000 |
commit | 5ddce58bffa99fcc00193cc7d9478eeb4cc3b8b2 (patch) | |
tree | 713d8ea782e4d79805e3af56d07465f1423e9618 /src/ec/google/wilco/acpi/lid.asl | |
parent | d789b658f768ccb94641527046ddb5728d980b3f (diff) |
ec/google/wilco: Store LID status into LIDS and change device name
Store LID status into LIDS and change device name to LID0.
Then Intel driver can reference it.
BUG=b:151134069
TEST=check LID status by evtest
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Ifdac938730eac034b626aa8ad9d52462f65137ba
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39497
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/ec/google/wilco/acpi/lid.asl')
-rw-r--r-- | src/ec/google/wilco/acpi/lid.asl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ec/google/wilco/acpi/lid.asl b/src/ec/google/wilco/acpi/lid.asl index 818e1355c0..1697e1da5a 100644 --- a/src/ec/google/wilco/acpi/lid.asl +++ b/src/ec/google/wilco/acpi/lid.asl @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -Device (LID) +Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Name (_UID, 1) @@ -22,6 +22,7 @@ Device (LID) Method (_LID, 0, NotSerialized) { - Return (R (P1LC)) + Store (R (P1LC), \LIDS) + Return (\LIDS) } } |