diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-10-15 02:28:54 +0000 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2018-10-31 18:29:26 +0000 |
commit | 2f954921b822512351410b6256fb32ea20faa3f5 (patch) | |
tree | a6de0a4abaf66a51938e7cf7473c009c8fcb9312 /src/ec/acpi | |
parent | b0bf280be4dc084418188a9d02eb740bbbcd048a (diff) |
ec/google/wilco: Add power related mailbox commands
Add EC mailbox commands that are related to the power and state of the
system. These commands include:
- read the power status registers from the EC
- read & clear the power status registers
- helper function to read the current lid state
- tell the EC why the host is about to power off
- tell the EC that the host is about to enter a sleep state
Change-Id: Iaa7051b4006e3c1687933e0384d962516220621f
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/29116
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/acpi')
0 files changed, 0 insertions, 0 deletions