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