| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
/* mainboard configuration */ |
| 4 |
#include "../ec.h" |
| 5 |
#include "../gpio.h" |
| 6 |
|
| 7 |
/* Enable EC backed ALS device in ACPI */ |
| 8 |
#define EC_ENABLE_ALS_DEVICE |
| 9 |
|
| 10 |
/* Enable EC backed PD MCU device in ACPI */ |
| 11 |
#define EC_ENABLE_PD_MCU_DEVICE |
| 12 |
|
| 13 |
/* Enable LID switch and provide wake pin for EC */ |
| 14 |
#define EC_ENABLE_LID_SWITCH |
| 15 |
#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE |
| 16 |
|
| 17 |
/* ACPI code for EC functions */ |
| 18 |
#include <ec/google/chromeec/acpi/ec.asl> |