• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* mainboard configuration */
4#include "../ec.h"
5#include <variant/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#if CONFIG(EC_GOOGLE_CHROMEEC)
13
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
17
18/* ACPI code for EC functions */
19#include <ec/google/chromeec/acpi/ec.asl>
20#endif
21