Debian Codegraph @

src/mainboard/google/slippy/acpi/ec.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 /* mainboard configuration */
4 #include "../ec.h"
5
6 /* Enable LID switch and provide wake pin for EC */
7 #define EC_ENABLE_LID_SWITCH
8 /*
9 * There is no GPIO for LID, the EC pulses WAKE# pin instead.
10 * There is no GPE for WAKE#, so fake it with PCI_EXP_WAKE.
11 */
12 #define EC_ENABLE_WAKE_PIN 0x69
13
14 /* Slippy variants have a throttle handler in thermal.asl */
15 #define EC_ENABLE_THROTTLING_HANDLER
16
17 /* ACPI code for EC functions */
18 #include <ec/google/chromeec/acpi/ec.asl>