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